java.io.NotSerializableException: com.google.gson.JsonArray

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.

  • 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: com.google.gson.JsonArray at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1184) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348) at java.util.HashMap.internalWriteEntries(HashMap.java:1777) at java.util.HashMap.writeObject(HashMap.java:1354) at sun.reflect.GeneratedMethodAccessor141.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:1028) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1496) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348) at de.javakaffee.web.msm.JavaSerializationTranscoder.writeAttributes(JavaSerializationTranscoder.java:138) at de.javakaffee.web.msm.JavaSerializationTranscoder.serializeAttributes(JavaSerializationTranscoder.java:99) at de.javakaffee.web.msm.TranscoderService.serializeAttributes(TranscoderService.java:154) at de.javakaffee.web.msm.BackupSessionTask.serializeAttributes(BackupSessionTask.java:180) at de.javakaffee.web.msm.BackupSessionTask.call(BackupSessionTask.java:110) at de.javakaffee.web.msm.BackupSessionTask.call(BackupSessionTask.java:51) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)

    Users with the same issue

    Hiren Amaliyar
    Hiren Amaliyar11 times, last one,
    Unknown visitor1 times, last one,
    osvzs
    osvzs6 times, last one,
    Indri Yunita
    Indri Yunita2 times, last one,
    Unknown visitor1 times, last one,
    84 more bugmates