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

Michael Busch commented on LUCENE-1263:
---------------------------------------

Benjamin,

could you provide more information about how your queries look like and how 
they're created?

It looks like the SpanQuery your are trying to execute has a field value of 
null.

> 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
>
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to