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

Uwe Schindler commented on LUCENE-1263:
---------------------------------------

The issue is definitely fixed:
- since 2.9 we do per-segment searches, so MultiReader's norms cache is no 
longer used
- and even before 2.9, at some time we changed the Hashtable to a HashMap that 
allowed null keys and null values.

> NullPointerException in java.util.Hashtable from executing a Query
> ------------------------------------------------------------------
>
>                 Key: LUCENE-1263
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1263
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Search
>    Affects Versions: 2.1
>            Reporter: Benjamin Pasero
>            Priority: Minor
>
> Lately we are seeing this stacktrace showing up when executing a Query. Any 
> ideas?
> java.lang.NullPointerException at java.util.Hashtable.get(Hashtable.java:482)
> at org.apache.lucene.index.MultiReader.norms(MultiReader.java:167)
> at org.apache.lucene.search.spans.SpanWeight.scorer(SpanWeight.java:72)
> at 
> org.apache.lucene.search.DisjunctionMaxQuery$DisjunctionMaxWeight.scorer(DisjunctionMaxQuery.java:131)
> at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:130)
> at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:100)
> at org.apache.lucene.search.MultiSearcher.search(MultiSearcher.java:192)
> at org.apache.lucene.search.Hits.getMoreDocs(Hits.java:66)
> at org.apache.lucene.search.Hits.(Hits.java:45)
> at org.apache.lucene.search.Searcher.search(Searcher.java:45)
> at org.apache.lucene.search.Searcher.search(Searcher.java:37)

-- 
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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to