Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,

    The socket has shut down its end of the socket before communication was complete. About half of those were because the program communicating on that socket had terminated. Check whether the application is still up and communicating via the socket.

Solutions on the web

via Stack Overflow by mmc18
, 1 year ago
java.io.IOException: Broken pipe
via GitHub by stepjacky
, 2 years ago
java.io.IOException: 您的主机中的软件中止了一个已建立的连接。
via Stack Overflow by disbody
, 2 years ago
java.io.IOException: 您的主机中的软件中止了一个已建立的连接。
via GitHub by deepu105
, 1 year ago
java.io.IOException: Broken pipe
java.io.IOException: Broken pipe	at sun.nio.ch.FileDispatcherImpl.write0(Native Method)	at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47)	at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93)	at sun.nio.ch.IOUtil.write(IOUtil.java:65)	at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:471)	at org.apache.tomcat.util.net.NioChannel.write(NioChannel.java:124)	at org.apache.tomcat.util.net.NioBlockingSelector.write(NioBlockingSelector.java:101)	at org.apache.tomcat.util.net.NioSelectorPool.write(NioSelectorPool.java:172)	at org.apache.coyote.http11.InternalNioOutputBuffer.writeToSocket(InternalNioOutputBuffer.java:139)	at org.apache.coyote.http11.InternalNioOutputBuffer.addToBB(InternalNioOutputBuffer.java:197)	at org.apache.coyote.http11.InternalNioOutputBuffer.access000(InternalNioOutputBuffer.java:41)	at org.apache.coyote.http11.InternalNioOutputBufferSocketOutputBuffer.doWrite(InternalNioOutputBuffer.java:320)	at org.apache.coyote.http11.filters.ChunkedOutputFilter.doWrite(ChunkedOutputFilter.java:116)	at org.apache.coyote.http11.AbstractOutputBuffer.doWrite(AbstractOutputBuffer.java:256)	at org.apache.coyote.Response.doWrite(Response.java:501)	at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:388)	at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:426)	at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:342)	at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:317)	at org.apache.catalina.connector.CoyoteOutputStream.flush(CoyoteOutputStream.java:110)	at com.fasterxml.jackson.core.json.UTF8JsonGenerator.flush(UTF8JsonGenerator.java:1044)	at com.fasterxml.jackson.databind.ObjectWriter.writeValue(ObjectWriter.java:854)	at org.springframework.http.converter.json.AbstractJackson2HttpMessageConverter.writeInternal(AbstractJackson2HttpMessageConverter.java:265)	at org.springframework.http.converter.AbstractGenericHttpMessageConverter.write(AbstractGenericHttpMessageConverter.java:100)	at org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodProcessor.writeWithMessageConverters(AbstractMessageConverterMethodProcessor.java:222)	at org.springframework.web.servlet.mvc.method.annotation.HttpEntityMethodProcessor.handleReturnValue(HttpEntityMethodProcessor.java:183)	at org.springframework.web.method.support.HandlerMethodReturnValueHandlerComposite.handleReturnValue(HandlerMethodReturnValueHandlerComposite.java:80)	at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:126)	at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:817)	at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:731)	at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:959)	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:893)	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:968)	at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:870)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)	at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:844)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:720)	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:468)	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391)	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318)	at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:445)	at org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:304)	at org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:399)	at org.apache.catalina.core.AsyncContextImpl.setErrorState(AsyncContextImpl.java:460)	at org.apache.catalina.connector.CoyoteAdapter.asyncDispatch(CoyoteAdapter.java:293)	at org.apache.coyote.http11.AbstractHttp11Processor.asyncDispatch(AbstractHttp11Processor.java:1715)	at org.apache.coyote.AbstractProtocolAbstractConnectionHandler.process(AbstractProtocol.java:652)	at org.apache.tomcat.util.net.NioEndpointSocketProcessor.doRun(NioEndpoint.java:1500)	at org.apache.tomcat.util.net.NioEndpointSocketProcessor.run(NioEndpoint.java:1456)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)	at java.util.concurrent.ThreadPoolExecutorWorker.run(ThreadPoolExecutor.java:617)	at org.apache.tomcat.util.threads.TaskThreadWrappingRunnable.run(TaskThread.java:61)	at java.lang.Thread.run(Thread.java:745)