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

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 zedwick
, 1 year ago
java.lang.IndexOutOfBoundsException: readerIndex(14) + length(1) exceeds writerIndex(14): UnpooledHeapByteBuf(ridx: 14, widx: 14, cap: 14)
via GitHub by AkioKasai
, 1 year ago
java.lang.IndexOutOfBoundsException: readerIndex(3) + length(1) exceeds writerIndex(3): UnpooledHeapByteBuf(ridx: 3, widx: 3, cap: 3)
via GitHub by PFCKrutonium
, 1 year ago
java.io.IOException: Packet 0/1 (SPacketSpawnExperienceOrb) was larger than I expected, found 222826 bytes extra whilst reading packet 1
via GitHub by L4BORG
, 1 year ago
java.lang.IndexOutOfBoundsException: readerIndex(10) + length(89) exceeds writerIndex(94): UnpooledHeapByteBuf(ridx: 10, widx: 94, cap: 128)
via GitHub by alekso56
, 1 year ago
java.lang.IndexOutOfBoundsException: readerIndex(3) + length(80) exceeds writerIndex(14): UnpooledHeapByteBuf(ridx: 3, widx: 14, cap: 14)
via GitHub by tonybruess
, 1 year ago
java.lang.IndexOutOfBoundsException: readerIndex(3) + length(8) exceeds writerIndex(8): UnpooledHeapByteBuf(ridx: 3, widx: 8, cap: 8)
java.lang.IndexOutOfBoundsException: readerIndex(14) + length(1) exceeds writerIndex(14): UnpooledHeapByteBuf(ridx: 14, widx: 14, cap: 14)
at io.netty.buffer.AbstractByteBuf.checkReadableBytes(AbstractByteBuf.java:1175)
at io.netty.buffer.AbstractByteBuf.readByte(AbstractByteBuf.java:570)
at net.minecraft.network.datasync.DataSerializers$1.func_187159_a(SourceFile:28)
at net.minecraft.network.datasync.DataSerializers$1.func_187159_a(SourceFile:20)
at net.minecraft.network.datasync.EntityDataManager.func_187215_b(SourceFile:229)
at net.minecraft.network.play.server.SPacketEntityMetadata.func_148837_a(SourceFile:30)
at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:249)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:149)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:163)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:163)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)
at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)
at io.netty.handler.timeout.ReadTimeoutHandler.channelRead(ReadTimeoutHandler.java:150)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:787)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:130)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354)
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

40 times, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 5 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago

Write tip

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