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 | 6 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    How can TypeTag be serialized using kryo and chill?

    Stack Overflow | 6 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