com.esotericsoftware.kryo.KryoException: Class cannot be created (missing no-arg constructor): java.util.EnumMap Serialization trace: map (kryotest.CopyTest$Foo)

GitHub | fabienrenaud | 2 weeks ago
  1. 0

    EnumMap not supported

    GitHub | 2 weeks ago | fabienrenaud
    com.esotericsoftware.kryo.KryoException: Class cannot be created (missing no-arg constructor): java.util.EnumMap Serialization trace: map (kryotest.CopyTest$Foo)
  2. 0

    Seeing java.lang.IllegalAccessError when upgrading to 2.24.0

    GitHub | 3 years ago | lichtin
    java.lang.IllegalAccessError: tried to access method mypkg.MyClazz$MyInnerClazz.<init>()V from class mypkg.MyClazz$MyInnerClazzConstructorAccess
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    com.esotericsoftware.kryo.KryoException: java.lang.NullPointerException (cant serialize observablemap)

    GitHub | 5 months ago | miho
    com.esotericsoftware.kryo.KryoException: java.lang.NullPointerException Serialization trace: map (eu.mihosoft.vrl.lang.model.diff.ClassWithFXCollections)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.esotericsoftware.kryo.KryoException

      Class cannot be created (missing no-arg constructor): java.util.EnumMap Serialization trace: map (kryotest.CopyTest$Foo)

      at com.esotericsoftware.kryo.Kryo$DefaultInstantiatorStrategy.newInstantiatorOf()
    2. Kryo
      Kryo.copy
      1. com.esotericsoftware.kryo.Kryo$DefaultInstantiatorStrategy.newInstantiatorOf(Kryo.java:1310)
      2. com.esotericsoftware.kryo.Kryo.newInstantiator(Kryo.java:1127)
      3. com.esotericsoftware.kryo.Kryo.newInstance(Kryo.java:1136)
      4. com.esotericsoftware.kryo.serializers.MapSerializer.createCopy(MapSerializer.java:168)
      5. com.esotericsoftware.kryo.serializers.MapSerializer.copy(MapSerializer.java:172)
      6. com.esotericsoftware.kryo.serializers.MapSerializer.copy(MapSerializer.java:39)
      7. com.esotericsoftware.kryo.Kryo.copy(Kryo.java:914)
      8. com.esotericsoftware.kryo.serializers.UnsafeCacheFields$UnsafeObjectField.copy(UnsafeCacheFields.java:315)
      9. com.esotericsoftware.kryo.serializers.FieldSerializer.copy(FieldSerializer.java:682)
      10. com.esotericsoftware.kryo.Kryo.copy(Kryo.java:914)
      10 frames
    3. kryotest
      CopyTest.main
      1. kryotest.CopyTest.main(CopyTest.java:14)
      1 frame