java.lang.IllegalArgumentException: Not serializable: class com.x.y.ext.JSONMapSerializer$2

Google Groups | Aaron Weber | 1 year ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    custom serializer issue

    Google Groups | 1 year ago | Aaron Weber
    java.lang.IllegalArgumentException: Not serializable: class com.x.y.ext.JSONMapSerializer$2

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Not serializable: class com.x.y.ext.JSONMapSerializer$2

      at org.mapdb.SerializerBase.assertSerializable()
    2. mapdb
      DB$HTreeMapMaker.makeOrGet
      1. org.mapdb.SerializerBase.assertSerializable(SerializerBase.java:1482)
      2. org.mapdb.DB.createHashMap(DB.java:415)
      3. org.mapdb.DB$HTreeMapMaker.make(DB.java:216)
      4. org.mapdb.DB$HTreeMapMaker.makeOrGet(DB.java:222)
      4 frames