java.io.IOException: Bad file number

JDK Bug System | Boris Molodenkov | 5 years ago
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    jstack sometimes fails with Bad file number

    Oracle Community | 7 years ago | 843798
    java.io.IOException: Bad file number
  3. 0

    java.io.IOException: Stream closed

    Oracle Community | 5 years ago | 651737
    java.io.IOException: Bad file number]: : java.io.IOException: Bad file number

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.IOException

      Bad file number

      at sun.tools.attach.SolarisVirtualMachine.enqueue()
    2. Java Tools
      JStack.main
      1. sun.tools.attach.SolarisVirtualMachine.enqueue(Native Method)
      2. sun.tools.attach.SolarisVirtualMachine.execute(SolarisVirtualMachine.java:131)
      3. sun.tools.attach.HotSpotVirtualMachine.executeCommand(HotSpotVirtualMachine.java:217)
      4. sun.tools.attach.HotSpotVirtualMachine.remoteDataDump(HotSpotVirtualMachine.java:174)
      5. sun.tools.jstack.JStack.runThreadDump(JStack.java:177)
      6. sun.tools.jstack.JStack.main(JStack.java:112)
      6 frames