com.esotericsoftware.kryo.KryoException

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


Solutions on the web338

Solution icon of github
via GitHub by fabienrenaud
, 7 months ago
Class cannot be created (missing no-arg constructor): java.util.EnumMap Serialization trace: map (kryotest.CopyTest$Foo)

Solution icon of github
via GitHub by sramli
, 1 year ago
Class cannot be created (missing no-arg constructor): org.jasig.cas.support.saml.authentication.principal.SamlService Serialization trace: services (org.jasig.cas.ticket.TicketGrantingTicketImpl)

Solution icon of github
via GitHub by sramli
, 1 year ago
Class cannot be created (missing no-arg constructor): org.jasig.cas.support.saml.authentication.principal.SamlService Serialization trace: service (org.jasig.cas.ticket.ServiceTicketImpl)

Solution icon of googlegroups
via Google Groups by Matt Kline, 1 year ago
Class cannot be created (missing no-arg constructor): int Serialization trace: objectID (com.esotericsoftware.kryonet.rmi.ObjectSpace$InvokeMethodResult)

Solution icon of stackoverflow
via Stack Overflow by Viraj
, 1 year ago
Class cannot be created (missing no-arg constructor): java.util.Collections$UnmodifiableRandomAccessList Serialization trace: suppressedExceptions (CustomException) at com.esotericsoftware.kryo.Kryo$DefaultInstantiatorStrategy.newInstantiatorOf( Kryo.java:1272)

Solution icon of googlegroups
via Google Groups by Reynold Xin, 1 year ago
Class cannot be created (missing no-arg constructor): java.util.Arrays$ArrayList Serialization trace: _stringList (com.elise.bitoflife.botworld.MyPattern) _mc (com.elise.bitoflife.botworld.MyCategory) _list (com.elise.bitoflife.botworld.MyA)

Solution icon of stackoverflow
Class cannot be created (missing no-arg constructor): org.codehaus.jackson.map.DeserializationConfig Serialization trace: _deserializationConfig (org.codehaus.jackson.map.ObjectMapper) mapper (com.datatorrent.contrib.couchbase.CouchBaseJSONSerializer) serializer (com.datatorrent.contrib.couchbase.CouchbasePOJOSetOperator)

Solution icon of stackoverflow
via Stack Overflow by Vic
, 1 year ago
Class cannot be created (missing no-arg constructor): org.apache.avro.generic.GenericData$Array Serialization trace: user (com.log.avro.User) obj (com.log.avro.AvroOperator) at com.esotericsoftware.kryo.Kryo$DefaultInstantiatorStrategy.newInstantiatorOf(Kryo.java:1228)

Solution icon of github
Class cannot be created (missing no-arg constructor): org.apache.hadoop.hive.serde2.objectinspector.primitive.PrimitiveObjectInspectorConverter$TextConverter Serialization trace: converters (com.nexr.rhive.hive.udf.RUDF) genericUDF

Solution icon of web
Class cannot be created (missing no-arg constructor): org.apache.hadoop.hive.serde2.objectinspector.primitive.WritableConstantBooleanObjectInspector Serialization trace: argumentOIs (org.apache.hadoop.hive.ql.udf.generic.GenericUDFBetween

Stack trace

  • 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)

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

57 times, 1 year ago