java.io.IOException: Broken pipe

Stack Overflow | DamienMiheev | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    GitHub comment 29#37050280

    GitHub | 3 years ago | csavory
    java.io.IOException: Broken pipe
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

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)[na:1.8.0_91]
    2. sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47)[na:1.8.0_91]
    3. sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93)[na:1.8.0_91]
    4. sun.nio.ch.IOUtil.write(IOUtil.java:65)[na:1.8.0_91]
    5. sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:471)[na:1.8.0_91]
    5 frames
  3. Grizzly HTTP
    Response.action
    1. org.apache.tomcat.util.net.NioChannel.write(NioChannel.java:134)[tomcat-embed-core-8.5.4.jar:8.5.4]
    2. org.apache.tomcat.util.net.NioBlockingSelector.write(NioBlockingSelector.java:101)[tomcat-embed-core-8.5.4.jar:8.5.4]
    3. org.apache.tomcat.util.net.NioSelectorPool.write(NioSelectorPool.java:157)[tomcat-embed-core-8.5.4.jar:8.5.4]
    4. org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.doWrite(NioEndpoint.java:1241)[tomcat-embed-core-8.5.4.jar:8.5.4]
    5. org.apache.tomcat.util.net.SocketWrapperBase.flushBlocking(SocketWrapperBase.java:428)[tomcat-embed-core-8.5.4.jar:8.5.4]
    6. org.apache.tomcat.util.net.SocketWrapperBase.flush(SocketWrapperBase.java:418)[tomcat-embed-core-8.5.4.jar:8.5.4]
    7. org.apache.coyote.http11.Http11OutputBuffer.flushBuffer(Http11OutputBuffer.java:533)[tomcat-embed-core-8.5.4.jar:8.5.4]
    8. org.apache.coyote.http11.Http11OutputBuffer.flush(Http11OutputBuffer.java:250)[tomcat-embed-core-8.5.4.jar:8.5.4]
    9. org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:691)[tomcat-embed-core-8.5.4.jar:8.5.4]
    10. org.apache.coyote.Response.action(Response.java:167)[tomcat-embed-core-8.5.4.jar:8.5.4]
    10 frames
  4. Glassfish Core
    ResponseFacade.flushBuffer
    1. org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:336)[tomcat-embed-core-8.5.4.jar:8.5.4]
    2. org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:303)[tomcat-embed-core-8.5.4.jar:8.5.4]
    3. org.apache.catalina.connector.Response.flushBuffer(Response.java:541)[tomcat-embed-core-8.5.4.jar:8.5.4]
    4. org.apache.catalina.connector.ResponseFacade.flushBuffer(ResponseFacade.java:312)[tomcat-embed-core-8.5.4.jar:8.5.4]
    4 frames
  5. JavaServlet
    ServletResponseWrapper.flushBuffer
    1. javax.servlet.ServletResponseWrapper.flushBuffer(ServletResponseWrapper.java:176)[tomcat-embed-core-8.5.4.jar:8.5.4]
    2. javax.servlet.ServletResponseWrapper.flushBuffer(ServletResponseWrapper.java:176)[tomcat-embed-core-8.5.4.jar:8.5.4]
    2 frames
  6. Spring Security
    OnCommittedResponseWrapper.flushBuffer
    1. org.springframework.security.web.util.OnCommittedResponseWrapper.flushBuffer(OnCommittedResponseWrapper.java:158)[spring-security-web-4.1.1.RELEASE.jar:4.1.1.RELEASE]
    1 frame
  7. JavaServlet
    ServletResponseWrapper.flushBuffer
    1. javax.servlet.ServletResponseWrapper.flushBuffer(ServletResponseWrapper.java:176)[tomcat-embed-core-8.5.4.jar:8.5.4]
    1 frame
  8. Spring Security
    OnCommittedResponseWrapper.flushBuffer
    1. org.springframework.security.web.util.OnCommittedResponseWrapper.flushBuffer(OnCommittedResponseWrapper.java:158)[spring-security-web-4.1.1.RELEASE.jar:4.1.1.RELEASE]
    1 frame
  9. Spring
    ServletServerHttpResponse.flush
    1. org.springframework.http.server.ServletServerHttpResponse.flush(ServletServerHttpResponse.java:96)[spring-web-4.3.2.RELEASE.jar:4.3.2.RELEASE]
    1 frame
  10. Spring WebSocket
    SubProtocolWebSocketHandler.handleMessage
    1. org.springframework.web.socket.sockjs.transport.session.AbstractHttpSockJsSession.writeFrameInternal(AbstractHttpSockJsSession.java:365)[spring-websocket-4.3.2.RELEASE.jar:4.3.2.RELEASE]
    2. org.springframework.web.socket.sockjs.transport.session.AbstractSockJsSession.writeFrame(AbstractSockJsSession.java:349)[spring-websocket-4.3.2.RELEASE.jar:4.3.2.RELEASE]
    3. org.springframework.web.socket.sockjs.transport.session.StreamingSockJsSession.flushCache(StreamingSockJsSession.java:86)[spring-websocket-4.3.2.RELEASE.jar:4.3.2.RELEASE]
    4. org.springframework.web.socket.sockjs.transport.session.AbstractHttpSockJsSession.sendMessageInternal(AbstractHttpSockJsSession.java:302)[spring-websocket-4.3.2.RELEASE.jar:4.3.2.RELEASE]
    5. org.springframework.web.socket.sockjs.transport.session.AbstractSockJsSession.sendMessage(AbstractSockJsSession.java:165)[spring-websocket-4.3.2.RELEASE.jar:4.3.2.RELEASE]
    6. org.springframework.web.socket.handler.ConcurrentWebSocketSessionDecorator.tryFlushMessageBuffer(ConcurrentWebSocketSessionDecorator.java:132)[spring-websocket-4.3.2.RELEASE.jar:4.3.2.RELEASE]
    7. org.springframework.web.socket.handler.ConcurrentWebSocketSessionDecorator.sendMessage(ConcurrentWebSocketSessionDecorator.java:104)[spring-websocket-4.3.2.RELEASE.jar:4.3.2.RELEASE]
    8. org.springframework.web.socket.messaging.StompSubProtocolHandler.sendToClient(StompSubProtocolHandler.java:437)[spring-websocket-4.3.2.RELEASE.jar:4.3.2.RELEASE]
    9. org.springframework.web.socket.messaging.StompSubProtocolHandler.handleMessageToClient(StompSubProtocolHandler.java:422)[spring-websocket-4.3.2.RELEASE.jar:4.3.2.RELEASE]
    10. org.springframework.web.socket.messaging.SubProtocolWebSocketHandler.handleMessage(SubProtocolWebSocketHandler.java:338)[spring-websocket-4.3.2.RELEASE.jar:4.3.2.RELEASE]
    10 frames
  11. Spring Messaging
    ExecutorSubscribableChannel$SendTask.run
    1. org.springframework.messaging.support.ExecutorSubscribableChannel$SendTask.run(ExecutorSubscribableChannel.java:135)[spring-messaging-4.3.2.RELEASE.jar:4.3.2.RELEASE]
    1 frame
  12. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_91]
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_91]
    3. java.lang.Thread.run(Thread.java:745)[na:1.8.0_91]
    3 frames