lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Teruhiko Kurosaka" <K...@basistech.com>
Subject NPE inside org.apache.lucene.index.SegmentReader.getNorms
Date Wed, 03 Dec 2008 18:01:25 GMT
My application died throwing NPE inside SegmentReader.getNorms().

Exception in thread "main" java.lang.NullPointerException
        at java.util.Hashtable.get(Hashtable.java:336)
        at org.apache.lucene.index.SegmentReader.getNorms(SegmentReader.java:438)
        at org.apache.lucene.index.SegmentReader.norms(SegmentReader.java:450)
        at org.apache.lucene.search.spans.SpanWeight.scorer(SpanWeight.java:72)
        at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:130)
        at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:111)
        at org.apache.lucene.search.Searcher.search(Searcher.java:77) 

Is there any known Lucene bug that might cause this?
I'm using Lucene 2.1.0.
--------
Basis Technology Corporation, San Francisco
T. "Kuro" Kurosaka

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


Mime
View raw message