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

GitHub | normanmaurer | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 5773#243501198

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

    IndexOutOfBoundsException from CompositeByteBuf.forEachByteDesc

    GitHub | 6 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