java.lang.RuntimeException: java.io.IOException: Broken pipe

JBoss Issue Tracker | Andre Pankraz | 3 years ago
  1. 0

    Combine input text with default ajax event (leave): <h:form id="inhaltSearch"> <h:inputText id="contentname" size="30" value="#{contentList.content.searchTerms}"> <f:ajax render=":inhaltSearch" /> </h:inputText> </h:form> Enter value and press "Enter" (Tab works). A short Javascript alert appears and vanishes again. Stacktrace in Server: 14:57:59,441 ERROR [io.undertow.request] (default task-49) Blocking request failed HttpServerExchange{ POST /.../Suche.xhtml}: java.lang.RuntimeException: java.io.IOException: Broken pipe at io.undertow.servlet.spec.HttpServletResponseImpl.responseDone(HttpServletResponseImpl.java:513) at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:258) at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:205) at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:69) at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:134) at io.undertow.server.Connectors.executeRootHandler(Connectors.java:138) at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:622) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_45] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_45] at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45] Caused by: java.io.IOException: Broken pipe at sun.nio.ch.FileDispatcherImpl.write0(Native Method) [rt.jar:1.7.0_45] at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47) [rt.jar:1.7.0_45] at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93) [rt.jar:1.7.0_45] at sun.nio.ch.IOUtil.write(IOUtil.java:65) [rt.jar:1.7.0_45] at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:487) [rt.jar:1.7.0_45] at org.xnio.nio.NioSocketConduit.write(NioSocketConduit.java:150) [xnio-nio-3.1.0.CR7.jar:3.1.0.CR7] at io.undertow.server.protocol.http.HttpResponseConduit.write(HttpResponseConduit.java:484) at io.undertow.conduits.ChunkedStreamSinkConduit.flush(ChunkedStreamSinkConduit.java:189) at org.xnio.conduits.ConduitStreamSinkChannel.flush(ConduitStreamSinkChannel.java:147) [xnio-api-3.1.0.CR7.jar:3.1.0.CR7] at io.undertow.channels.DetachableStreamSinkChannel.flush(DetachableStreamSinkChannel.java:117) at org.xnio.channels.Channels.flushBlocking(Channels.java:63) [xnio-api-3.1.0.CR7.jar:3.1.0.CR7] at io.undertow.servlet.spec.ServletOutputStreamImpl.close(ServletOutputStreamImpl.java:600) at io.undertow.servlet.spec.HttpServletResponseImpl.responseDone(HttpServletResponseImpl.java:510) ... 9 more

    JBoss Issue Tracker | 3 years ago | Andre Pankraz
    java.lang.RuntimeException: java.io.IOException: Broken pipe
  2. 0

    What is causing this WildFly / Undertow broken pipe error?

    Stack Overflow | 2 years ago | Rosswerks
    java.lang.RuntimeException: java.io.IOException: Broken pipe
  3. 0

    #18372 (Drag and Drop Upload via StreamVariable broken in Internet Explorer) – Vaadin

    vaadin.com | 4 months ago
    java.io.IOException: Eine bestehende Verbindung wurde softwaregesteuert durch den Hostcomputer abgebrochen
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    While working on RF-13753 I upgraded the RichFaces Atmosphere dependency from 1.0.x to 2.2.0. All is functional after the upgrade except an IOException is thrown when I navigate away from a page using Atmosphere (via the RichFaces push component). The stacktrace looks like: {code} 16:35:27,083 ERROR [stderr] (default task-39) Exception in thread "default task-39" java.lang.RuntimeException: java.io.IOException: Broken pipe 16:35:27,083 ERROR [stderr] (default task-39) at io.undertow.servlet.spec.HttpServletResponseImpl.responseDone(HttpServletResponseImpl.java:527) 16:35:27,083 ERROR [stderr] (default task-39) at io.undertow.servlet.spec.AsyncContextImpl$3.run(AsyncContextImpl.java:294) 16:35:27,083 ERROR [stderr] (default task-39) at io.undertow.servlet.spec.AsyncContextImpl$6.run(AsyncContextImpl.java:432) 16:35:27,083 ERROR [stderr] (default task-39) at io.undertow.servlet.spec.AsyncContextImpl$TaskDispatchRunnable.run(AsyncContextImpl.java:517) 16:35:27,084 ERROR [stderr] (default task-39) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 16:35:27,084 ERROR [stderr] (default task-39) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 16:35:27,084 ERROR [stderr] (default task-39) at java.lang.Thread.run(Thread.java:745) 16:35:27,084 ERROR [stderr] (default task-39) Caused by: java.io.IOException: Broken pipe 16:35:27,084 ERROR [stderr] (default task-39) at sun.nio.ch.FileDispatcherImpl.write0(Native Method) 16:35:27,084 ERROR [stderr] (default task-39) at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47) 16:35:27,084 ERROR [stderr] (default task-39) at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93) 16:35:27,085 ERROR [stderr] (default task-39) at sun.nio.ch.IOUtil.write(IOUtil.java:65) 16:35:27,085 ERROR [stderr] (default task-39) at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:487) 16:35:27,085 ERROR [stderr] (default task-39) at org.xnio.nio.NioSocketConduit.write(NioSocketConduit.java:150) 16:35:27,085 ERROR [stderr] (default task-39) at io.undertow.server.protocol.http.HttpResponseConduit.write(HttpResponseConduit.java:531) 16:35:27,085 ERROR [stderr] (default task-39) at io.undertow.conduits.ChunkedStreamSinkConduit.flush(ChunkedStreamSinkConduit.java:256) 16:35:27,085 ERROR [stderr] (default task-39) at org.xnio.conduits.ConduitStreamSinkChannel.flush(ConduitStreamSinkChannel.java:162) 16:35:27,085 ERROR [stderr] (default task-39) at io.undertow.channels.DetachableStreamSinkChannel.flush(DetachableStreamSinkChannel.java:100) 16:35:27,085 ERROR [stderr] (default task-39) at org.xnio.channels.Channels.flushBlocking(Channels.java:63) 16:35:27,085 ERROR [stderr] (default task-39) at io.undertow.servlet.spec.ServletOutputStreamImpl.close(ServletOutputStreamImpl.java:625) 16:35:27,085 ERROR [stderr] (default task-39) at io.undertow.servlet.spec.HttpServletResponseImpl.closeStreamAndWriter(HttpServletResponseImpl.java:451) 16:35:27,086 ERROR [stderr] (default task-39) at io.undertow.servlet.spec.HttpServletResponseImpl.responseDone(HttpServletResponseImpl.java:525) 16:35:27,086 ERROR [stderr] (default task-39) ... 6 more {code} There are no richfaces not atmosphere classes in the stacktrace, so I'm not sure how to narrow the problem down. A reproducer can be found by building RichFaces from the branch: https://github.com/richfaces/richfaces/tree/RF-13753-upgrade-atmosphere and deploying the showcase. The push component sample triggers the error when you navigate away from the page: http://localhost:8080/showcase/richfaces/component-sample.jsf?demo=push&sample=pushTopicsContext&skin=blueSky

    JBoss Issue Tracker | 2 years ago | Brian Leathem
    java.io.IOException: Broken pipe 16:35:27,084 ERROR [stderr] (default task-39) at sun.nio.ch.FileDispatcherImpl.write0(Native Method) 16:35:27,084 ERROR [stderr] (default task-39) at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47) 16:35:27,084 ERROR [stderr] (default task-39) at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93)
  6. 0

    While working on RF-13753 I upgraded the RichFaces Atmosphere dependency from 1.0.x to 2.2.0. All is functional after the upgrade except an IOException is thrown when I navigate away from a page using Atmosphere (via the RichFaces push component). The stacktrace looks like: {code} 16:35:27,083 ERROR [stderr] (default task-39) Exception in thread "default task-39" java.lang.RuntimeException: java.io.IOException: Broken pipe 16:35:27,083 ERROR [stderr] (default task-39) at io.undertow.servlet.spec.HttpServletResponseImpl.responseDone(HttpServletResponseImpl.java:527) 16:35:27,083 ERROR [stderr] (default task-39) at io.undertow.servlet.spec.AsyncContextImpl$3.run(AsyncContextImpl.java:294) 16:35:27,083 ERROR [stderr] (default task-39) at io.undertow.servlet.spec.AsyncContextImpl$6.run(AsyncContextImpl.java:432) 16:35:27,083 ERROR [stderr] (default task-39) at io.undertow.servlet.spec.AsyncContextImpl$TaskDispatchRunnable.run(AsyncContextImpl.java:517) 16:35:27,084 ERROR [stderr] (default task-39) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 16:35:27,084 ERROR [stderr] (default task-39) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 16:35:27,084 ERROR [stderr] (default task-39) at java.lang.Thread.run(Thread.java:745) 16:35:27,084 ERROR [stderr] (default task-39) Caused by: java.io.IOException: Broken pipe 16:35:27,084 ERROR [stderr] (default task-39) at sun.nio.ch.FileDispatcherImpl.write0(Native Method) 16:35:27,084 ERROR [stderr] (default task-39) at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47) 16:35:27,084 ERROR [stderr] (default task-39) at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93) 16:35:27,085 ERROR [stderr] (default task-39) at sun.nio.ch.IOUtil.write(IOUtil.java:65) 16:35:27,085 ERROR [stderr] (default task-39) at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:487) 16:35:27,085 ERROR [stderr] (default task-39) at org.xnio.nio.NioSocketConduit.write(NioSocketConduit.java:150) 16:35:27,085 ERROR [stderr] (default task-39) at io.undertow.server.protocol.http.HttpResponseConduit.write(HttpResponseConduit.java:531) 16:35:27,085 ERROR [stderr] (default task-39) at io.undertow.conduits.ChunkedStreamSinkConduit.flush(ChunkedStreamSinkConduit.java:256) 16:35:27,085 ERROR [stderr] (default task-39) at org.xnio.conduits.ConduitStreamSinkChannel.flush(ConduitStreamSinkChannel.java:162) 16:35:27,085 ERROR [stderr] (default task-39) at io.undertow.channels.DetachableStreamSinkChannel.flush(DetachableStreamSinkChannel.java:100) 16:35:27,085 ERROR [stderr] (default task-39) at org.xnio.channels.Channels.flushBlocking(Channels.java:63) 16:35:27,085 ERROR [stderr] (default task-39) at io.undertow.servlet.spec.ServletOutputStreamImpl.close(ServletOutputStreamImpl.java:625) 16:35:27,085 ERROR [stderr] (default task-39) at io.undertow.servlet.spec.HttpServletResponseImpl.closeStreamAndWriter(HttpServletResponseImpl.java:451) 16:35:27,086 ERROR [stderr] (default task-39) at io.undertow.servlet.spec.HttpServletResponseImpl.responseDone(HttpServletResponseImpl.java:525) 16:35:27,086 ERROR [stderr] (default task-39) ... 6 more {code} There are no richfaces not atmosphere classes in the stacktrace, so I'm not sure how to narrow the problem down. A reproducer can be found by building RichFaces from the branch: https://github.com/richfaces/richfaces/tree/RF-13753-upgrade-atmosphere and deploying the showcase. The push component sample triggers the error when you navigate away from the page: http://localhost:8080/showcase/richfaces/component-sample.jsf?demo=push&sample=pushTopicsContext&skin=blueSky

    JBoss Issue Tracker | 2 years ago | Brian Leathem
    java.io.IOException: Broken pipe 16:35:27,084 ERROR [stderr] (default task-39) at sun.nio.ch.FileDispatcherImpl.write0(Native Method) 16:35:27,084 ERROR [stderr] (default task-39) at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47) 16:35:27,084 ERROR [stderr] (default task-39) at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93)

  1. MoYapro 7 times, last 3 weeks ago
  2. MoYapro 7 times, last 2 months ago
  3. DoktorDoener666 5 times, last 4 weeks ago
  4. tvrmsmith 1 times, last 1 month ago
  5. dafman 1 times, last 2 months ago
21 more registered users
74 unregistered visitors
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

    Broken pipe

    at sun.nio.ch.FileDispatcherImpl.write0()
  2. Java RT
    SocketChannelImpl.write
    1. sun.nio.ch.FileDispatcherImpl.write0(Native Method)[rt.jar:1.7.0_45]
    2. sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47)[rt.jar:1.7.0_45]
    3. sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93)[rt.jar:1.7.0_45]
    4. sun.nio.ch.IOUtil.write(IOUtil.java:65)[rt.jar:1.7.0_45]
    5. sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:487)[rt.jar:1.7.0_45]
    5 frames
  3. XNIO NIO Implementation
    NioSocketConduit.write
    1. org.xnio.nio.NioSocketConduit.write(NioSocketConduit.java:150)[xnio-nio-3.1.0.CR7.jar:3.1.0.CR7]
    1 frame
  4. Undertow Core
    ChunkedStreamSinkConduit.flush
    1. io.undertow.server.protocol.http.HttpResponseConduit.write(HttpResponseConduit.java:484)
    2. io.undertow.conduits.ChunkedStreamSinkConduit.flush(ChunkedStreamSinkConduit.java:189)
    2 frames
  5. org.xnio.conduits
    ConduitStreamSinkChannel.flush
    1. org.xnio.conduits.ConduitStreamSinkChannel.flush(ConduitStreamSinkChannel.java:147)[xnio-api-3.1.0.CR7.jar:3.1.0.CR7]
    1 frame
  6. Undertow Core
    DetachableStreamSinkChannel.flush
    1. io.undertow.channels.DetachableStreamSinkChannel.flush(DetachableStreamSinkChannel.java:117)
    1 frame
  7. XNIO API
    Channels.flushBlocking
    1. org.xnio.channels.Channels.flushBlocking(Channels.java:63)[xnio-api-3.1.0.CR7.jar:3.1.0.CR7]
    1 frame
  8. Undertow Servlet
    ServletInitialHandler$1.handleRequest
    1. io.undertow.servlet.spec.ServletOutputStreamImpl.close(ServletOutputStreamImpl.java:600)
    2. io.undertow.servlet.spec.HttpServletResponseImpl.responseDone(HttpServletResponseImpl.java:510)
    3. io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:258)
    4. io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:205)
    5. io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:69)
    6. io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:134)
    6 frames
  9. Undertow Core
    HttpServerExchange$1.run
    1. io.undertow.server.Connectors.executeRootHandler(Connectors.java:138)
    2. io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:622)
    2 frames
  10. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[rt.jar:1.7.0_45]
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[rt.jar:1.7.0_45]
    3. java.lang.Thread.run(Thread.java:744)[rt.jar:1.7.0_45]
    3 frames