com.esotericsoftware.kryo.KryoException: java.lang.IllegalArgumentException: Can not set final scala.collection.mutable.LongMap field com.name.of.field to scala.collection.mutable.HashMap Serialization trace: field (com.name.of)

Stack Overflow | lalaland | 8 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

    Deserializing LongMap in Kryo

    Stack Overflow | 8 months ago | lalaland
    com.esotericsoftware.kryo.KryoException: java.lang.IllegalArgumentException: Can not set final scala.collection.mutable.LongMap field com.name.of.field to scala.collection.mutable.HashMap Serialization trace: field (com.name.of)
  3. 0

    readClassAndObject throws KryoException: Buffer underflow.

    GitHub | 4 years ago | ghost
    com.esotericsoftware.kryo.KryoException: Buffer underflow.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Apache Spark User List - Unable to find proto buffer class error with RDD<protobuf>

    nabble.com | 1 year ago
    com.esotericsoftware.kryo.KryoException: Error during Java deserialization. at > com.esotericsoftware.kryo.serializers.JavaSerializer.read(JavaSerializer.java:42)
  6. 0

    com.esotericsoftware.kryo.KryoException

    GitHub | 2 years ago | security08
    java.io.IOException: com.esotericsoftware.kryo.KryoException: java.lang.IllegalArgumentException: Can not set final scala.reflect.ClassTag field org.apache.spark.streaming.kafka.KafkaReceiver.evidence$7 to scala.reflect.ClassTag$$anon$1 Serialization trace: evidence$7 (org.apache.spark.streaming.kafka.KafkaReceiver)

    16 unregistered visitors
    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. com.esotericsoftware.kryo.KryoException

      java.lang.IllegalArgumentException: Can not set final scala.collection.mutable.LongMap field com.name.of.field to scala.collection.mutable.HashMap Serialization trace: field (com.name.of)

      at com.esotericsoftware.kryo.serializers.FieldSerializer$ObjectField.read()
    2. Kryo
      Kryo.readClassAndObject
      1. com.esotericsoftware.kryo.serializers.FieldSerializer$ObjectField.read(FieldSerializer.java:626)[com.esotericsoftware.kryo.kryo-2.21.jar:na]
      2. com.esotericsoftware.kryo.serializers.FieldSerializer.read(FieldSerializer.java:221)[com.esotericsoftware.kryo.kryo-2.21.jar:na]
      3. com.esotericsoftware.kryo.Kryo.readObject(Kryo.java:648)[com.esotericsoftware.kryo.kryo-2.21.jar:na]
      4. com.esotericsoftware.kryo.serializers.FieldSerializer$ObjectField.read(FieldSerializer.java:605)[com.esotericsoftware.kryo.kryo-2.21.jar:na]
      5. com.esotericsoftware.kryo.serializers.FieldSerializer.read(FieldSerializer.java:221)[com.esotericsoftware.kryo.kryo-2.21.jar:na]
      6. com.esotericsoftware.kryo.Kryo.readClassAndObject(Kryo.java:729)[com.esotericsoftware.kryo.kryo-2.21.jar:na]
      6 frames