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. ,
    via GitHub by ritchieGitHub

    Set larger socket timeout (or 0 to set no timeout).

  2. ,
    via github.com by Unknown author

    Upgrade your nanohttpd

Solutions on the web

via Oracle Community by 981152, 1 year ago
via Atlassian JIRA by Anton Mazkovoi [Atlassian], 1 year ago
via Atlassian JIRA by Anton Mazkovoi [Atlassian], 2 years ago
via Jenkins JIRA by Elizabeth Pino, 1 year ago
via Jenkins JIRA by Elizabeth Pino, 1 year ago
via Atlassian JIRA by Florin Manaila, 1 year ago
This exception has no message.
java.net.SocketException: Connection reset by peer: socket write error	at java.net.SocketOutputStream.socketWrite0(Native Method)	at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)	at java.net.SocketOutputStream.write(SocketOutputStream.java:136)	at weblogic.utils.io.ChunkedOutputStream.writeTo(ChunkedOutputStream.java:284)	at weblogic.servlet.internal.ServletOutputStreamImpl.writeHeader(ServletOutputStreamImpl.java:167)	at weblogic.servlet.internal.ResponseHeaders.writeHeaders(ResponseHeaders.java:444)	at weblogic.servlet.internal.ServletResponseImpl.writeHeaders(ServletResponseImpl.java:1288)	at weblogic.servlet.internal.ServletOutputStreamImpl.sendHeaders(ServletOutputStreamImpl.java:281)	at weblogic.servlet.internal.ServletOutputStreamImpl.flush(ServletOutputStreamImpl.java:118)	at com.endeca.portlet.util.EndecaObjectWriterUtil.writeObjectToStream(EndecaObjectWriterUtil.java:53)	at com.endeca.portlet.util.EndecaPortletUtil.writeObjectResponse(EndecaPortletUtil.java:640)	at com.endeca.portlet.util.EndecaPortletUtil.writeObjectResponse(EndecaPortletUtil.java:564)	at com.endeca.portlet.datasetmanager.DatasetManagerPortlet.serveResourceGetViewModel(DatasetManagerPortlet.java:258)	at sun.reflect.GeneratedMethodAccessor1379.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at com.endeca.portlet.EndecaPortlet.serveResource(EndecaPortlet.java:754)	at com.sun.portal.portletcontainer.appengine.filter.FilterChainImpl.doFilter(FilterChainImpl.java:177)	at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:76)	at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:100)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)	at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)	at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)	at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)	at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:184)	at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:526)	at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)	at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:615)	at com.liferay.portlet.InvokerPortletImpl.invokeResource(InvokerPortletImpl.java:724)	at com.liferay.portlet.InvokerPortletImpl.serveResource(InvokerPortletImpl.java:498)	at com.liferay.portal.action.LayoutAction.processPortletRequest(LayoutAction.java:681)	at com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:467)	at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:195)	at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)	at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)	at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:157)	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)	at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)	at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:511)	at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:749)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)	at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)	at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)	at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)	at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:184)	at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:526)	at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)	at com.liferay.portal.servlet.FriendlyURLServlet.service(FriendlyURLServlet.java:131)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)	at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)	at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)	at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)	at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)	at com.liferay.portal.servlet.filters.auditing.AuditingPageAccessFilter.processFilter(AuditingPageAccessFilter.java:263)	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:91)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)	at com.liferay.portal.servlet.filters.strip.StripFilter.processFilter(StripFilter.java:177)	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:91)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:94)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)	at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:168)	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:91)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:94)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)	at com.liferay.portal.servlet.filters.cache.CacheFilter.processFilter(CacheFilter.java:384)	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:91)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)	at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:259)	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:91)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:94)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)	at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.doFilter(VirtualHostFilter.java:261)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)	at com.liferay.portal.servlet.filters.threadlocalcache.ThreadLocalCacheFilter.processFilter(ThreadLocalCacheFilter.java:55)	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:91)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:94)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)	at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)	at com.liferay.portal.servlet.filters.security.EndecaIFrameFilter.processFilter(EndecaIFrameFilter.java:40)	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:91)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)	at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)	at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)	at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)	at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)	at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)	at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)	at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)	at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)	at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)