java.net.SocketException: Connection reset by peer: socket write error

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

,
via github.com by Unknown author

Probably there is a bug in TestNG Eclipse plugin (6.8.6.20130607_0745), try an other version (e.g. 6.8.0.20121120_1820)

,
via GitHub by ppoulard

before running my test in debug mode, i open the debug view, and remove some breakpoints (such as some remaining on NullPointersExceptions, and Sockets)

Solutions on the web

via Oracle Community by 3150773, 1 year ago
via Stack Overflow by salim
, 2 years ago
Connection reset by peer: socket write error
java.net.SocketException: Connection reset by peer: socket write erro r
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
at java.io.BufferedOutputStream.write(BufferedOutputStream.java:105)
at java.io.FilterOutputStream.write(FilterOutputStream.java:80)
at oracle.oc4j.rmi.ClientSocketRmiTransport.sendRequest(ClientSocketRmiTransport.java:89)
at oracle.oc4j.rmi.ClientRmiTransport$DiscreteMessageOut.send(ClientRmiTransport.java:152)
at com.evermind.server.rmi.RMIClientConnection.sendMethodInvocationRequest(RMIClientConnection.java:534)
at com.evermind.server.rmi.RMIClientConnection.invokeMethod(RMIClientConnection.java:514)
at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:63)
at com.fritolay.dsw.proxy.AutonomousOrderManagerProxy_2__577026862__580620633_911619561___AW_JoinPoint.invoke(Unknown Source)
at com.fritolay.dsw.proxy.AutonomousOrderManagerProxy.save(AutonomousOrderManagerProxy.java:430)
at com.fritolay.dsw.model.OMSOrder.save(OMSOrder.java:2837)
at com.fritolay.dsw.view.customer.customerOrderActivity.CustomerOrderActivityPanelController.actionPerformed_ConfirmOrder(CustomerOrderActivityPanelController.java:4274)
at com.fritolay.dsw.view.customer.customerOrderActivity.CustomerOrderActivityPanelController$18.actionPerformed(CustomerOrderActivityPanelController.java:868)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
at java.awt.Component.processMouseEvent(Component.java:5517)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
at java.awt.Component.processEvent(Component.java:5282)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3984)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3819)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1791)
at java.awt.Component.dispatchEvent(Component.java:3819)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

Users with the same issue

Once, 7 hours ago
4 times, 1 day ago
Once, 6 days ago
Once, 1 week ago
Once, 4 weeks ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.