lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Miller (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENE-1890) auto-warming from Apache Solr causes NULL Pointer
Date Mon, 07 Sep 2009 00:51:57 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-1890?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12751988#action_12751988
] 

Mark Miller commented on LUCENE-1890:
-------------------------------------

it looks like the distanceFilter is getting set to null - clear could do that, but I don't
see anywhere it would be called ... not sure what Solr code you using though - just checked
one of the later patches in JIRA. From the Lucene end, I don't see how you could get a null
there unless you inited your DistanceFieldComparatorSource with a null filter.

> auto-warming from Apache Solr causes NULL Pointer
> -------------------------------------------------
>
>                 Key: LUCENE-1890
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1890
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: contrib/spatial
>    Affects Versions: 2.4.1
>         Environment: Linux
>            Reporter: Bill Bell
>             Fix For: 2.4.1
>
>
> Sep 6, 2009 12:48:07 PM org.apache.solr.common.SolrException log
> SEVERE: Error during auto-warming of key:org.apache.solr.search.QueryResultKey@b00371eb:java.lang.NullPointerException
>         at org.apache.lucene.spatial.tier.DistanceFieldComparatorSource$DistanceScoreDocLookupComparator.copy(DistanceFieldComparatorSource.java:101)
>         at org.apache.lucene.search.TopFieldCollector$MultiComparatorScoringMaxScoreCollector.collect(TopFieldCollector.java:554)
>         at org.apache.solr.search.DocSetDelegateCollector.collect(DocSetHitCollector.java:98)
>         at org.apache.lucene.search.IndexSearcher.doSearch(IndexSearcher.java:281)
>         at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:253)
>         at org.apache.lucene.search.Searcher.search(Searcher.java:171)
>         at org.apache.solr.search.SolrIndexSearcher.getDocListAndSetNC(SolrIndexSearcher.java:1088)
>         at org.apache.solr.search.SolrIndexSearcher.getDocListC(SolrIndexSearcher.java:876)
>         at org.apache.solr.search.SolrIndexSearcher.access$000(SolrIndexSearcher.java:53)
>         at org.apache.solr.search.SolrIndexSearcher$3.regenerateItem(SolrIndexSearcher.java:328)
>         at org.apache.solr.search.LRUCache.warm(LRUCache.java:194)
>         at org.apache.solr.search.SolrIndexSearcher.warm(SolrIndexSearcher.java:1468)
>         at org.apache.solr.core.SolrCore$3.call(SolrCore.java:1142)
>         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
>         at java.lang.Thread.run(Thread.java:619)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message