com.esotericsoftware.kryo.KryoException: java.lang.ArrayIndexOutOfBoundsException: -1756380248 Serialization trace: topic (org.onosproject.cluster.Leadership) subject (org.onosproject.cluster.LeadershipEvent)

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • This exception was seen on 6 of 7 ONOS nodes in a cluster. I have not been able to reproduce this. 2015-01-08 14:26:24,853 | ERROR | nce_1_HA.event-3 | EventServiceImpl | 52 - com.hazelcast - 3.3.2 | [10.128.30.17]:5701 [HA] [3.3.2] hz._hzInstance_1_HA.event-3 caught an exception while processing task:EventPacketProcessor{eventPacket=null} com.esotericsoftware.kryo.KryoException: java.lang.ArrayIndexOutOfBoundsException: -1756380248 Serialization trace: topic (org.onosproject.cluster.Leadership) subject (org.onosproject.cluster.LeadershipEvent) at com.esotericsoftware.kryo.serializers.ObjectField.read(ObjectField.java:125)[56:com.esotericsoftware.kryo:3.0.0] at com.esotericsoftware.kryo.serializers.FieldSerializer.read(FieldSerializer.java:528)[56:com.esotericsoftware.kryo:3.0.0] at com.esotericsoftware.kryo.Kryo.readObject(Kryo.java:704)[56:com.esotericsoftware.kryo:3.0.0] at com.esotericsoftware.kryo.serializers.ObjectField.read(ObjectField.java:106)[56:com.esotericsoftware.kryo:3.0.0] at com.esotericsoftware.kryo.serializers.FieldSerializer.read(FieldSerializer.java:528)[56:com.esotericsoftware.kryo:3.0.0] at com.esotericsoftware.kryo.Kryo.readClassAndObject(Kryo.java:786)[56:com.esotericsoftware.kryo:3.0.0] at org.onlab.util.KryoNamespace.deserialize(KryoNamespace.java:303)[69:org.onosproject.onlab-misc:1.1.0.SNAPSHOT] at org.onosproject.store.serializers.KryoSerializer.decode(KryoSerializer.java:57)[156:org.onosproject.onos-core-serializers:1.1.0.SNAPSHOT] at org.onosproject.store.cluster.impl.HazelcastLeadershipService.onMessage(HazelcastLeadershipService.java:197)[155:org.onosproject.onos-core-dist:1.1.0.SNAPSHOT] at com.hazelcast.topic.impl.TopicService.dispatchEvent(TopicService.java:135)[52:com.hazelcast:3.3.2] at com.hazelcast.spi.impl.EventServiceImpl$EventPacketProcessor.process(EventServiceImpl.java:537)[52:com.hazelcast:3.3.2] at com.hazelcast.spi.impl.EventServiceImpl$RemoteEventPacketProcessor.run(EventServiceImpl.java:617)[52:com.hazelcast:3.3.2] at com.hazelcast.util.executor.StripedExecutor$Worker.process(StripedExecutor.java:189)[52:com.hazelcast:3.3.2] at com.hazelcast.util.executor.StripedExecutor$Worker.run(StripedExecutor.java:173)[52:com.hazelcast:3.3.2] Caused by: java.lang.ArrayIndexOutOfBoundsException: -1756380248 at java.util.ArrayList.elementData(ArrayList.java:418)[:1.8.0_25] at java.util.ArrayList.get(ArrayList.java:431)[:1.8.0_25] at com.esotericsoftware.kryo.util.MapReferenceResolver.getReadObject(MapReferenceResolver.java:42)[56:com.esotericsoftware.kryo:3.0.0] at com.esotericsoftware.kryo.Kryo.readReferenceOrNull(Kryo.java:830)[56:com.esotericsoftware.kryo:3.0.0] at com.esotericsoftware.kryo.Kryo.readObjectOrNull(Kryo.java:753)[56:com.esotericsoftware.kryo:3.0.0] at com.esotericsoftware.kryo.serializers.ObjectField.read(ObjectField.java:113)[56:com.esotericsoftware.kryo:3.0.0] ... 13 more
    via by Jon Hall,
  • This exception was seen on 6 of 7 ONOS nodes in a cluster. I have not been able to reproduce this. 2015-01-08 14:26:24,853 | ERROR | nce_1_HA.event-3 | EventServiceImpl | 52 - com.hazelcast - 3.3.2 | [10.128.30.17]:5701 [HA] [3.3.2] hz._hzInstance_1_HA.event-3 caught an exception while processing task:EventPacketProcessor{eventPacket=null} com.esotericsoftware.kryo.KryoException: java.lang.ArrayIndexOutOfBoundsException: -1756380248 Serialization trace: topic (org.onosproject.cluster.Leadership) subject (org.onosproject.cluster.LeadershipEvent) at com.esotericsoftware.kryo.serializers.ObjectField.read(ObjectField.java:125)[56:com.esotericsoftware.kryo:3.0.0] at com.esotericsoftware.kryo.serializers.FieldSerializer.read(FieldSerializer.java:528)[56:com.esotericsoftware.kryo:3.0.0] at com.esotericsoftware.kryo.Kryo.readObject(Kryo.java:704)[56:com.esotericsoftware.kryo:3.0.0] at com.esotericsoftware.kryo.serializers.ObjectField.read(ObjectField.java:106)[56:com.esotericsoftware.kryo:3.0.0] at com.esotericsoftware.kryo.serializers.FieldSerializer.read(FieldSerializer.java:528)[56:com.esotericsoftware.kryo:3.0.0] at com.esotericsoftware.kryo.Kryo.readClassAndObject(Kryo.java:786)[56:com.esotericsoftware.kryo:3.0.0] at org.onlab.util.KryoNamespace.deserialize(KryoNamespace.java:303)[69:org.onosproject.onlab-misc:1.1.0.SNAPSHOT] at org.onosproject.store.serializers.KryoSerializer.decode(KryoSerializer.java:57)[156:org.onosproject.onos-core-serializers:1.1.0.SNAPSHOT] at org.onosproject.store.cluster.impl.HazelcastLeadershipService.onMessage(HazelcastLeadershipService.java:197)[155:org.onosproject.onos-core-dist:1.1.0.SNAPSHOT] at com.hazelcast.topic.impl.TopicService.dispatchEvent(TopicService.java:135)[52:com.hazelcast:3.3.2] at com.hazelcast.spi.impl.EventServiceImpl$EventPacketProcessor.process(EventServiceImpl.java:537)[52:com.hazelcast:3.3.2] at com.hazelcast.spi.impl.EventServiceImpl$RemoteEventPacketProcessor.run(EventServiceImpl.java:617)[52:com.hazelcast:3.3.2] at com.hazelcast.util.executor.StripedExecutor$Worker.process(StripedExecutor.java:189)[52:com.hazelcast:3.3.2] at com.hazelcast.util.executor.StripedExecutor$Worker.run(StripedExecutor.java:173)[52:com.hazelcast:3.3.2] Caused by: java.lang.ArrayIndexOutOfBoundsException: -1756380248 at java.util.ArrayList.elementData(ArrayList.java:418)[:1.8.0_25] at java.util.ArrayList.get(ArrayList.java:431)[:1.8.0_25] at com.esotericsoftware.kryo.util.MapReferenceResolver.getReadObject(MapReferenceResolver.java:42)[56:com.esotericsoftware.kryo:3.0.0] at com.esotericsoftware.kryo.Kryo.readReferenceOrNull(Kryo.java:830)[56:com.esotericsoftware.kryo:3.0.0] at com.esotericsoftware.kryo.Kryo.readObjectOrNull(Kryo.java:753)[56:com.esotericsoftware.kryo:3.0.0] at com.esotericsoftware.kryo.serializers.ObjectField.read(ObjectField.java:113)[56:com.esotericsoftware.kryo:3.0.0] ... 13 more
    via by Jon Hall,
  • Kryo NPE deserializing array
    via by Simone Franzini,
  • Issue with deserialization of ImmutableMap
    via by Nandaja A,
    • com.esotericsoftware.kryo.KryoException: java.lang.ArrayIndexOutOfBoundsException: -1756380248 Serialization trace: topic (org.onosproject.cluster.Leadership) subject (org.onosproject.cluster.LeadershipEvent) at com.esotericsoftware.kryo.serializers.ObjectField.read(ObjectField.java:125)[56:com.esotericsoftware.kryo:3.0.0] at com.esotericsoftware.kryo.serializers.FieldSerializer.read(FieldSerializer.java:528)[56:com.esotericsoftware.kryo:3.0.0] at com.esotericsoftware.kryo.Kryo.readObject(Kryo.java:704)[56:com.esotericsoftware.kryo:3.0.0] at com.esotericsoftware.kryo.serializers.ObjectField.read(ObjectField.java:106)[56:com.esotericsoftware.kryo:3.0.0]

    Users with the same issue

    Alexandru Popa
    Alexandru Popa3 times, last one,
    Agócs Tamás
    Agócs Tamás396 times, last one,
    Unknown visitor1 times, last one,