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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by slfritchie
, 1 year ago
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))
via Stack Overflow by Avivc
, 1 year ago
com.datastax.driver.core.exceptions.DriverInternalError: Adjusted frame length exceeds 268435456: 326843398 - discarded
via rune-server.org by Unknown author, 1 year ago
java.lang.IndexOutOfBoundsException: readerIndex(171) + length(1) exceeds writerIndex(171): UnpooledUnsafeDirectByteBuf(ridx: 171, widx: 171, cap: 1024)
via Stack Overflow by Ben Beri
, 1 year ago
java.lang.IndexOutOfBoundsException: readerIndex(24) + length(2) exceeds writerIndex(25): UnpooledUnsafeDirectByteBuf(ridx: 24, widx: 25, cap: 1024)
via GitHub by AgentTroll
, 3 months ago
java.lang.IndexOutOfBoundsException: readerIndex(222) + length(8) exceeds writerIndex(224): PooledUnsafeDirectByteBuf(ridx: 222, widx: 224, cap: 224)
via GitHub by breml
, 2 months ago
java.lang.IndexOutOfBoundsException: index: 0, length: 2378 (expected: range(0, 1605))
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))
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)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
6 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 3 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.