com.esotericsoftware.kryo.KryoException: java.lang.NullPointerException Serialization trace: map (eu.mihosoft.vrl.lang.model.diff.ClassWithFXCollections)

GitHub | miho | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    com.esotericsoftware.kryo.KryoException: java.lang.NullPointerException (cant serialize observablemap)

    GitHub | 7 months ago | miho
    com.esotericsoftware.kryo.KryoException: java.lang.NullPointerException Serialization trace: map (eu.mihosoft.vrl.lang.model.diff.ClassWithFXCollections)

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.sun.javafx.collections.ObservableMapWrapper.put()
    2. com.sun.javafx
      ObservableMapWrapper.put
      1. com.sun.javafx.collections.ObservableMapWrapper.put(ObservableMapWrapper.java:166)
      1 frame
    3. Kryo
      Kryo.copy
      1. com.esotericsoftware.kryo.serializers.MapSerializer.copy(MapSerializer.java:175)
      2. com.esotericsoftware.kryo.serializers.MapSerializer.copy(MapSerializer.java:39)
      3. com.esotericsoftware.kryo.Kryo.copy(Kryo.java:914)
      4. com.esotericsoftware.kryo.serializers.UnsafeCacheFields$UnsafeObjectField.copy(UnsafeCacheFields.java:315)
      5. com.esotericsoftware.kryo.serializers.FieldSerializer.copy(FieldSerializer.java:682)
      6. com.esotericsoftware.kryo.Kryo.copy(Kryo.java:914)
      6 frames
    4. eu.mihosoft.vrl
      KryoCloneBug.main
      1. eu.mihosoft.vrl.lang.model.diff.KryoCloneBug.main(KryoCloneBug.java:31)
      1 frame