java.lang.IndexOutOfBoundsException: index: 4096, length: 1664221440 (expected: range(0, 45014))

GitHub | jprellberg | 4 months ago
  1. 0

    Possible network corruption issue

    GitHub | 4 months ago | jprellberg
    java.lang.IndexOutOfBoundsException: index: 4096, length: 1664221440 (expected: range(0, 45014))
  2. 0

    Some requests fail

    GitHub | 2 years ago | msoute
    java.lang.IndexOutOfBoundsException: index: 0, length: 1330 (expected: range(0, 1024))
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Handle reading from multiple clients(ports) in netty

    Stack Overflow | 1 month ago | Kaleb Blue
    java.lang.IndexOutOfBoundsException: index: 64, length: 1 (expected: range(0, 64))
  5. 0

    Registering mock client fails with DEBUG logging on

    GitHub | 6 months ago | StuSchrader
    java.lang.IndexOutOfBoundsException: index: 16, length: 16 (expected: range(0, 16))

    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: 4096, length: 1664221440 (expected: range(0, 45014))

      at io.netty.buffer.AbstractByteBuf.checkIndex0()
    2. Netty
      AbstractByteBuf.readSlice
      1. io.netty.buffer.AbstractByteBuf.checkIndex0(AbstractByteBuf.java:1142)[netty-all-4.0.36.Final.jar:4.0.36.Final]
      2. io.netty.buffer.SlicedByteBuf.slice(SlicedByteBuf.java:155)[netty-all-4.0.36.Final.jar:4.0.36.Final]
      3. io.netty.buffer.AbstractByteBuf.readSlice(AbstractByteBuf.java:686)[netty-all-4.0.36.Final.jar:4.0.36.Final]
      3 frames
    3. org.apache.cassandra
      Message$ProtocolDecoder.decode
      1. org.apache.cassandra.transport.CBUtil.readBoundValue(CBUtil.java:405)[apache-cassandra-3.7.jar:3.7]
      2. org.apache.cassandra.transport.CBUtil.readValueList(CBUtil.java:462)[apache-cassandra-3.7.jar:3.7]
      3. org.apache.cassandra.transport.messages.BatchMessage$1.decode(BatchMessage.java:61)[apache-cassandra-3.7.jar:3.7]
      4. org.apache.cassandra.transport.messages.BatchMessage$1.decode(BatchMessage.java:45)[apache-cassandra-3.7.jar:3.7]
      5. org.apache.cassandra.transport.Message$ProtocolDecoder.decode(Message.java:280)[apache-cassandra-3.7.jar:3.7]
      6. org.apache.cassandra.transport.Message$ProtocolDecoder.decode(Message.java:261)[apache-cassandra-3.7.jar:3.7]
      6 frames
    4. Netty
      DefaultThreadFactory$DefaultRunnableDecorator.run
      1. io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:89)[netty-all-4.0.36.Final.jar:4.0.36.Final]
      2. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:292)[netty-all-4.0.36.Final.jar:4.0.36.Final]
      3. io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:278)[netty-all-4.0.36.Final.jar:4.0.36.Final]
      4. io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)[netty-all-4.0.36.Final.jar:4.0.36.Final]
      5. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:292)[netty-all-4.0.36.Final.jar:4.0.36.Final]
      6. io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:278)[netty-all-4.0.36.Final.jar:4.0.36.Final]
      7. io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:277)[netty-all-4.0.36.Final.jar:4.0.36.Final]
      8. io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:372)[netty-all-4.0.36.Final.jar:4.0.36.Final]
      9. io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:245)[netty-all-4.0.36.Final.jar:4.0.36.Final]
      10. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:292)[netty-all-4.0.36.Final.jar:4.0.36.Final]
      11. io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:278)[netty-all-4.0.36.Final.jar:4.0.36.Final]
      12. io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:962)[netty-all-4.0.36.Final.jar:4.0.36.Final]
      13. io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:879)[netty-all-4.0.36.Final.jar:4.0.36.Final]
      14. io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:360)[netty-all-4.0.36.Final.jar:4.0.36.Final]
      15. io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:276)[netty-all-4.0.36.Final.jar:4.0.36.Final]
      16. io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112)[netty-all-4.0.36.Final.jar:4.0.36.Final]
      17. io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)[netty-all-4.0.36.Final.jar:4.0.36.Final]
      17 frames
    5. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)[na:1.8.0_91]
      1 frame