mojira.dev
MC-100972

/say @e[team=] on server leads to client exception

I tried /say @e[team=] in a repeating_command_block and instantly lost connection with following error message: Internal Exception: io.netty.handler.codec.DecoderException: java.lang.IndexOutOfBoundException: readerIndex(1) + length(1) exceeds writerIndex(1): UnpooledHeapByteBuf(ridx: 1, widx: 1, cap: 1). Everytime I try to reconnect, it connects and when it has downloaded the world, I get the same error again. I think this is because of the chat spam/overload, the command produces. There should be a message length limit, that does not just kick you, but say there would be to much output. Tested the same in single player, but worked fine, without any crash-like behavior, but with a lot of spam. I could not test on another server yet, but I don't think this is nessecary.

Environment

Windows 10.0 Pro x64, Java 1.8.0_25 x64, AMD FX-6300 (Six-Core, 3.76GHz), NVIDIA GTX 660 Ti, 12G Memory (8G for MC)

Linked issues

Comments 3

@unknown Awaiting Response? It must be resolved as Duplicate.

migrated

(Unassigned)

Unconfirmed

Minecraft 1.9.2

Retrieved