You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Eoghan S <sh...@gofree.indigo.ie> on 2003/03/16 16:43:21 UTC
java.io.IOException: Bad file descriptor
HI!
When running lucene i get this error with certain searches, does anyone
know what might be the cause of this?
java.io.IOException: Bad file descriptor
at java.io.RandomAccessFile.seek(Native Method)
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.readInt(Unknown Source)
at org.apache.lucene.store.InputStream.readLong(Unknown Source)
at org.apache.lucene.index.FieldsReader.doc(Unknown Source)
at org.apache.lucene.index.SegmentReader.document(Unknown
Source)
at org.apache.lucene.search.IndexSearcher.doc(Unknown Source)
at org.apache.lucene.search.Hits.doc(Unknown Source)
thanks
---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org
Re: java.io.IOException: Bad file descriptor
Posted by Sylvain Puccianti <sp...@yahoo.fr>.
I think that bad Bad file descriptor exception get
thrown when you're trying to read through a closed
stream. You must have already closed the IndexSearcher
when getting the results of your query.
Sylvain
--- Eoghan S <sh...@gofree.indigo.ie> a écrit : >
HI!
> When running lucene i get this error with certain
> searches, does anyone
> know what might be the cause of this?
>
> java.io.IOException: Bad file descriptor
> at java.io.RandomAccessFile.seek(Native
> Method)
> 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.readInt(Unknown
> Source)
> at
> org.apache.lucene.store.InputStream.readLong(Unknown
> Source)
> at
> org.apache.lucene.index.FieldsReader.doc(Unknown
> Source)
> at
>
org.apache.lucene.index.SegmentReader.document(Unknown
> Source)
> at
> org.apache.lucene.search.IndexSearcher.doc(Unknown
> Source)
> at org.apache.lucene.search.Hits.doc(Unknown
> Source)
>
>
> thanks
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> lucene-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> lucene-user-help@jakarta.apache.org
>
___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org