lucene-java-user mailing list archives

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

: I found out in latest MultiReader.java, 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
IndexReader.open returns when a directory contans multiple segments ...
segmentInfos shouldn't be needed in the first case -- and doesn't make
much sense at all.



-Hoss


---------------------------------------------------------------------
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