lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From testn <te...@doramail.com>
Subject NPE in MultiReader
Date Sat, 28 Jul 2007 00:50:12 GMT

Every once in a while I got the following exception with Lucene 2.2. Do you
have any idea?

Thanks,

java.lang.NullPointerException
        at
org.apache.lucene.index.MultiReader.getFieldNames(MultiReader.java:264)
        at
org.apache.lucene.index.SegmentMerger.mergeFields(SegmentMerger.java:180)
        at
org.apache.lucene.index.SegmentMerger.merge(SegmentMerger.java:97)
        at
org.apache.lucene.index.IndexWriter.mergeSegments(IndexWriter.java:1883)
        at
org.apache.lucene.index.IndexWriter.flushRamSegments(IndexWriter.java:1741)
        at
org.apache.lucene.index.IndexWriter.flushRamSegments(IndexWriter.java:1733)
        at
org.apache.lucene.index.IndexWriter.maybeFlushRamSegments(IndexWriter.java:1727)
        at
org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:1004)
        at
org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:983)
        at
org.springmodules.lucene.index.factory.SimpleLuceneIndexWriter.addDocument(SimpleLucen
eIndexWriter.java:44)
        at
org.springmodules.lucene.index.object.database.DefaultDatabaseIndexer.addDocumentsInIn
dex(DefaultDatabaseIndexer.java:274)
        at
org.springmodules.lucene.index.object.database.DefaultDatabaseIndexer.doHandleRequest(
DefaultDatabaseIndexer.java:306)
        at
org.springmodules.lucene.index.object.database.DefaultDatabaseIndexer.index(DefaultDat
abaseIndexer.java:354)

-- 
View this message in context: http://www.nabble.com/NPE-in-MultiReader-tf4160812.html#a11838713
Sent from the Lucene - Java Users mailing list archive at Nabble.com.


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