lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nikhil Goel <nikhil.g...@gmail.com>
Subject strange error : read past EOF
Date Wed, 29 Jun 2005 00:07:01 GMT
Hi, 

We have been using Lucene_1.3 for a while and suddenly it has started
giving us an error. I saw some posts earlier regarding to this but no
one has responded to it. Can someone please give us some insight into
the problem. We have tried all possible ways to debug it but not able
to find the reason why this start happening now. We do restart the
servers and i guess Lucene doesnt have a transactional approach, hence
it might corrupt Lucene index.

Any suggestions will be highly appreciated. Here is the stack trace:-

java.io.IOException: read past EOF
        at org.apache.lucene.store.InputStream.refill(InputStream.java:192)
        at org.apache.lucene.store.InputStream.readByte(InputStream.java:81)
        at org.apache.lucene.store.InputStream.readInt(InputStream.java:111)
        at org.apache.lucene.index.SegmentTermEnum.<init>(SegmentTermEnum.java:79)
        at org.apache.lucene.index.TermInfosReader.<init>(TermInfosReader.java:79)
        at org.apache.lucene.index.SegmentReader.<init>(SegmentReader.java:141)
        at org.apache.lucene.index.IndexWriter.mergeSegments(IndexWriter.java:423)
        at org.apache.lucene.index.IndexWriter.maybeMergeSegments(IndexWriter.java:401)
        at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:260)
        at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:244)


Thanks.
Nikhil

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