lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <>
Subject Re: NPE in IndexReader
Date Wed, 22 Aug 2007 00:06:39 GMT

: I found out in latest, the "SegmentInfos" is set to null.

: However, segmentInfos are used in several places, causing NPEs.
: For example, in IndexReader.acquireWriteLock(),

MultiReader was refactored into two classes: MultiReader which is now only
constructed from other readers, and MultiSegmentReader which is what returns when a directory contans multiple segments ...
segmentInfos shouldn't be needed in the first case -- and doesn't make
much sense at all.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message