lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nirkhe, Chandra" <Chan...@servicelive.com>
Subject NPE while sorting
Date Tue, 16 Jun 2009 22:15:13 GMT
Hi,
Solr is throwing Null pointer exception when soring on a field.


http://localhost:9080/solr/select?version=2.2&q=*:*&qt=geo&lat=41.883784
&long=-87.637668&radius=25&rows=100&sort=geo_distance%20top


Using 16-June build. Any pointers ??


HTTP Status 500 - null java.lang.NullPointerException at
org.apache.lucene.search.SortField.getComparator(SortField.java:483) at
org.apache.lucene.search.FieldValueHitQueue$OneComparatorFieldValueHitQu
eue.<init>(FieldValueHitQueue.java:80) at
org.apache.lucene.search.FieldValueHitQueue.create(FieldValueHitQueue.ja
va:190) at
org.apache.lucene.search.TopFieldCollector.create(TopFieldCollector.java
:851) at
org.apache.solr.search.SolrIndexSearcher.getDocListNC(SolrIndexSearcher.
java:972) at
org.apache.solr.search.SolrIndexSearcher.getDocListC(SolrIndexSearcher.j
ava:880) at
org.apache.solr.search.SolrIndexSearcher.search(SolrIndexSearcher.java:3
37) at
org.apache.solr.search.SolrIndexSearcher.getDocList(SolrIndexSearcher.ja
va:1149) at
com.pjaol.search.solr.component.LocalSolrQueryComponent.process(LocalSol
rQueryComponent.java:286) at
org.apache.solr.handler.component.SearchHandler.handleRequestBody(Search
Handler.java:195) at
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerB
ase.java:131) at
org.apache.solr.core.SolrCore.execute(SolrCore.java:1328) at
org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.ja
va:341) at
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.j
ava:244) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:215) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:188) at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:213) at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:174) at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:127) at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:117) at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:108) at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:1
51) at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:87
4) at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.proc
essConnection(Http11BaseProtocol.java:665) at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint
.java:528) at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollow
erWorkerThread.java:81) at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:689) at java.lang.Thread.run(Thread.java:595)

Mime
View raw message