io.netty.handler.codec.EncoderException: java.lang.RuntimeException: An internal error occured.

GitHub | TomGrozev | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Disconnection (1.7.10 client on 1.8 server)

    GitHub | 6 months ago | TomGrozev
    io.netty.handler.codec.EncoderException: java.lang.RuntimeException: An internal error occured.

    Root Cause Analysis

    1. io.netty.handler.codec.DecoderException

      The received a byte array longer than allowed 73984 > 32767

      at net.minecraft.server.v1_8_R3.PacketDataSerializer.readByteArray()
    2. net.minecraft.server
      PacketDataSerializer.a
      1. net.minecraft.server.v1_8_R3.PacketDataSerializer.readByteArray(PacketDataSerializer.java:56)
      2. net.minecraft.server.v1_8_R3.PacketDataSerializer.a(PacketDataSerializer.java:51)
      2 frames
    3. protocolsupport.protocol
      PacketDataSerializer.readArray
      1. protocolsupport.protocol.PacketDataSerializer.a(PacketDataSerializer.java:216)
      2. protocolsupport.protocol.PacketDataSerializer.readArray(PacketDataSerializer.java:258)
      2 frames
    4. protocolsupport.protocol.transformer
      PacketEncoder.encode
      1. protocolsupport.protocol.transformer.middlepacket.clientbound.play.MiddleChunkSingle.readFromServerData(MiddleChunkSingle.java:22)
      2. protocolsupport.protocol.transformer.v_1_7.PacketEncoder.encode(PacketEncoder.java:207)
      2 frames
    5. protocolsupport.protocol.core
      WrappedEncoder.encode
      1. protocolsupport.protocol.core.wrapped.WrappedEncoder.encode(WrappedEncoder.java:28)
      2. protocolsupport.protocol.core.wrapped.WrappedEncoder.encode(WrappedEncoder.java:10)
      2 frames
    6. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor50.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:498)
      3 frames
    7. us.myles.ViaVersion
      ViaEncodeHandler.encode
      1. us.myles.ViaVersion.util.PipelineUtil.callEncode(PipelineUtil.java:47)
      2. us.myles.ViaVersion.classgenerator.generated.ViaEncodeHandler.encode(ViaEncodeHandler.java:39)
      2 frames
    8. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor49.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:498)
      3 frames
    9. com.comphenix.protocol
      ChannelInjector$3.encode
      1. com.comphenix.protocol.reflect.accessors.DefaultMethodAccessor.invoke(DefaultMethodAccessor.java:16)
      2. com.comphenix.protocol.injector.netty.ChannelInjector.encode(ChannelInjector.java:485)
      3. com.comphenix.protocol.injector.netty.ChannelInjector$3.encode(ChannelInjector.java:257)
      3 frames
    10. Netty
      MessageToByteEncoder.write
      1. io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:107)
      1 frame
    11. com.comphenix.protocol
      ChannelInjector$3.write
      1. com.comphenix.protocol.injector.netty.ChannelInjector$3.write(ChannelInjector.java:263)
      1 frame
    12. Netty
      AbstractChannel.writeAndFlush
      1. io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:658)
      2. io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:716)
      3. io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:651)
      4. io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:112)
      5. io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:658)
      6. io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:716)
      7. io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:706)
      8. io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:741)
      9. io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:895)
      10. io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:240)
      10 frames
    13. com.comphenix.protocol
      ChannelProxy.writeAndFlush
      1. com.comphenix.protocol.injector.netty.ChannelProxy.writeAndFlush(ChannelProxy.java:327)
      1 frame
    14. net.minecraft.server
      NetworkManager$4.run
      1. net.minecraft.server.v1_8_R3.NetworkManager$4.run(NetworkManager.java:198)
      1 frame
    15. com.comphenix.protocol
      ChannelInjector$5$3.run
      1. com.comphenix.protocol.injector.netty.ChannelInjector$5$3.run(ChannelInjector.java:340)
      1 frame
    16. Netty
      SingleThreadEventExecutor$2.run
      1. io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:380)
      2. io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:357)
      3. io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116)
      3 frames
    17. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame