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. ,

    Exception in thread "main" java.io.NotSerializableException: java.util.Hashtable$Enumerator at java.io.ObjectOutputStream.writeObject0(Unknown Source) at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source) at java.io.ObjectOutputStream.writeSe

  2. ,
    via Stack Overflow by Matthias

    Your object contains member variables which are themselves not serializable 'ReportDataStoreRegion'. If you really want to serialize your object. One option would be to declare the variable as transient so that it is not serialized.

Solutions on the web

via Coderanch by mary desi, 1 year ago
writing aborted; java.io.NotSerializableException: pcshop.Pc
via Oracle Community by 843841, 1 year ago
writing aborted; java.io.NotSerializableException: admin.Staff
via GitHub by karlmdavis
, 2 years ago
writing aborted; java.io.NotSerializableException: com.justdavis.karl.rpstourney.service.api.auth.game.GameLoginIdentity
via Stack Overflow by Burro
, 2 years ago
writing aborted; java.io.NotSerializableException: chatservernazmus.User
via Oracle Community by 843836, 1 year ago
writing aborted; java.io.NotSerializableException: it.gtagic.prs.bip.daos.PianoImplementation
via Oracle Community by 843841, 1 year ago
writing aborted; java.io.NotSerializableException: admin.Staff
java.io.NotSerializableException: pcshop.Pc	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1180)	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:346)	at java.util.ArrayList.writeObject(ArrayList.java:710)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:601)	at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:975)	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1480)	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1416)	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1174)	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:346)	at pcshop.PcShop.main(PcShop.java:255)