io.netty.handler.codec.DecoderException: java.lang.IndexOutOfBoundsException: readerIndex(3) + length(68) exceeds writerIndex(18): PooledUnsafeDirectByteBuf(ridx: 3, widx: 18, cap: 18)

GitHub | mibby | 5 months ago
  1. 0

    IndexOutOfBoundsException: readerIndex(3) + length(68) exceeds writerIndex(18): PooledUnsafeDirectByteBuf(ridx: 3, widx: 18, cap: 18)

    GitHub | 5 months ago | mibby
    io.netty.handler.codec.DecoderException: java.lang.IndexOutOfBoundsException: readerIndex(3) + length(68) exceeds writerIndex(18): PooledUnsafeDirectByteBuf(ridx: 3, widx: 18, cap: 18)
  2. 0

    Legacy ping support incomplete

    GitHub | 2 years ago | tonybruess
    io.netty.handler.codec.DecoderException: java.lang.IndexOutOfBoundsException: readerIndex(3) + length(8) exceeds writerIndex(8): UnpooledHeapByteBuf(ridx: 3, widx: 8, cap: 8)
  3. 0

    io.netty.handler.codec.DecoderException: java.lang.IndexOutOfBoundsException: readerIndex(3) + length(97) exceeds writerIndex(14): PooledUnsafeDirectByteBuf(ridx: 3, widx: 14, cap: 14)

    GitHub | 1 year ago | JamesHooks90
    io.netty.handler.codec.DecoderException: java.lang.IndexOutOfBoundsException: readerIndex(3) + length(97) exceeds writerIndex(14): PooledUnsafeDirectByteBuf(ridx: 3, widx: 14, cap: 14)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 27#181206092

    GitHub | 10 months ago | L4BORG
    io.netty.handler.codec.DecoderException: java.lang.IndexOutOfBoundsException: readerIndex(4) + length(1216) exceeds writerIndex(20): PooledUnsafeDirectByteBuf(ridx: 4, widx: 20, cap: 20)
  6. 0

    BungeeCord Error (Build #809)

    GitHub | 3 years ago | Eioz
    io.netty.handler.codec.DecoderException: java.lang.IndexOutOfBoundsException: readerIndex(6) + length(16642) exceeds writerIndex(14): UnpooledHeapByteBuf(ridx: 6, widx: 14, cap: 14)

    2 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(3) + length(68) exceeds writerIndex(18): PooledUnsafeDirectByteBuf(ridx: 3, widx: 18, cap: 18)

      at io.netty.buffer.AbstractByteBuf.checkReadableBytes0()
    2. Netty
      AbstractByteBuf.readBytes
      1. io.netty.buffer.AbstractByteBuf.checkReadableBytes0(AbstractByteBuf.java:1178)
      2. io.netty.buffer.AbstractByteBuf.checkReadableBytes(AbstractByteBuf.java:1172)
      3. io.netty.buffer.AbstractByteBuf.readBytes(AbstractByteBuf.java:693)
      4. io.netty.buffer.AbstractByteBuf.readBytes(AbstractByteBuf.java:701)
      4 frames
    3. net.md_5.bungee
      MinecraftDecoder.decode
      1. net.md_5.bungee.protocol.DefinedPacket.readString(DefinedPacket.java:36)
      2. net.md_5.bungee.protocol.packet.Handshake.read(Handshake.java:27)
      3. net.md_5.bungee.protocol.DefinedPacket.read(DefinedPacket.java:185)
      4. net.md_5.bungee.protocol.MinecraftDecoder.decode(MinecraftDecoder.java:33)
      5. net.md_5.bungee.protocol.MinecraftDecoder.decode(MinecraftDecoder.java:10)
      5 frames
    4. Netty
      DefaultChannelPipeline.remove
      1. io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:89)
      2. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:318)
      3. io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:304)
      4. io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:276)
      5. io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:263)
      6. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:318)
      7. io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:304)
      8. io.netty.handler.codec.ByteToMessageDecoder.handlerRemoved(ByteToMessageDecoder.java:216)
      9. io.netty.channel.DefaultChannelPipeline.callHandlerRemoved0(DefaultChannelPipeline.java:527)
      10. io.netty.channel.DefaultChannelPipeline.callHandlerRemoved(DefaultChannelPipeline.java:521)
      11. io.netty.channel.DefaultChannelPipeline.remove0(DefaultChannelPipeline.java:351)
      12. io.netty.channel.DefaultChannelPipeline.remove(DefaultChannelPipeline.java:322)
      13. io.netty.channel.DefaultChannelPipeline.remove(DefaultChannelPipeline.java:299)
      13 frames
    5. net.md_5.bungee
      LegacyDecoder.decode
      1. net.md_5.bungee.protocol.LegacyDecoder.decode(LegacyDecoder.java:37)
      1 frame
    6. Netty
      SingleThreadEventExecutor$2.run
      1. io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:360)
      2. io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:244)
      3. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:318)
      4. io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:304)
      5. io.netty.handler.timeout.ReadTimeoutHandler.channelRead(ReadTimeoutHandler.java:152)
      6. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:318)
      7. io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:304)
      8. io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:846)
      9. io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:823)
      10. io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:339)
      11. io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:255)
      12. io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112)
      12 frames
    7. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame