java.io.IOException

The handle is invalid

Samebug tips1

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.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web12071

  • The handle is invalid
  • The handle is invalid
  • via incubator-pdfbox-users by Yogesh, 1 year ago
    The handle is invalid
  • Stack trace

    • java.io.IOException: The handle is invalid at java.io.FileInputStream.readBytes(Native Method)[?:1.7.0_45] at java.io.FileInputStream.read(Unknown Source)[?:1.7.0_45] at java.io.BufferedInputStream.read1(Unknown Source)[?:1.7.0_45] at java.io.BufferedInputStream.read(Unknown Source)[?:1.7.0_45] at sun.nio.cs.StreamDecoder.readBytes(Unknown Source)[?:1.7.0_45] at sun.nio.cs.StreamDecoder.implRead(Unknown Source)[?:1.7.0_45] at sun.nio.cs.StreamDecoder.read(Unknown Source)[?:1.7.0_45] at java.io.InputStreamReader.read(Unknown Source)[?:1.7.0_45] at java.io.BufferedReader.fill(Unknown Source)[?:1.7.0_45] at java.io.BufferedReader.readLine(Unknown Source)[?:1.7.0_45] at java.io.BufferedReader.readLine(Unknown Source)[?:1.7.0_45] at ll.run(SourceFile:78)[minecraft_server.1.7.2.exe:?]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 7 months ago
    Once, 2 weeks ago
    Once, 1 month ago
    Once, 2 months ago
    30 more bugmates