ChatUI
ChatUI copied to clipboard
Being kicked because of too long message
Sometimes, i'm being kicked because of chat message is too long. I don't know, how to 100% reproduce this. This 100% happens, when you try to execute some command. This may happen after tabcomplete or sponge pagination system interaction. Feels like some buffer overflowed because of previous messages. Version: Chat UI 2.0.0
[04:24:04] [Server thread/INFO] [nucleus]: Xakep_SDK ran the command: /cf
[04:24:11] [Server thread/INFO] [nucleus]: Xakep_SDK ran the command: /pagination 9166a5df-1419-40c9-8459-38a8d0976dd4 next
[04:24:18] [Server thread/INFO] [nucleus]: Xakep_SDK ran the command: /pagination 9166a5df-1419-40c9-8459-38a8d0976dd4 next
[04:24:20] [Server thread/INFO] [nucleus]: Xakep_SDK ran the command: /pagination 9166a5df-1419-40c9-8459-38a8d0976dd4 prev
[04:24:23] [Server thread/INFO] [nucleus]: Xakep_SDK ran the command: /sponge:callback 4d9ec80f-06df-43f8-a477-c6d0be3e056d
[04:24:43] [Server thread/INFO] [nucleus]: Xakep_SDK ran the command: /pagination 1c3c39b7-890f-492a-9c5e-3dcc9d33e39d next
[04:24:54] [Server thread/INFO] [nucleus]: Xakep_SDK ran the command: /cf explosion any false
[04:24:54] [Netty Epoll Server IO #5/ERROR] [FML]: NetworkDispatcher exception
io.netty.handler.codec.EncoderException: String too big (was 71248 bytes encoded, max 32767)
at net.minecraft.network.PacketBuffer.writeString(PacketBuffer.java:400) ~[gy.class:?]
at net.minecraft.network.PacketBuffer.writeTextComponent(PacketBuffer.java:181) ~[gy.class:?]
at net.minecraft.network.play.server.SPacketChat.writePacketData(SourceFile:35) ~[in.class:?]
at net.minecraft.network.NettyPacketEncoder.encode(NettyPacketEncoder.java:51) ~[ha.class:?]
at net.minecraft.network.NettyPacketEncoder.encode(NettyPacketEncoder.java:12) ~[ha.class:?]
at io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:107) ~[MessageToByteEncoder.class:?]
at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:738) ~[AbstractChannelHandlerContext.class:?]
at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:730) ~[AbstractChannelHandlerContext.class:?]
at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:816) ~[AbstractChannelHandlerContext.class:?]
at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:723) ~[AbstractChannelHandlerContext.class:?]
at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher.write(NetworkDispatcher.java:548) ~[NetworkDispatcher.class:?]
at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:738) ~[AbstractChannelHandlerContext.class:?]
at io.netty.channel.AbstractChannelHandlerContext.invokeWriteAndFlush(AbstractChannelHandlerContext.java:801) ~[AbstractChannelHandlerContext.class:?]
at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:814) ~[AbstractChannelHandlerContext.class:?]
at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:794) ~[AbstractChannelHandlerContext.class:?]
at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:831) ~[AbstractChannelHandlerContext.class:?]
at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:1032) ~[DefaultChannelPipeline.class:?]
at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:296) ~[AbstractChannel.class:?]
at net.minecraft.network.NetworkManager$4.run(NetworkManager.java:245) [gw$4.class:?]
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163) [AbstractEventExecutor.class:?]
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:403) [SingleThreadEventExecutor.class:?]
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:304) [EpollEventLoop.class:?]
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858) [SingleThreadEventExecutor$5.class:?]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_171]
[04:24:54] [Server thread/INFO] [net.minecraft.network.NetHandlerPlayServer]: Xakep_SDK lost connection: Internal Exception: io.netty.handler.codec.EncoderException: String too big (was 71248 bytes encoded, max 32767)