com.esotericsoftware.kryo.KryoException: java.lang.IllegalArgumentException: Class is not registered: scala.reflect.ManifestFactory$$anon$2 Note: To register this class use: kryo.register(scala.reflect.ManifestFactory$$anon$2.class); Serialization trace: evidence$1 (org.apache.spark.util.collection.CompactBuffer)

Hot problem!
This exception has a lot of traffic. You can help 16 users by writing a short tip.

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 Stack Overflow by Pan Dazhao
, 1 year ago
java.lang.IllegalArgumentException: Class is not registered: scala.reflect.ManifestFactory$$anon$2 Note: To register this class use: kryo.register(scala.reflect.ManifestFactory$$anon$2.class); Serialization trace: evidence$1 (org.apache.spark.util.collection.CompactBuffer)
via Stack Overflow by Nishant Kumar
, 1 year ago
java.lang.IllegalArgumentException: Class is not registered: scala.Tuple2$mcJZ$sp Note: To register this class use: kryo.register(scala.Tuple2$mcJZ$sp.class); Serialization trace: parents_to_add (com.test.IncomingRecord)
via Stack Overflow by Shubahm Bhatnagar
, 11 months ago
java.lang.ArrayIndexOutOfBoundsException: 1 Serialization trace: applicationMap ()
via Stack Overflow by Sarah
, 2 years ago
java.lang. IllegalArgumentException: Class is not registered: Game.Tile Note: To register this class use: kryo.register(Game.Tile.class); Serialization trace: t0 (Game.Board)
via GitHub by fnothaft
, 11 months ago
java.lang.IllegalArgumentException: Class is not registered: org.bdgenomics.adam.algorithms.consensus.Consensus[] Note: To register this class use: kryo.register(org.bdgenomics.adam.algorithms.consensus.Consensus[].class); Serialization trace: otherElements (org.apache.spark.util.collection.CompactBuffer)
via Google Groups by Allan, 1 year ago
java.nio.BufferOverflowException Serialization trace: bankdata (java.awt.image.DataBufferByte) dataBuffer (sun.awt.image.SunWritableRaster) raster (java.awt.image.BufferedImage) frame (com.jmr.monitor.packets.Packet9WebcamFrame)
java.lang.IllegalArgumentException: Class is not registered: scala.reflect.ManifestFactory$$anon$2 Note: To register this class use: kryo.register(scala.reflect.ManifestFactory$$anon$2.class);
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.serializers.FieldSerializer$ObjectField.write(FieldSerializer.java:561)
at com.esotericsoftware.kryo.serializers.FieldSerializer.write(FieldSerializer.java:213)
at org.apache.spark.serializer.KryoSerializationStream.writeObject(KryoSerializer.scala:194)
at org.apache.spark.serializer.SerializationStream.writeValue(Serializer.scala:147)
at org.apache.spark.storage.DiskBlockObjectWriter.write(DiskBlockObjectWriter.scala:185)
at org.apache.spark.util.collection.ExternalAppendOnlyMap.spill(ExternalAppendOnlyMap.scala:206)
at org.apache.spark.util.collection.ExternalAppendOnlyMap.spill(ExternalAppendOnlyMap.scala:55)
at org.apache.spark.util.collection.Spillable$class.maybeSpill(Spillable.scala:93)
at org.apache.spark.util.collection.ExternalAppendOnlyMap.maybeSpill(ExternalAppendOnlyMap.scala:55)
at org.apache.spark.util.collection.ExternalAppendOnlyMap.insertAll(ExternalAppendOnlyMap.scala:158)
at org.apache.spark.Aggregator.combineValuesByKey(Aggregator.scala:45)
at org.apache.spark.shuffle.BlockStoreShuffleReader.read(BlockStoreShuffleReader.scala:89)
at org.apache.spark.rdd.ShuffledRDD.compute(ShuffledRDD.scala:98)
at org.apache.spark.rdd.RDD.computeOrReadCheckpoint(RDD.scala:306)
at org.apache.spark.rdd.RDD.iterator(RDD.scala:270)
at org.apache.spark.rdd.MapPartitionsRDD.compute(MapPartitionsRDD.scala:38)
at org.apache.spark.rdd.RDD.computeOrReadCheckpoint(RDD.scala:306)
at org.apache.spark.rdd.RDD.iterator(RDD.scala:270)
at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:66)
at org.apache.spark.scheduler.Task.run(Task.scala:89)
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)

Users with the same issue

2 times, 1 year ago

Write tip

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