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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by marianoguerra
, 1 year ago
java.lang.IllegalArgumentException: Can't set parent scope to itself Serialization trace: childs (com.gnandoo.Node)
via GitHub by isaki-x
, 1 year ago
java.lang.IllegalArgumentException: type cannot be null. Serialization trace: listPayload (com.dbn.demo.serialization.KryoSerializationTest$ConcreteClass)
via Stack Overflow by Aurvoir
, 1 year ago
java.util.ConcurrentModificationException Serialization trace: classes (sun.misc.Launcher$AppClassLoader) applicationClassLoader (org.apache.tomcat.websocket.WsSession)
via Google Groups by Tim Pigden, 1 year ago
java.lang.NullPointerException Serialization trace: tail (com.optrak.opkakka.ddd.CommandResultBuses$UpdateSucceeded$) b (scalaz.$bslash$div$minus) result (com.optrak.opkakka.ddd.CommandResultBuses$CommandResultEnvelope)
via GitHub by AlbertWeichselbraun
, 8 months ago
java.lang.NegativeArraySizeException Serialization trace: relations (com.weblyzard.backend.recognize.data.Lexicon)
via JIRA by Yuta Higuchi, 11 months ago
java.lang.IllegalArgumentException: Class is not registered: org.onosproject.net.driver.DefaultDriver Note: To register this class use: kryo.register(org.onosproject.net.driver.DefaultDriver.class); Serialization trace: driver (org.onosproject.net.DefaultDevice) components (org.onosproject.net.resource.DiscreteResourceId)
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)
at com.esotericsoftware.kryo.serializers.ObjectField.write(ObjectField.java:82)
at com.esotericsoftware.kryo.serializers.FieldSerializer.write(FieldSerializer.java:495)
at com.gnandoo.AppTest.testApp(AppTest.java:47)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.