java.lang.IndexOutOfBoundsException: index: 21, length: 1 (expected: range(0, 21))

GitHub | normanmaurer | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    GitHub comment 5773#243501198

    GitHub | 8 months ago | normanmaurer
    java.lang.IndexOutOfBoundsException: index: 21, length: 1 (expected: range(0, 21))
  2. 0

    IndexOutOfBoundsException from CompositeByteBuf.forEachByteDesc

    GitHub | 8 months ago | npordash
    java.lang.IndexOutOfBoundsException: index: 21, length: 1 (expected: range(0, 21))

    Root Cause Analysis

    1. java.lang.IndexOutOfBoundsException

      index: 21, length: 1 (expected: range(0, 21))

      at io.netty.buffer.AbstractByteBuf.checkIndex0()
    2. Netty
      AbstractByteBuf.forEachByteDesc
      1. io.netty.buffer.AbstractByteBuf.checkIndex0(AbstractByteBuf.java:1359)
      2. io.netty.buffer.AbstractByteBuf.checkIndex(AbstractByteBuf.java:1354)
      3. io.netty.buffer.AbstractByteBuf.checkIndex(AbstractByteBuf.java:1349)
      4. io.netty.buffer.CompositeByteBuf.findComponent(CompositeByteBuf.java:1407)
      5. io.netty.buffer.CompositeByteBuf._getByte(CompositeByteBuf.java:751)
      6. io.netty.buffer.AbstractByteBuf.forEachByteDesc0(AbstractByteBuf.java:1297)
      7. io.netty.buffer.AbstractByteBuf.forEachByteDesc(AbstractByteBuf.java:1277)
      7 frames