lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Magoffin" <apache....@msqr.us>
Subject java.io.IOException: read past EOF
Date Fri, 13 May 2005 01:35:36 GMT
I ran into the following exception during an index update process (1.4.3
on Windows)... and was wondering if any one had an idea what might cause
this. It occured after a new IndexWriter was opened, a document added, and
then IndexWriter.close() was called. This occurs after many successful
updates following the same steps. I'm curious as what might cause this so
I can fix any problems in my indexing code.

May-12 18:20:34 WARN !!! Unable to close Lucene index writer
java.io.IOException: read past EOF
 at org.apache.lucene.store.InputStream.refill(InputStream.java:154)
 at org.apache.lucene.store.InputStream.readByte(InputStream.java:43)
 at org.apache.lucene.store.InputStream.readBytes(InputStream.java:57)
 at org.apache.lucene.index.SegmentReader.norms(SegmentReader.java:356)
 at org.apache.lucene.index.SegmentReader.norms(SegmentReader.java:323)
 at org.apache.lucene.index.SegmentMerger.mergeNorms(SegmentMerger.java:422)
 at org.apache.lucene.index.SegmentMerger.merge(SegmentMerger.java:94)
 at org.apache.lucene.index.IndexWriter.mergeSegments(IndexWriter.java:487)
 at
org.apache.lucene.index.IndexWriter.flushRamSegments(IndexWriter.java:440)
 at org.apache.lucene.index.IndexWriter.close(IndexWriter.java:242)


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