com.esotericsoftware.kryo.KryoException

java.lang.NullPointerException Serialization trace: strings (**.ArrayListSerializationTest$TestMessage)

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web268

  • java.lang.NullPointerException Serialization trace: strings (**.ArrayListSerializationTest$TestMessage)
  • via Google Groups by Rasoul Firoz, 6 months ago
    java.lang.NullPointerException Serialization trace: criteria (com.quadramed.core.web.LWPagedResult)
  • java.lang.NullPointerException Serialization trace: criteria (com.quadramed.core.web.LWPagedResult)
  • Stack trace

    • com.esotericsoftware.kryo.KryoException: java.lang.NullPointerException Serialization trace: strings (**.ArrayListSerializationTest$TestMessage) at com.esotericsoftware.kryo.serializers.ObjectField.read(ObjectField.java:144)[kryo-3.0.3.jar:na] at com.esotericsoftware.kryo.serializers.FieldSerializer.read(FieldSerializer.java:551)[kryo-3.0.3.jar:na] at com.esotericsoftware.kryo.Kryo.readClassAndObject(Kryo.java:790)[kryo-3.0.3.jar:na] at com.romix.akka.serialization.kryo.KryoBasedSerializer.fromBinary(KryoSerializer.scala:483)[akka-kryo-serialization_2.11-0.4.1.jar:na] at com.romix.akka.serialization.kryo.KryoSerializer.fromBinary(KryoSerializer.scala:339)[akka-kryo-serialization_2.11-0.4.1.jar:na] at akka.serialization.Serialization$$anonfun$deserialize$3.apply(Serialization.scala:142)[akka-actor_2.11-2.4.2.jar:na] at scala.util.Try$.apply(Try.scala:192)[scala-library-2.11.7.jar:na] at akka.serialization.Serialization.deserialize(Serialization.scala:142)[akka-actor_2.11-2.4.2.jar:na] at akka.actor.dungeon.Dispatch$class.sendMessage(Dispatch.scala:128)[akka-actor_2.11-2.4.2.jar:na] at akka.actor.ActorCell.sendMessage(ActorCell.scala:374)[akka-actor_2.11-2.4.2.jar:na] at akka.actor.UnstartedCell$$anonfun$replaceWith$1.apply$mcV$sp(RepointableActorRef.scala:215)[akka-actor_2.11-2.4.2.jar:na] at akka.actor.UnstartedCell$$anonfun$replaceWith$1.apply(RepointableActorRef.scala:197)[akka-actor_2.11-2.4.2.jar:na] at akka.actor.UnstartedCell$$anonfun$replaceWith$1.apply(RepointableActorRef.scala:197)[akka-actor_2.11-2.4.2.jar:na] at akka.actor.UnstartedCell.locked(RepointableActorRef.scala:285)[akka-actor_2.11-2.4.2.jar:na] at akka.actor.UnstartedCell.replaceWith(RepointableActorRef.scala:196)[akka-actor_2.11-2.4.2.jar:na] at akka.actor.RepointableActorRef.point(RepointableActorRef.scala:106)[akka-actor_2.11-2.4.2.jar:na] at akka.actor.ActorCell.handleSupervise(ActorCell.scala:624)[akka-actor_2.11-2.4.2.jar:na] at akka.actor.ActorCell.supervise(ActorCell.scala:616)[akka-actor_2.11-2.4.2.jar:na] at akka.actor.ActorCell.invokeAll$1(ActorCell.scala:468)[akka-actor_2.11-2.4.2.jar:na] at akka.actor.ActorCell.systemInvoke(ActorCell.scala:483)[akka-actor_2.11-2.4.2.jar:na] at akka.dispatch.Mailbox.processAllSystemMessages(Mailbox.scala:282)[akka-actor_2.11-2.4.2.jar:na] at akka.dispatch.Mailbox.run(Mailbox.scala:223)[akka-actor_2.11-2.4.2.jar:na] at akka.dispatch.Mailbox.exec(Mailbox.scala:234)[akka-actor_2.11-2.4.2.jar:na] at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)[scala-library-2.11.7.jar:na] at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)[scala-library-2.11.7.jar:na] at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)[scala-library-2.11.7.jar:na] at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)[scala-library-2.11.7.jar:na] Caused by: java.lang.NullPointerException: null at java.util.Arrays$ArrayList.size(Arrays.java:3818)[na:1.8.0_91] at java.util.AbstractList.add(AbstractList.java:108)[na:1.8.0_91] at com.esotericsoftware.kryo.serializers.CollectionSerializer.read(CollectionSerializer.java:127)[kryo-3.0.3.jar:na] at com.esotericsoftware.kryo.serializers.CollectionSerializer.read(CollectionSerializer.java:40)[kryo-3.0.3.jar:na] at com.esotericsoftware.kryo.Kryo.readObject(Kryo.java:708)[kryo-3.0.3.jar:na] at com.esotericsoftware.kryo.serializers.ObjectField.read(ObjectField.java:125)[kryo-3.0.3.jar:na] ... 26 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.