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

  1. ,
    via stackoverflow.com by Unknown author

    When you iterate over the lines of a scala.io.Source with source.getLines, make sure you do not close the source until you processed the iterator.

  2. ,
    via Super User by leeand00

    This occurs when the file is being locked by another application. Check if another process is accessing the same file. On Windows follow this post to figure it out : https://goo.gl/yPp1To

    If it's being used, terminate that process to gain access.

Solutions on the web

via accumulo-dev by John Vines, 1 year ago
Bad file descriptor
via netbeans.org by Unknown author, 2 years ago
via Stack Overflow by Bassam
, 7 months ago
The process cannot access the file because another process has locked a portion of the file
via pentaho.com by Unknown author, 2 years ago
java.io.IOException: Bad file descriptor	at java.io.FileInputStream.readBytes(Native Method)	at java.io.FileInputStream.read(FileInputStream.java:220)	at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:264)	at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:306)	at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:158)	at java.io.InputStreamReader.read(InputStreamReader.java:167)	at java.io.BufferedReader.fill(BufferedReader.java:136)	at java.io.BufferedReader.readLine(BufferedReader.java:299)	at java.io.BufferedReader.readLine(BufferedReader.java:362)	at org.apache.accumulo.test.MiniAccumuloCluster$LogWriter.run(MiniAccumuloCluster.java:89)