mojira.dev
MC-79426

Exception when chat message too long

When receiving a chat message that is too long (for example from 'say @e'), the connection closes with the following exception:
Internal Exception: io.netty.handler.codec.DecoderException: java.lang.IndexOutOfBoundsException: readerIndex(1) + length(1) exceeds writerIndex(1): UnpooledHeapByteBuf(ridx: 1, widx: 1, cap: 1)
The server-log contains the following exception:
io.netty.handler.codec.EncoderException: String too big (was 53129 bytes encoded, max 32767)

Linked issues

Comments 1

Thank you for your report.
However, your ticket has been resolved as a duplicate.

This issue has been linked to the original bugreport: MC-74450. You can find or add further information on that report.
Please search before reporting any bugs, as it's likely that one exists already.

...

(Unassigned)

Unconfirmed

Minecraft 1.8.3

Retrieved