java.lang.IllegalArgumentException: Class is not registered: Object[]


Solutions on the web

Solution icon of stackoverflow
Class is not registered: Object[]

Solution icon of github
via GitHub by rgabo
, 6 months ago
Class is not registered: com.snowplowanalytics.snowplow.enrich.common.outputs.EnrichedEvent[] Note: To register this class use: kryo.register(com.snowplowanalytics.snowplow.enrich.common.outputs.EnrichedEvent[].class);

Solution icon of web
Class is not registered: ltn.analytics.es.EsDoc[] Note: To register this class use: kryo.register(ltn.analytics.es.EsDoc[].class);

Solution icon of stackoverflow
via Stack Overflow by Pop
, 1 year ago
Class is not registered: org.apache.spark.mllib.regression.LabeledPoint[] Note: To register this class use: kryo.register(org.apache.spark.mllib.regression.LabeledPoint[].class);

Solution icon of googlegroups
via Google Groups by Dylan Bethune-Waddell, 1 year ago
Class is not registered: org.apache.spark.util.collection.CompactBuffer[] Note: To register this class use: kryo.register(org.apache.spark.util.collection.CompactBuffer[].class);

Solution icon of github
via GitHub by fooblahblah
, 1 year ago
Class is not registered: com.databricks.spark.avro.DefaultSource$SerializableConfiguration Note: To register this class use: kryo.register(com.databricks.spark.avro.DefaultSource$SerializableConfiguration.class);

Solution icon of github
Class is not registered: us.ihmc.humanoidRobotics.communication.packets.valkyrie.ValkyrieLowLevelControlModeMessage$ControlMode Note: To register this class use: kryo.register(us.ihmc.humanoidRobotics.communication.packets.valkyrie.ValkyrieLowLevelControlModeMessage$ControlMode.class);

Solution icon of github
Class is not registered: java.nio.HeapByteBuffer Note: To register this class use: kryo.register(java.nio.HeapByteBuffer.class);

Solution icon of web
via JIRA by Vidyashree Rama, 6 months ago
Class is not registered: org.onosproject.l3vpn.netl3vpn.InterfaceInfo Note: To register this class use: kryo.register(org.onosproject.l3vpn.netl3vpn.InterfaceInfo.class);

Solution icon of stackoverflow
Class is not registered: scala.Enumeration$Val Note: To register this class use: kryo.register(scala.Enumeration$Val.class);

Stack trace

java.lang.IllegalArgumentException: Class is not registered: Object[]
	at com.esotericsoftware.kryo.Kryo.getRegistration(Kryo.java:442)
	at com.esotericsoftware.kryo.util.DefaultClassResolver.writeClass(DefaultClassResolver.java:79)
	at com.esotericsoftware.kryo.Kryo.writeClass(Kryo.java:472)
	at com.esotericsoftware.kryo.Kryo.writeClassAndObject(Kryo.java:565)
	at org.apache.spark.serializer.KryoSerializerInstance.serialize(KryoSerializer.scala:296)
	at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:239)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)

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

2 times, 11 months ago