java.io.IOException: Bad file descriptor

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via grokbase.com by Unknown author, 2 years ago
via lucene-java-user by petite_abeille, 1 year ago
Bad file descriptor
via gossamer-threads.com by Unknown author, 1 year ago
via apache.org by Unknown author, 1 year ago
via grokbase.com by Unknown author, 2 years ago
via lucene-java-user by Doug Cutting, 1 year ago
Bad file descriptor
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.(Unknown Source)
at org.apache.lucene.search.Searcher.search(Unknown Source)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.