com.esotericsoftware.kryo.KryoException

java.lang.IllegalArgumentException: Can't set parent scope to itself Serialization trace: childs (com.gnandoo.Node)

Solutions on the web295

  • via GitHub by marianoguerra
    , 9 months ago
    java.lang.IllegalArgumentException: Can't set parent scope to itself Serialization trace: childs (com.gnandoo.Node)
  • java.lang.IllegalArgumentException: Unable to create serializer "com.esotericsoftware.kryo.serializers.FieldSerializer" for class: com.gnandoo.Leaf Serialization trace: childs (com.gnandoo.Node) childs (com.gnandoo.Node)
  • java.lang.IllegalArgumentException: Can not set datatypes.MetaDataClass field entities.AbstractBaseEvent.metaData to java.lang.String Serialization trace: metaData (entities.LocationEvent)
  • Stack trace

    • com.esotericsoftware.kryo.KryoException: java.lang.IllegalArgumentException: Can't set parent scope to itself Serialization trace: childs (com.gnandoo.Node) at com.esotericsoftware.kryo.serializers.ObjectField.write(ObjectField.java:82) at com.esotericsoftware.kryo.serializers.FieldSerializer.write(FieldSerializer.java:495) at com.esotericsoftware.kryo.Kryo.writeObject(Kryo.java:505) at com.gnandoo.AppTest.testApp(AppTest.java:47) Caused by: java.lang.IllegalArgumentException: Can't set parent scope toitself at com.esotericsoftware.kryo.Generics.setParentScope(Generics.java:56) at com.esotericsoftware.kryo.Kryo.pushGenericsScope(Kryo.java:1132) at com.esotericsoftware.kryo.serializers.FieldSerializer.write(FieldSerializer.java:490) at com.esotericsoftware.kryo.Kryo.writeClassAndObject(Kryo.java:599) at com.esotericsoftware.kryo.serializers.MapSerializer.write(MapSerializer.java:95) at com.esotericsoftware.kryo.serializers.MapSerializer.write(MapSerializer.java:21) at com.esotericsoftware.kryo.Kryo.writeObject(Kryo.java:523) at com.esotericsoftware.kryo.serializers.ObjectField.write(ObjectField.java:61) ... 4 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.