lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <cutt...@lucene.com>
Subject Re: Bad file descriptor?
Date Wed, 08 Jan 2003 17:23:30 GMT
My guess would be that you're using an IndexReader that has been closed.

Doug

petite_abeille wrote:
> Hello,
> 
> Here is another symptom of misbehavior in Lucene:
> 
> java.io.IOException: Bad file descriptor
>         at java.io.RandomAccessFile.readBytes(Native Method)
>         at java.io.RandomAccessFile.read(RandomAccessFile.java:214)
>         at org.apache.lucene.store.FSInputStream.readInternal(Unknown 
> Source)
>         at org.apache.lucene.store.InputStream.refill(Unknown Source)
>         at org.apache.lucene.store.InputStream.readByte(Unknown Source)
>         at org.apache.lucene.store.InputStream.readBytes(Unknown Source)
>         at org.apache.lucene.index.SegmentReader.norms(Unknown Source)
>         at org.apache.lucene.index.SegmentReader.norms(Unknown Source)
>         at org.apache.lucene.search.TermQuery.scorer(Unknown Source)
>         at org.apache.lucene.search.Query.scorer(Unknown Source)
>         at org.apache.lucene.search.IndexSearcher.search(Unknown Source)
>         at org.apache.lucene.search.Hits.getMoreDocs(Unknown Source)
>         at org.apache.lucene.search.Hits.<init>(Unknown Source)
>         at org.apache.lucene.search.Searcher.search(Unknown Source)
>         at org.apache.lucene.search.Searcher.search(Unknown Source)
> 
> Any ideas what could cause such exception?
> 
> Thanks.
> 
> PA.
> 
> 
> -- 
> To unsubscribe, e-mail:   
> <mailto:lucene-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: 
> <mailto:lucene-user-help@jakarta.apache.org>
> 


--
To unsubscribe, e-mail:   <mailto:lucene-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-user-help@jakarta.apache.org>


Mime
View raw message