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

GitHub | TomGrozev | 3 months ago
  1. 0

    Disconnection (1.7.10 client on 1.8 server)

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

    GitHub comment 198#224489123

    GitHub | 6 months ago | kxjhwbb
    io.netty.handler.codec.DecoderException: The received string length is longer than maximum allowed (17 > 16)
  3. 0

    [1.5.2] java.nio.channels.ClosedChannelException

    GitHub | 1 year ago | MrPowerGamerBR
    io.netty.handler.codec.DecoderException: NettyChannelInjector.decode() did not read anything but decoded a message.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Server sending websocket frame too quickly after upgrade causes client disconnect

    GitHub | 3 years ago | jjongsma
    io.netty.handler.codec.DecoderException: HttpClientCodec$Decoder.decode() must consume the inbound data or change its state if it did not decode anything.
  6. 0

    UDP issue in 0.2.7

    GitHub | 2 years ago | dbriones
    io.netty.handler.codec.DecoderException: com.google.protobuf.InvalidProtocolBufferException: While parsing a protocol message, the input ended unexpectedly in the middle of a field. This could mean either than the input has been truncated or that an embedded message misreported its own length.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    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