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

GitHub | L4BORG | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.

Root Cause Analysis

  1. java.lang.ArrayIndexOutOfBoundsException

    -1

    at protocolsupport.protocol.typeremapper.id.RemappingTable$ArrayBasedIdRemappingTable.getRemap()
  2. protocolsupport.protocol.typeremapper
    RemappingTable$ArrayBasedIdRemappingTable.getRemap
    1. protocolsupport.protocol.typeremapper.id.RemappingTable$ArrayBasedIdRemappingTable.getRemap(RemappingTable.java:30)
    1 frame
  3. protocolsupport.protocol.legacyremapper
    ChunkTransformer.to19Data
    1. protocolsupport.protocol.legacyremapper.chunk.ChunkTransformer.to19Data(ChunkTransformer.java:49)
    1 frame
  4. protocolsupport.protocol.packet
    PacketEncoder.encode
    1. protocolsupport.protocol.packet.middleimpl.clientbound.play.v_1_9_r2.Chunk.toData(Chunk.java:26)
    2. protocolsupport.protocol.packet.middleimpl.clientbound.play.v_1_9_r2.Chunk.toData(Chunk.java:14)
    3. protocolsupport.protocol.packet.v_1_9.r2.PacketEncoder.encode(PacketEncoder.java:99)
    3 frames
  5. protocolsupport.protocol.pipeline
    WrappedEncoder.encode
    1. protocolsupport.protocol.pipeline.wrapped.WrappedEncoder.encode(WrappedEncoder.java:25)
    2. protocolsupport.protocol.pipeline.wrapped.WrappedEncoder.encode(WrappedEncoder.java:10)
    2 frames
  6. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    3. java.lang.reflect.Method.invoke(Method.java:498)
    3 frames
  7. 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
  8. Netty
    MessageToByteEncoder.write
    1. io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:107)
    1 frame
  9. com.comphenix.protocol
    ChannelInjector$3.write
    1. com.comphenix.protocol.injector.netty.ChannelInjector$3.write(ChannelInjector.java:263)
    1 frame
  10. 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.writeAndFlush(AbstractChannelHandlerContext.java:706)
    4. io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:741)
    5. io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:895)
    6. io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:240)
    6 frames
  11. com.comphenix.protocol
    ChannelProxy.writeAndFlush
    1. com.comphenix.protocol.injector.netty.ChannelProxy.writeAndFlush(ChannelProxy.java:327)
    1 frame
  12. net.minecraft.server
    NetworkManager$4.run
    1. net.minecraft.server.v1_10_R1.NetworkManager$4.run(NetworkManager.java:200)
    1 frame
  13. com.comphenix.protocol
    ChannelInjector$5$3.run
    1. com.comphenix.protocol.injector.netty.ChannelInjector$5$3.run(ChannelInjector.java:340)
    1 frame
  14. 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
  15. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame