java.io.IOException: Bad file number

JDK Bug System | Boris Molodenkov | 5 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    jstack sometimes fails with Bad file number

    Oracle Community | 8 years ago | 843798
    java.io.IOException: Bad file number

    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