com.esotericsoftware.kryo.KryoException

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.

  • EnumMap not supported
    via GitHub by fabienrenaud
    ,
  • GitHub comment 1066#153309558
    via GitHub by sramli
    ,
  • GitHub comment 1066#153687187
    via GitHub by sramli
    ,
    • 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(Kryo.java:1310) at com.esotericsoftware.kryo.Kryo.newInstantiator(Kryo.java:1127) at com.esotericsoftware.kryo.Kryo.newInstance(Kryo.java:1136) at com.esotericsoftware.kryo.serializers.MapSerializer.createCopy(MapSerializer.java:168) at com.esotericsoftware.kryo.serializers.MapSerializer.copy(MapSerializer.java:172) at com.esotericsoftware.kryo.serializers.MapSerializer.copy(MapSerializer.java:39) at com.esotericsoftware.kryo.Kryo.copy(Kryo.java:914) at com.esotericsoftware.kryo.serializers.UnsafeCacheFields$UnsafeObjectField.copy(UnsafeCacheFields.java:315) at com.esotericsoftware.kryo.serializers.FieldSerializer.copy(FieldSerializer.java:682) at com.esotericsoftware.kryo.Kryo.copy(Kryo.java:914) at kryotest.CopyTest.main(CopyTest.java:14)

    Users with the same issue

    Agócs TamásAgócs Tamás
    57 times, last one,