java.net.SocketException: Connection reset

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

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Coderanch by Bill Robertson, 1 year ago
Connection reset
via Oracle Community by 416044, 1 year ago
via Google Groups by DannyT, 2 years ago
via Oracle Community by 962501, 1 year ago
java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:168)
at java.io.ObjectInputStream$PeekInputStream.read(ObjectInputStream.java:2150)
at java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream.java:2558)
at java.io.ObjectInputStream$BlockDataInputStream.readFully(ObjectInputStream.java:2582)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1834)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
at testx.tests.ServerTest.begin(ServerTest.java:58)
at testx.tests.ServerTest.main(ServerTest.java:22)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 day ago

Write tip

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