lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Busch (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENE-1263) NullPointerException in java.util.Hashtable from executing a Query
Date Fri, 18 Apr 2008 11:56:22 GMT

    [ 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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message