
IndexOutOfBoundsException
Troyka33 opened this issue ยท 2 comments
Describe the bug
Kick from server with:
lost connection: Internal Exception: io.netty.handler.codec.DecoderException: java.lang.IndexOutOfBoundsException: readerIndex(0) + length(1) exceeds writerIndex(0): PooledUnsafeDirectByteBuf(ridx: 0, widx: 0, cap: 1)
To Reproduce
Steps to reproduce the behavior:
Enter server or change dimension. randomly
Minecraft version+mod loader
- Version: 1.21.8 Purpur 1.21.8-2491
- Modded: no
- Client/Server Server
Mod version: [e.g. 2.1.3-fabric]
emotecraft-paper-for-MC1.21.7-3.0.0-a.build.112
Minecraft log and crash report:
[you might use services like mclo.gs]
[03:50:57] [Server thread/INFO]: Rainbow94 lost connection: Internal Exception: io.netty.handler.codec.DecoderException: java.lang.IndexOutOfBoundsException: readerIndex(0) + length(1) exceeds writerIndex(0): PooledUnsafeDirectByteBuf(ridx: 0, widx: 0, cap: 1)
[03:50:57] [Server thread/INFO]: Rainbow94 left the game
client doesnt crash. only disconnect
Provide the full logs.
Also, make sure the client is running the latest version of Emotecraft.