java.lang.IndexOutOfBoundsException: readerIndex(0) + length(10) exceeds writerIndex(4): CompositeByteBuf(ridx: 0, widx: 4, cap: 4, components=1)

GitHub | wuxingzhong | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    The same client sometimes appear : Error during data processing. why?

    GitHub | 7 months ago | wuxingzhong
    java.lang.IndexOutOfBoundsException: readerIndex(0) + length(10) exceeds writerIndex(4): CompositeByteBuf(ridx: 0, widx: 4, cap: 4, components=1)
  2. 0

    Client disconnecting when using Polling - IndexOutOfBoundsException

    GitHub | 10 months ago | Kenvelo90
    java.lang.IndexOutOfBoundsException: readerIndex(0) + length(10) exceeds writerIndex(4): CompositeByteBuf(ridx: 0, widx: 4, cap: 4, components=1)
  3. 0

    IndexOutOfBoundsException

    GitHub | 1 year ago | evgeny-pasynkov
    java.lang.IndexOutOfBoundsException: readerIndex(0) + length(10) exceeds writerIndex(4): CompositeByteBuf(ridx: 0, widx: 4, cap: 4, components=1)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IndexOutOfBoundsException

      readerIndex(0) + length(10) exceeds writerIndex(4): CompositeByteBuf(ridx: 0, widx: 4, cap: 4, components=1)

      at io.netty.buffer.AbstractByteBuf.checkReadableBytes0()
    2. Netty
      AbstractByteBuf.bytesBefore
      1. io.netty.buffer.AbstractByteBuf.checkReadableBytes0(AbstractByteBuf.java:1346)
      2. io.netty.buffer.AbstractByteBuf.checkReadableBytes(AbstractByteBuf.java:1340)
      3. io.netty.buffer.AbstractByteBuf.bytesBefore(AbstractByteBuf.java:1161)
      3 frames
    3. NettySocketIO
      InPacketHandler.channelRead0
      1. com.corundumstudio.socketio.protocol.PacketDecoder.decodePackets(PacketDecoder.java:122)
      2. com.corundumstudio.socketio.handler.InPacketHandler.channelRead0(InPacketHandler.java:65)
      3. com.corundumstudio.socketio.handler.InPacketHandler.channelRead0(InPacketHandler.java:36)
      3 frames
    4. Netty
      AbstractChannelHandlerContext.invokeChannelRead
      1. io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105)
      2. io.netty.channel.ChannelHandlerInvokerUtil.invokeChannelReadNow(ChannelHandlerInvokerUtil.java:83)
      3. io.netty.channel.DefaultChannelHandlerInvoker.invokeChannelRead(DefaultChannelHandlerInvoker.java:154)
      4. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:354)
      5. io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:145)
      6. io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)
      7. io.netty.handler.codec.MessageToMessageCodec.channelRead(MessageToMessageCodec.java:111)
      8. io.netty.channel.ChannelHandlerInvokerUtil.invokeChannelReadNow(ChannelHandlerInvokerUtil.java:83)
      9. io.netty.channel.DefaultChannelHandlerInvoker.invokeChannelRead(DefaultChannelHandlerInvoker.java:154)
      10. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:354)
      10 frames