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

Stack Overflow | SpringStarter | 11 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0
    samebug tip
    Kryo doesn't accept multi-threaded data access, there's a few workarounds for this, such as duplicating the buffer, but they sacrifice a bit of performance.
    via GitHub by ghost
  2. 0

    GitHub comment 3077#278344642

    GitHub | 3 months ago | rgabo
    java.lang.IllegalArgumentException: 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);
  3. 0

    Spark, mail # user - How to register array class with Kyro in spark-defaults.conf - 2015-07-30, 15:08

    search-hadoop.com | 1 year ago
    java.lang.IllegalArgumentException: Class is not registered: ltn.analytics.es.EsDoc[] Note: To register this class use: kryo.register(ltn.analytics.es.EsDoc[].class);
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Kryo registration of LabeledPoint class

    Stack Overflow | 1 year ago | Pop
    java.lang.IllegalArgumentException: 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);
  6. 0

    Spark - Register model objects with Kyro - Caused by: java.lang.IllegalArgumentException: Class is not registered:

    Stack Overflow | 11 months ago | SpringStarter
    java.lang.IllegalArgumentException: Class is not registered: Object[]

  1. Gatgeagent 2 times, last 6 months ago
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    Class is not registered: Object[]

    at com.esotericsoftware.kryo.Kryo.getRegistration()
  2. Kryo
    Kryo.writeClassAndObject
    1. com.esotericsoftware.kryo.Kryo.getRegistration(Kryo.java:442)
    2. com.esotericsoftware.kryo.util.DefaultClassResolver.writeClass(DefaultClassResolver.java:79)
    3. com.esotericsoftware.kryo.Kryo.writeClass(Kryo.java:472)
    4. com.esotericsoftware.kryo.Kryo.writeClassAndObject(Kryo.java:565)
    4 frames
  3. Spark
    Executor$TaskRunner.run
    1. org.apache.spark.serializer.KryoSerializerInstance.serialize(KryoSerializer.scala:296)
    2. org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:239)
    2 frames
  4. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    3. java.lang.Thread.run(Thread.java:745)
    3 frames