Skip to content

Instantly share code, notes, and snippets.

Created October 15, 2015 21:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/8d0c83625ad40dde8fca to your computer and use it in GitHub Desktop.
Save anonymous/8d0c83625ad40dde8fca to your computer and use it in GitHub Desktop.
23:07:18 [SEVERE] [NICK] -> UpstreamBridge - encountered exception
io.netty.handler.codec.EncoderException: java.lang.NullPointerException
at io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:125)
at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:633)
at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:691)
at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:626)
at io.netty.channel.DefaultChannelPipeline.write(DefaultChannelPipeline.java:944)
at io.netty.channel.AbstractChannel.write(AbstractChannel.java:239)
at net.md_5.bungee.netty.ChannelWrapper.write(ChannelWrapper.java:49)
at net.md_5.bungee.UserConnection$1.sendPacket(UserConnection.java:138)
at net.md_5.bungee.tab.ServerUnique.onServerChange(ServerUnique.java:77)
at protocolsupport.protocol.transformer.v_1_5_v1_6_shared.handlers.ServerConnectHandler.handle(ServerConnectHandler.java:162)
at net.md_5.bungee.protocol.packet.Login.handle(Login.java:60)
at net.md_5.bungee.netty.HandlerBoss.channelRead(HandlerBoss.java:76)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:244)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294)
at io.netty.handler.timeout.ReadTimeoutHandler.channelRead(ReadTimeoutHandler.java:152)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294)
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:846)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354)
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException
at protocolsupport.protocol.transformer.v_1_5_v1_6_shared.PacketDataSerializer.writeString(PacketDataSerializer.java:16)
at protocolsupport.protocol.transformer.v_1_5_v1_6_shared.packets.PlayerListItemPacket.write(PlayerListItemPacket.java:44)
at protocolsupport.protocol.transformer.v_1_5_v1_6_shared.PacketEncoder.encodePackets(PacketEncoder.java:43)
at protocolsupport.protocol.transformer.v_1_5_v1_6_shared.PacketEncoder.encode(PacketEncoder.java:33)
at protocolsupport.protocol.transformer.v_1_5_v1_6_shared.PacketEncoder.encode(PacketEncoder.java:14)
at io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:107)
... 27 more
23:07:18 [INFO] [NICK] disconnected with: §fEncoderException : java.lang.NullPointerException @ io.netty.handler.codec.MessageToByteEncoder:125
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment