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

JIRA | Jon Hall | 2 years ago
  1. 0

    [ONOS-577] java.lang.ArrayIndexOutOfBoundsException during Hazelcast event processing - Jira

    onosproject.org | 1 year ago
    com.esotericsoftware.kryo.KryoException: java.lang.ArrayIndexOutOfBoundsException: -1756380248 Serialization trace: topic (org.onosproject.cluster.Leadership) subject (org.onosproject.cluster.LeadershipEvent)
  2. 0

    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

    JIRA | 2 years ago | Jon Hall
    com.esotericsoftware.kryo.KryoException: java.lang.ArrayIndexOutOfBoundsException: -1756380248 Serialization trace: topic (org.onosproject.cluster.Leadership) subject (org.onosproject.cluster.LeadershipEvent)
  3. 0

    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

    JIRA | 2 years ago | Jon Hall
    com.esotericsoftware.kryo.KryoException: java.lang.ArrayIndexOutOfBoundsException: -1756380248 Serialization trace: topic (org.onosproject.cluster.Leadership) subject (org.onosproject.cluster.LeadershipEvent)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Kryo NPE deserializing array

    Google Groups | 2 years ago | Simone Franzini
    com.esotericsoftware.kryo.KryoException: java.lang.NullPointerException Serialization trace: underlying (scala.collection.convert.Wrappers$JListWrapper) myArrayField (MyCaseClass)
  6. 0

    Problem deserializing large object

    Google Groups | 2 years ago | Samuel Gross
    com.esotericsoftware.kryo.KryoException: Buffer underflow. Serialization trace: referenceTable (com.google.cloud.genomics.denovo.ReferenceIndex)

  1. Alexandru Popa 3 times, last 4 weeks ago
  2. Agócs Tamás 396 times, last 5 months ago
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. 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()
  2. Kryo
    ObjectField.read
    1. com.esotericsoftware.kryo.serializers.ObjectField.read(ObjectField.java:125)[56:com.esotericsoftware.kryo:3.0.0]
    2. com.esotericsoftware.kryo.serializers.FieldSerializer.read(FieldSerializer.java:528)[56:com.esotericsoftware.kryo:3.0.0]
    3. com.esotericsoftware.kryo.Kryo.readObject(Kryo.java:704)[56:com.esotericsoftware.kryo:3.0.0]
    4. com.esotericsoftware.kryo.serializers.ObjectField.read(ObjectField.java:106)[56:com.esotericsoftware.kryo:3.0.0]
    4 frames