java.lang.IndexOutOfBoundsException: Index: 99, Size: 0

nabble.com | 2 months ago
  1. 0

    Encountered unregistered class ID

    GitHub | 2 years ago | nik9000
    io.netty.handler.codec.DecoderException: com.tinkerpop.gremlin.driver.ser.SerializationException: java.lang.IndexOutOfBoundsException: Index: 117, Size: 0
  2. 0

    [FLINK-2800] kryo serialization problem - ASF JIRA

    apache.org | 1 year ago
    java.lang.IndexOutOfBoundsException: Index: 98, Size: 73
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Check serialization method

    Stack Overflow | 11 months ago | Aslan986
    java.io.IOException: Thread 'SortMerger Reading Thread' terminated due to an exception: Serializer consumed more bytes than the record had. This indicates broken serialization. If you are using custom serialization types (Value or Writable), check their serialization methods. If you are using a Kryo-serialized type, check the corresponding Kryo serializer.
  5. 0

    Performing a cross of two dataset of POJOs I have got the exception below. The first time I run the process, there was no problem. When I run it the second time, I have got the exception. My guess is that it could be a race condition related to the reuse of the Kryo serializer object. However, it could also be "a bug where type registrations are not properly forwarded to all Serializers", as suggested by Stephan. ------------------------------------------------------------------------ 2015-10-01 18:18:21 INFO JobClient:161 - 10/01/2015 18:18:21 Cross(Cross at main(FlinkMongoHadoop2LinkPOI2CDA.java:160))(3/4) switched to FAILED com.esotericsoftware.kryo.KryoException: Encountered unregistered class ID: 114 at com.esotericsoftware.kryo.util.DefaultClassResolver.readClass(DefaultClassResolver.java:119) at com.esotericsoftware.kryo.Kryo.readClass(Kryo.java:641) at com.esotericsoftware.kryo.Kryo.readClassAndObject(Kryo.java:752) at org.apache.flink.api.java.typeutils.runtime.kryo.KryoSerializer.deserialize(KryoSerializer.java:210) at org.apache.flink.api.java.typeutils.runtime.TupleSerializer.deserialize(TupleSerializer.java:127) at org.apache.flink.api.java.typeutils.runtime.TupleSerializer.deserialize(TupleSerializer.java:30) at org.apache.flink.runtime.operators.resettable.AbstractBlockResettableIterator.getNextRecord(AbstractBlockResettableIterator.java:180) at org.apache.flink.runtime.operators.resettable.BlockResettableMutableObjectIterator.next(BlockResettableMutableObjectIterator.java:111) at org.apache.flink.runtime.operators.CrossDriver.runBlockedOuterSecond(CrossDriver.java:309) at org.apache.flink.runtime.operators.CrossDriver.run(CrossDriver.java:162) at org.apache.flink.runtime.operators.RegularPactTask.run(RegularPactTask.java:489) at org.apache.flink.runtime.operators.RegularPactTask.invoke(RegularPactTask.java:354) at org.apache.flink.runtime.taskmanager.Task.run(Task.java:581) at java.lang.Thread.run(Thread.java:745)

    Apache's JIRA Issue Tracker | 1 year ago | Stefano Bortoli
    java.lang.IndexOutOfBoundsException: Index: 98, Size: 73

  1. filpgame 1 times, last 1 week ago
  2. Aria Pahlavan 6 times, last 1 week ago
  3. bmacedo 4 times, last 1 week ago
  4. MoYapro 5 times, last 2 weeks ago
  5. Alexandru Popa 12 times, last 2 weeks ago
63 more registered users
32 unregistered visitors
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.IndexOutOfBoundsException

    Index: 99, Size: 0

    at java.util.ArrayList.rangeCheck()
  2. Java RT
    ArrayList.get
    1. java.util.ArrayList.rangeCheck(ArrayList.java:653)[na:1.8.0_73]
    2. java.util.ArrayList.get(ArrayList.java:429)[na:1.8.0_73]
    2 frames
  3. Kryo
    Kryo.readClassAndObject
    1. com.esotericsoftware.kryo.util.MapReferenceResolver.getReadObject(MapReferenceResolver.java:42)[kryo-2.24.0.jar:na]
    2. com.esotericsoftware.kryo.Kryo.readReferenceOrNull(Kryo.java:805)[kryo-2.24.0.jar:na]
    3. com.esotericsoftware.kryo.Kryo.readClassAndObject(Kryo.java:759)[kryo-2.24.0.jar:na]
    3 frames
  4. org.apache.flink
    DataStreamIterator.hasNext
    1. org.apache.flink.api.java.typeutils.runtime.kryo.KryoSerializer.deserialize(KryoSerializer.java:228)[flink-core-1.0.3.jar:1.0.3]
    2. org.apache.flink.contrib.streaming.DataStreamIterator.readNextFromStream(DataStreamIterator.java:108)[flink-streaming-contrib-0.10.2.jar:0.10.2]
    3. org.apache.flink.contrib.streaming.DataStreamIterator.hasNext(DataStreamIterator.java:78)[flink-streaming-contrib-0.10.2.jar:0.10.2]
    3 frames
  5. com.example.controllers
    MiningModelController$$FastClassBySpringCGLIB$$d468bf0d.invoke
    1. com.example.controllers.MiningModelController.viewResults(MiningModelController.java:559)[classes/:na]
    2. com.example.controllers.MiningModelController$$FastClassBySpringCGLIB$$d468bf0d.invoke(<generated>)[classes/:na]
    2 frames
  6. Spring Core
    MethodProxy.invoke
    1. org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)[spring-core-4.2.5.RELEASE.jar:4.2.5.RELEASE]
    1 frame
  7. Spring AOP
    CglibAopProxy$DynamicAdvisedInterceptor.intercept
    1. org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:651)[spring-aop-4.2.5.RELEASE.jar:4.2.5.RELEASE]
    1 frame
  8. com.example.controllers
    MiningModelController$$EnhancerBySpringCGLIB$$de7f687c.viewResults
    1. com.example.controllers.MiningModelController$$EnhancerBySpringCGLIB$$de7f687c.viewResults(<generated>)[classes/:na]
    1 frame
  9. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_73]
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_73]
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_73]
    4. java.lang.reflect.Method.invoke(Method.java:497)[na:1.8.0_73]
    4 frames
  10. Spring
    InvocableHandlerMethod.doInvoke
    1. org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:221)[spring-web-4.2.5.RELEASE.jar:4.2.5.RELEASE]
    1 frame