io.netty.handler.codec.DecoderException: java.lang.IndexOutOfBoundsException: readerIndex(1040) + length(1) exceeds writerIndex(1040): PooledUnsafeDirectByteBuf(ridx: 1040, widx: 1040, cap: 8192)

GitHub | detig-iii | 8 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

    Can't join server

    GitHub | 8 months ago | detig-iii
    io.netty.handler.codec.DecoderException: java.lang.IndexOutOfBoundsException: readerIndex(1040) + length(1) exceeds writerIndex(1040): PooledUnsafeDirectByteBuf(ridx: 1040, widx: 1040, cap: 8192)
  2. 0

    spigot setSpectatortarget() kicks player to lobby

    GitHub | 1 year ago | jjacobson
    io.netty.handler.codec.DecoderException: java.lang.IndexOutOfBoundsException: readerIndex(0) + length(1) exceeds writerIndex(0): SlicedAbstractByteBuf(ridx: 0, widx: 0, cap: 0/0, unwrapped: PooledUnsafeDirectByteBuf(ridx: 2, widx: 2, cap: 64))
  3. 0

    server switch when talking in chat

    GitHub | 2 years ago | random1167
    io.netty.handler.codec.DecoderException: java.lang.IndexOutOfBoundsException: readerIndex(0) + length(1) exceeds writerIndex(0): UnpooledUnsafeDirectByteBuf(ridx: 0, widx: 0, cap: 0)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 1622#152098538

    GitHub | 2 years ago | kxjhwbb
    io.netty.handler.codec.DecoderException: java.lang.IndexOutOfBoundsException: readerIndex(1) + length(1) exceeds writerIndex(1): PooledUnsafeDirectByteBuf(ridx: 1, widx: 1, cap: 1)
  6. 0

    GitHub comment 1631#156183412

    GitHub | 2 years ago | kukubaczek
    io.netty.handler.codec.DecoderException: java.lang.IndexOutOfBoundsException: readerIndex(1) + length(1) exceeds writerIndex(1): PooledUnsafeDirectByteBuf(ridx: 1, widx: 1, cap: 1)

  1. tyson925 6 times, last 9 months ago
4 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

    readerIndex(1040) + length(1) exceeds writerIndex(1040): PooledUnsafeDirectByteBuf(ridx: 1040, widx: 1040, cap: 8192)

    at io.netty.buffer.AbstractByteBuf.checkReadableBytes0()
  2. Netty
    AbstractByteBuf.readByte
    1. io.netty.buffer.AbstractByteBuf.checkReadableBytes0(AbstractByteBuf.java:1179)
    2. io.netty.buffer.AbstractByteBuf.readByte(AbstractByteBuf.java:589)
    2 frames
  3. net.md_5.bungee
    MinecraftDecoder.decode
    1. net.md_5.bungee.protocol.DefinedPacket.readVarInt(DefinedPacket.java:108)
    2. net.md_5.bungee.protocol.DefinedPacket.readVarInt(DefinedPacket.java:98)
    3. net.md_5.bungee.protocol.DefinedPacket.readString(DefinedPacket.java:29)
    4. net.md_5.bungee.protocol.packet.PlayerListItem.read(PlayerListItem.java:38)
    5. net.md_5.bungee.protocol.MinecraftDecoder.decode(MinecraftDecoder.java:33)
    6. net.md_5.bungee.protocol.MinecraftDecoder.decode(MinecraftDecoder.java:10)
    6 frames
  4. Netty
    MessageToMessageDecoder.channelRead
    1. io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:88)
    1 frame