io.netty.handler.codec.EncoderException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Problem/Bug - error: Disconnected | Bukkit Forums
    via by Unknown author,
    • io.netty.handler.codec.EncoderException: java.lang.RuntimeException: An internal error occured. at io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:125)[Netty Epoll Server IO #2/WARN] at com.comphenix.protocol.injector.netty.ChannelInjector$3.write(ChannelInjector.java:263)[Netty Epoll Server IO #2/WARN] at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:658)[Netty Epoll Server IO #2/WARN] at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:716)[Netty Epoll Server IO #2/WARN] at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:706)[Netty Epoll Server IO #2/WARN] at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:741)[Netty Epoll Server IO #2/WARN] at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:895)[Netty Epoll Server IO #2/WARN] at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:240)[Netty Epoll Server IO #2/WARN] at com.comphenix.protocol.injector.netty.ChannelProxy.writeAndFlush(ChannelProxy.java:327)[Netty Epoll Server IO #2/WARN] at net.minecraft.server.v1_10_R1.NetworkManager$4.run(NetworkManager.java:200)[Netty Epoll Server IO #2/WARN] at com.comphenix.protocol.injector.netty.ChannelInjector$5$3.run(ChannelInjector.java:340)[Netty Epoll Server IO #2/WARN] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:380)[Netty Epoll Server IO #2/WARN] at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:268)[Netty Epoll Server IO #2/WARN] at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116)[Netty Epoll Server IO #2/WARN] at java.lang.Thread.run(Thread.java:745)[Netty Epoll Server IO #2/WARN] Caused by: java.lang.RuntimeException: An internal error occured. at com.comphenix.protocol.reflect.accessors.DefaultMethodAccessor.invoke(DefaultMethodAccessor.java:20)[Netty Epoll Server IO #2/WARN] at com.comphenix.protocol.injector.netty.ChannelInjector.encode(ChannelInjector.java:485)[Netty Epoll Server IO #2/WARN] at com.comphenix.protocol.injector.netty.ChannelInjector$3.encode(ChannelInjector.java:257)[Netty Epoll Server IO #2/WARN] at io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:107)[Netty Epoll Server IO #2/WARN] ... 14 more Caused by: java.lang.NullPointerException at protocolsupport.protocol.packet.v_1_7.utils.ChatJsonConverter.fixComponent(ChatJsonConverter.java:31)[Netty Epoll Server IO #2/WARN] at protocolsupport.protocol.packet.v_1_7.utils.ChatJsonConverter.walkComponent(ChatJsonConverter.java:23)[Netty Epoll Server IO #2/WARN] at protocolsupport.protocol.packet.v_1_7.utils.ChatJsonConverter.convert(ChatJsonConverter.java:18)[Netty Epoll Server IO #2/WARN] at protocolsupport.protocol.packet.middleimpl.clientbound.play.v_1_8.Chat.toData(Chat.java:16)[Netty Epoll Server IO #2/WARN] at protocolsupport.protocol.packet.middleimpl.clientbound.play.v_1_8.Chat.toData(Chat.java:11)[Netty Epoll Server IO #2/WARN] at protocolsupport.protocol.packet.v_1_8.PacketEncoder.encode(PacketEncoder.java:304)[Netty Epoll Server IO #2/WARN] at protocolsupport.protocol.pipeline.wrapped.WrappedEncoder.encode(WrappedEncoder.java:25)[Netty Epoll Server IO #2/WARN] at protocolsupport.protocol.pipeline.wrapped.WrappedEncoder.encode(WrappedEncoder.java:10)[Netty Epoll Server IO #2/WARN] at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)[Netty Epoll Server IO #2/WARN] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[Netty Epoll Server IO #2/WARN] at java.lang.reflect.Method.invoke(Method.java:606)[Netty Epoll Server IO #2/WARN] at com.comphenix.protocol.reflect.accessors.DefaultMethodAccessor.invoke(DefaultMethodAccessor.java:16)[Netty Epoll Server IO #2/WARN] ... 17 more
    No Bugmate found.