java.io.NotSerializableException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Serialize HashMap<String, Object> in Java
    via Stack Overflow by ritesh
    ,
  • GSON not serializable in JSF managed bean
    via Stack Overflow by kinkajou
    ,
  • How to post a JSON object to an URL?
    via Stack Overflow by user2655318
    ,
  • Serialization exception
    via by barreau...@yahoo.fr,
    • java.io.NotSerializableException: spell.SpellCheckTrainer at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1183) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1547) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1508) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1431) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at java.util.HashMap.writeObject(HashMap.java:1129) 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:606) at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:988) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1495) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1431) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at spell.SpellCheckTrainer.WriteModel(SpellCheckTrainer.java:254) at spell.SpellCheckTrainer.CreateDictionary(SpellCheckTrainer.java:246) at spell.SpellCheckTrainer.main(SpellCheckTrainer.java:55)

    Users with the same issue

    Hiren Amaliyar
    11 times, last one,
    Unknown visitor1 times, last one,
    osvzs
    6 times, last one,
    Indri Yunita
    2 times, last one,
    Unknown visitor1 times, last one,
    84 more bugmates