com.esotericsoftware.kryo.KryoException: java.lang.NullPointerException Serialization trace: strings (**.ArrayListSerializationTest$TestMessage)

GitHub | sterfpaul | 10 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

    Using Arrays.asList() created lists causes NPE when deserializing

    GitHub | 10 months ago | sterfpaul
    com.esotericsoftware.kryo.KryoException: java.lang.NullPointerException Serialization trace: strings (**.ArrayListSerializationTest$TestMessage)
  2. 0

    Kryo 3.0.1 - still get NullPointerException when try to deserialize ArrayList !

    Google Groups | 2 years ago | Eylon Segal
    com.esotericsoftware.kryo.KryoException: java.lang.NullPointerException Serialization trace: subscriberProfile (com.starhome.services.promotion.sparx.datatypes.SparxSFIDataMsg) msg (com.starhome.services.promotion.datatypes.PromotionSFIData)
  3. 0

    NullPointerException when generic types are used

    GitHub | 1 year ago | doubleloop
    com.esotericsoftware.kryo.KryoException: java.lang.NullPointerException Serialization trace: b (pl.edu.mimuw.cloudatlas.kryo.TestKryo$2C) map (pl.edu.mimuw.cloudatlas.kryo.TestKryo$2D)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    UnmodifieableCollectionsSerializer: NPE when serializing list created by `Arrays.asList()`

    GitHub | 6 months ago | jerrinot
    com.hazelcast.nio.serialization.HazelcastSerializationException: com.esotericsoftware.kryo.KryoException: java.lang.NullPointerException Serialization trace: names (info.jerrinot.subzero.TestCustomerSerializers$ClassWithUnmodifieableList)
  6. 0

    CollectionSerializer NPE with Arrays.asList

    GitHub | 2 years ago | brianfromoregon
    java.lang.NullPointerException

    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. java.lang.NullPointerException

      null

      at java.util.Arrays$ArrayList.size()
    2. Java RT
      AbstractList.add
      1. java.util.Arrays$ArrayList.size(Arrays.java:3818)[na:1.8.0_91]
      2. java.util.AbstractList.add(AbstractList.java:108)[na:1.8.0_91]
      2 frames
    3. Kryo
      Kryo.readClassAndObject
      1. com.esotericsoftware.kryo.serializers.CollectionSerializer.read(CollectionSerializer.java:127)[kryo-3.0.3.jar:na]
      2. com.esotericsoftware.kryo.serializers.CollectionSerializer.read(CollectionSerializer.java:40)[kryo-3.0.3.jar:na]
      3. com.esotericsoftware.kryo.Kryo.readObject(Kryo.java:708)[kryo-3.0.3.jar:na]
      4. com.esotericsoftware.kryo.serializers.ObjectField.read(ObjectField.java:125)[kryo-3.0.3.jar:na]
      5. com.esotericsoftware.kryo.serializers.FieldSerializer.read(FieldSerializer.java:551)[kryo-3.0.3.jar:na]
      6. com.esotericsoftware.kryo.Kryo.readClassAndObject(Kryo.java:790)[kryo-3.0.3.jar:na]
      6 frames
    4. com.romix.akka
      KryoSerializer.fromBinary
      1. com.romix.akka.serialization.kryo.KryoBasedSerializer.fromBinary(KryoSerializer.scala:483)[akka-kryo-serialization_2.11-0.4.1.jar:na]
      2. com.romix.akka.serialization.kryo.KryoSerializer.fromBinary(KryoSerializer.scala:339)[akka-kryo-serialization_2.11-0.4.1.jar:na]
      2 frames
    5. Akka Actor
      Serialization$$anonfun$deserialize$3.apply
      1. akka.serialization.Serialization$$anonfun$deserialize$3.apply(Serialization.scala:142)[akka-actor_2.11-2.4.2.jar:na]
      1 frame
    6. Scala
      Try$.apply
      1. scala.util.Try$.apply(Try.scala:192)[scala-library-2.11.7.jar:na]
      1 frame
    7. Akka Actor
      Mailbox.exec
      1. akka.serialization.Serialization.deserialize(Serialization.scala:142)[akka-actor_2.11-2.4.2.jar:na]
      2. akka.actor.dungeon.Dispatch$class.sendMessage(Dispatch.scala:128)[akka-actor_2.11-2.4.2.jar:na]
      3. akka.actor.ActorCell.sendMessage(ActorCell.scala:374)[akka-actor_2.11-2.4.2.jar:na]
      4. akka.actor.UnstartedCell$$anonfun$replaceWith$1.apply$mcV$sp(RepointableActorRef.scala:215)[akka-actor_2.11-2.4.2.jar:na]
      5. akka.actor.UnstartedCell$$anonfun$replaceWith$1.apply(RepointableActorRef.scala:197)[akka-actor_2.11-2.4.2.jar:na]
      6. akka.actor.UnstartedCell$$anonfun$replaceWith$1.apply(RepointableActorRef.scala:197)[akka-actor_2.11-2.4.2.jar:na]
      7. akka.actor.UnstartedCell.locked(RepointableActorRef.scala:285)[akka-actor_2.11-2.4.2.jar:na]
      8. akka.actor.UnstartedCell.replaceWith(RepointableActorRef.scala:196)[akka-actor_2.11-2.4.2.jar:na]
      9. akka.actor.RepointableActorRef.point(RepointableActorRef.scala:106)[akka-actor_2.11-2.4.2.jar:na]
      10. akka.actor.ActorCell.handleSupervise(ActorCell.scala:624)[akka-actor_2.11-2.4.2.jar:na]
      11. akka.actor.ActorCell.supervise(ActorCell.scala:616)[akka-actor_2.11-2.4.2.jar:na]
      12. akka.actor.ActorCell.invokeAll$1(ActorCell.scala:468)[akka-actor_2.11-2.4.2.jar:na]
      13. akka.actor.ActorCell.systemInvoke(ActorCell.scala:483)[akka-actor_2.11-2.4.2.jar:na]
      14. akka.dispatch.Mailbox.processAllSystemMessages(Mailbox.scala:282)[akka-actor_2.11-2.4.2.jar:na]
      15. akka.dispatch.Mailbox.run(Mailbox.scala:223)[akka-actor_2.11-2.4.2.jar:na]
      16. akka.dispatch.Mailbox.exec(Mailbox.scala:234)[akka-actor_2.11-2.4.2.jar:na]
      16 frames
    8. Scala
      ForkJoinWorkerThread.run
      1. scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)[scala-library-2.11.7.jar:na]
      2. scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)[scala-library-2.11.7.jar:na]
      3. scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)[scala-library-2.11.7.jar:na]
      4. scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)[scala-library-2.11.7.jar:na]
      4 frames