io.netty.handler.codec.DecoderException: java.lang.IndexOutOfBoundsException: readerIndex(96) + length(1) exceeds writerIndex(96): SlicedAbstractByteBuf(ridx: 96, widx: 96, cap: 96/96, unwrapped: UnpooledUnsafeDirectByteBuf(ridx: 100, widx: 100, cap: 65536))
Searched on Google with the first line of a JAVA stack trace?
We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.
Recommended solutions based on your search
Solutions on the web
via GitHub by slfritchie
, 1 year agovia Stack Overflow by Avivc
, 1 year agovia rune-server.org by Unknown author, 2 years ago
via Stack Overflow by Ben Beri
, 2 years agovia GitHub by AgentTroll
, 8 months agovia GitHub by breml
, 7 months agojava.lang.IndexOutOfBoundsException: readerIndex(96) + length(1) exceeds writerIndex(96): SlicedAbstractByteBuf(ridx: 96, widx: 96, cap: 96/96, unwrapped: UnpooledUnsafeDirectByteBuf(ridx: 100, widx: 100, cap: 65536))
at io.netty.buffer.AbstractByteBuf.checkReadableBytes0(AbstractByteBuf.java:1178)
at io.netty.buffer.AbstractByteBuf.readByte(AbstractByteBuf.java:587)
at org.corfudb.protocols.wireprotocol.LogUnitReadResponseMsg.fromBuffer(LogUnitReadResponseMsg.java:150)
at org.corfudb.protocols.wireprotocol.CorfuMsg.deserialize(CorfuMsg.java:166)
at org.corfudb.protocols.wireprotocol.NettyCorfuMessageDecoder.decode(NettyCorfuMessageDecoder.java:20)
at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:387)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:245)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:292)
at io.netty.channel.AbstractChannelHandlerContext.access$600(AbstractChannelHandlerContext.java:32)
at io.netty.channel.AbstractChannelHandlerContext$7.run(AbstractChannelHandlerContext.java:283)
at io.netty.util.concurrent.DefaultEventExecutor.run(DefaultEventExecutor.java:36)
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112)
at java.lang.Thread.run(Thread.java:745)