java.util.ConcurrentModificationException: Exception in thread "main" com.esotericsoftware.kryo.KryoException: java.util.ConcurrentModificationException Serialization trace: classes (sun.misc.Launcher$AppClassLoader) classLoader (scala.reflect.runtime.JavaMirrors$JavaMirror) $outer (scala.reflect.runtime.JavaMirrors$JavaMirror$$anon$1) currentOwner (scala.reflect.internal.Trees$TreeTypeSubstituter) EmptyTreeTypeSubstituter (scala.reflect.runtime.JavaUniverse) $outer (scala.reflect.api.TypeTags$PredefTypeTag) t (TagTest$A)

Stack Overflow | gadubishe | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    How can TypeTag be serialized using kryo and chill?

    Stack Overflow | 8 months ago | gadubishe
    java.util.ConcurrentModificationException: Exception in thread "main" com.esotericsoftware.kryo.KryoException: java.util.ConcurrentModificationException Serialization trace: classes (sun.misc.Launcher$AppClassLoader) classLoader (scala.reflect.runtime.JavaMirrors$JavaMirror) $outer (scala.reflect.runtime.JavaMirrors$JavaMirror$$anon$1) currentOwner (scala.reflect.internal.Trees$TreeTypeSubstituter) EmptyTreeTypeSubstituter (scala.reflect.runtime.JavaUniverse) $outer (scala.reflect.api.TypeTags$PredefTypeTag) t (TagTest$A)

    Root Cause Analysis

    1. java.util.ConcurrentModificationException

      Exception in thread "main" com.esotericsoftware.kryo.KryoException: java.util.ConcurrentModificationException Serialization trace: classes (sun.misc.Launcher$AppClassLoader) classLoader (scala.reflect.runtime.JavaMirrors$JavaMirror) $outer (scala.reflect.runtime.JavaMirrors$JavaMirror$$anon$1) currentOwner (scala.reflect.internal.Trees$TreeTypeSubstituter) EmptyTreeTypeSubstituter (scala.reflect.runtime.JavaUniverse) $outer (scala.reflect.api.TypeTags$PredefTypeTag) t (TagTest$A)

      at com.esotericsoftware.kryo.serializers.ObjectField.write()
    2. Kryo
      Kryo.writeObject
      1. com.esotericsoftware.kryo.serializers.ObjectField.write(ObjectField.java:101)
      2. com.esotericsoftware.kryo.serializers.FieldSerializer.write(FieldSerializer.java:518)
      3. com.esotericsoftware.kryo.Kryo.writeObject(Kryo.java:552)
      3 frames