java.io.IOException

Stream Closed at java.io.FileInputStream.readBytes(java.base@9-internal/Native Method) at java.io.FileInputStream.read(java.base@9-internal/FileInputStream.java:255) at java.io.BufferedInputStream.fill(java.base@9-internal/BufferedInputStream.java:246) at java.io.BufferedInputStream.read1(java.base@9-internal/BufferedInputStream.java:286) at java.io.BufferedInputStream.read(java.base@9-internal/BufferedInputStream.java:345) at java.io.FilterInputStream.read(java.base@9-internal/FilterInputStream.java:107)

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

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

Solutions on the web7948

  • via JDK Bug System by Alejandro Murillo, 11 months ago
    Stream Closed at java.io.FileInputStream.readBytes(java.base@9-internal/Native Method) at java.io.FileInputStream.read(java.base@9-internal/FileInputStream.java:255) at java.io.BufferedInputStream.fill(java.base@9-internal
  • via JDK Bug System by Felix Yang, 10 months ago
    Connection reset by peer at sun.nio.ch.FileDispatcherImpl.read0(java.base@9-ea/Native Method) at sun.nio.ch.SocketDispatcher.read(java.base@9-ea/SocketDispatcher.java:39) at sun.nio.ch.IOUtil.readIntoNativeBuffer(java.base@9-ea/IOUtil.java:223
  • Unable to tunnel through proxy. Proxy returns "HTTP/1.1 400 Bad Request" at sun.net.www.protocol.http.HttpURLConnection.doTunneling(java.base@9-ea/HttpURLConnection.java:2077) at
  • Stack trace

    • java.io.IOException: Stream Closed at java.io.FileInputStream.readBytes(java.base@9-internal/Native Method) at java.io.FileInputStream.read(java.base@9-internal/FileInputStream.java:255) at java.io.BufferedInputStream.fill(java.base@9-internal/BufferedInputStream.java:246) at java.io.BufferedInputStream.read1(java.base@9-internal/BufferedInputStream.java:286) at java.io.BufferedInputStream.read(java.base@9-internal/BufferedInputStream.java:345) at java.io.FilterInputStream.read(java.base@9-internal/FilterInputStream.java:107) at jdk.testlibrary.StreamPumper.run(StreamPumper.java:117)

    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

    You’re the first here who have seen this exception.