java.io.NotSerializableException: java.net.Socket

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

Solutions on the web

via Oracle Community by 807554, 1 year ago
java.net.Socket
java.io.NotSerializableException: java.net.Socket
at java.io.ObjectOutputStream.outputObject(Unknown Source)
at java.io.ObjectOutputStream.writeObject(Unknown Source)
at java.util.Hashtable.writeObject(Unknown Source)
at java.lang.reflect.Method.invoke(Native Method)
at java.io.ObjectOutputStream.invokeObjectWriter(Unknown Source)
at java.io.ObjectOutputStream.outputObject(Unknown Source)
at undefined.ServerEAD.(ServerEAD.java:34)
at undefined.ServerEAD.main(ServerEAD.java:121)

Users with the same issue

5 times, 2 months ago
7 times, 1 year ago
4 times, 11 months ago
6 times, 1 year ago
Once, 1 year ago
72 more bugmates

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