View Issue Details

IDProjectCategoryView StatusLast Update
0002446Industrial-Craft²general / otherpublic2018-11-21 02:02
Reporterlord514 Assigned ToPlayer  
PrioritynormalSeveritymajorReproducibilityrandom
Status closedResolutionno change required 
Summary0002446: crash FMLIndexedMessageCodec exception caught
Description[04:17:10] [Netty Local Client IO #1/ERROR] [FML]: FMLIndexedMessageCodec exception caught
io.netty.handler.codec.DecoderException: Unknown serializer type 111
    at net.minecraft.network.datasync.EntityDataManager.readEntries(EntityDataManager.java:299) ~[nb.class:?]
    at net.minecraftforge.fml.common.network.internal.FMLMessage$EntitySpawnMessage.fromBytes(FMLMessage.java:232) ~[FMLMessage$EntitySpawnMessage.class:?]
    at net.minecraftforge.fml.common.network.internal.FMLRuntimeCodec.decodeInto(FMLRuntimeCodec.java:48) ~[FMLRuntimeCodec.class:?]
    at net.minecraftforge.fml.common.network.internal.FMLRuntimeCodec.decodeInto(FMLRuntimeCodec.java:32) ~[FMLRuntimeCodec.class:?]
    at net.minecraftforge.fml.common.network.FMLIndexedMessageToMessageCodec.decode(FMLIndexedMessageToMessageCodec.java:111) ~[FMLIndexedMessageToMessageCodec.class:?]
    at net.minecraftforge.fml.common.network.FMLIndexedMessageToMessageCodec.decode(FMLIndexedMessageToMessageCodec.java:41) ~[FMLIndexedMessageToMessageCodec.class:?]
    at io.netty.handler.codec.MessageToMessageCodec$2.decode(MessageToMessageCodec.java:81) ~[netty-all-4.1.9.Final.jar:4.1.9.Final]
    at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:88) ~[netty-all-4.1.9.Final.jar:4.1.9.Final]
    at io.netty.handler.codec.MessageToMessageCodec.channelRead(MessageToMessageCodec.java:111) ~[netty-all-4.1.9.Final.jar:4.1.9.Final]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [netty-all-4.1.9.Final.jar:4.1.9.Final]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [netty-all-4.1.9.Final.jar:4.1.9.Final]
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) [netty-all-4.1.9.Final.jar:4.1.9.Final]
    at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1334) [netty-all-4.1.9.Final.jar:4.1.9.Final]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [netty-all-4.1.9.Final.jar:4.1.9.Final]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [netty-all-4.1.9.Final.jar:4.1.9.Final]
    at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:926) [netty-all-4.1.9.Final.jar:4.1.9.Final]
    at io.netty.channel.embedded.EmbeddedChannel.writeInbound(EmbeddedChannel.java:274) [netty-all-4.1.9.Final.jar:4.1.9.Final]
    at net.minecraftforge.fml.common.network.internal.FMLProxyPacket.processPacket(FMLProxyPacket.java:99) [FMLProxyPacket.class:?]
    at net.minecraft.network.NetworkManager.channelRead0(NetworkManager.java:147) [gw.class:?]
    at net.minecraft.network.NetworkManager.channelRead0(NetworkManager.java:49) [gw.class:?]
    at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105) [netty-all-4.1.9.Final.jar:4.1.9.Final]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [netty-all-4.1.9.Final.jar:4.1.9.Final]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [netty-all-4.1.9.Final.jar:4.1.9.Final]
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) [netty-all-4.1.9.Final.jar:4.1.9.Final]
    at ic2.core.network.RpcHandler.channelRead0(RpcHandler.java:123) [RpcHandler.class:?]
    at ic2.core.network.RpcHandler.channelRead0(RpcHandler.java:25) [RpcHandler.class:?]
    at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105) [netty-all-4.1.9.Final.jar:4.1.9.Final]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [netty-all-4.1.9.Final.jar:4.1.9.Final]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [netty-all-4.1.9.Final.jar:4.1.9.Final]
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) [netty-all-4.1.9.Final.jar:4.1.9.Final]
    at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher.handleClientSideCustomPacket(NetworkDispatcher.java:382) [NetworkDispatcher.class:?]
    at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher.channelRead0(NetworkDispatcher.java:268) [NetworkDispatcher.class:?]
    at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher.channelRead0(NetworkDispatcher.java:72) [NetworkDispatcher.class:?]
    at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105) [netty-all-4.1.9.Final.jar:4.1.9.Final]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [netty-all-4.1.9.Final.jar:4.1.9.Final]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [netty-all-4.1.9.Final.jar:4.1.9.Final]
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) [netty-all-4.1.9.Final.jar:4.1.9.Final]
    at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1334) [netty-all-4.1.9.Final.jar:4.1.9.Final]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [netty-all-4.1.9.Final.jar:4.1.9.Final]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [netty-all-4.1.9.Final.jar:4.1.9.Final]
    at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:926) [netty-all-4.1.9.Final.jar:4.1.9.Final]
    at io.netty.channel.local.LocalChannel.finishPeerRead0(LocalChannel.java:443) [netty-all-4.1.9.Final.jar:4.1.9.Final]
    at io.netty.channel.local.LocalChannel.access$500(LocalChannel.java:49) [netty-all-4.1.9.Final.jar:4.1.9.Final]
    at io.netty.channel.local.LocalChannel$5.run(LocalChannel.java:397) [netty-all-4.1.9.Final.jar:4.1.9.Final]
    at io.netty.channel.DefaultEventLoop.run(DefaultEventLoop.java:54) [netty-all-4.1.9.Final.jar:4.1.9.Final]
    at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858) [netty-all-4.1.9.Final.jar:4.1.9.Final]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_191]
Steps To ReproduceIt crash randomly when i explore.
TagsNo tags attached.
Minecraft Version1.12.2

Activities

Chocohead

2018-11-20 12:45

developer   ~0005821

Can we have a look at the full log? There is certainly something going wrong, but it is higher up in the network stack (ie something before IC2 going wrong)

lord514

2018-11-20 13:33

reporter   ~0005823

Sorry, i can't post the log by pastbin or Github Gists because it's 72 mo.
So i you give a mega link: https://mega.nz/#!g18wlAia

Chocohead

2018-11-20 13:57

developer   ~0005824

Last edited: 2018-11-20 13:58

The end couple of hundred of lines is all that is likely necessary, but I'll take the full one all the same. Can I get the decryption key for the Mega link so I can see it too please?

lord514

2018-11-20 14:01

reporter   ~0005825

Sorry new link https://mega.nz/#!g18wlAia!mGuZz9FB4-9P5BWfA4HS3eQY2-8gL1T-j6-QC1Eb9BM

Chocohead

2018-11-21 00:15

developer   ~0005827

The actually erroring logic appears to boil down to this: https://hastebin.com/kolinoqeya.php

A very obscure error indeed. Doesn't look like anything IC2 is doing at all, but equally it doesn't give any hints to what is going wrong.

Player

2018-11-21 01:01

administrator   ~0005828

This is most likely caused by a mod attaching data to entities incorrectly.

IC2 doesn't attach data to any entity, neither are its entities spawning by themselves or stay for an extended period of time besides our boats. Without such a persistent entity you'd have to do something in IC2 to spawn an entity and trigger the error, like firing a mining laser. The report doesn't indicate such a correlation. Note that a 3rd party cause can trigger the exception for our entities without a bug in IC2, it's only indicative if it happens exclusively with IC2 entities.

The mention in the stack trace is from our network handler which acts as a transparent pass-through and doesn't influence or cause this issue.

There is unfortunately no reasonable way I can think of to debug this easily unless it happens very frequently, in which case you could try bisecting the mod set (find the minimal set of mods required to reproduce). Please check if this is exclusively correlated with IC2 entity spawning actions, otherwise close the issue.

lord514

2018-11-21 01:45

reporter   ~0005829

i think it is the data parameters because with NEID+JEID=0 crash and JEID without NEID= crash

lord514

2018-11-21 01:46

reporter   ~0005830

how i close the issue?

Issue History

Date Modified Username Field Change
2018-11-20 06:28 lord514 New Issue
2018-11-20 12:45 Chocohead Status new => feedback
2018-11-20 12:45 Chocohead Note Added: 0005821
2018-11-20 13:33 lord514 Note Added: 0005823
2018-11-20 13:33 lord514 Status feedback => new
2018-11-20 13:57 Chocohead Note Added: 0005824
2018-11-20 13:58 Chocohead Note Edited: 0005824
2018-11-20 14:01 lord514 Note Added: 0005825
2018-11-21 00:15 Chocohead Note Added: 0005827
2018-11-21 01:01 Player Assigned To => Player
2018-11-21 01:01 Player Status new => feedback
2018-11-21 01:01 Player Note Added: 0005828
2018-11-21 01:45 lord514 Note Added: 0005829
2018-11-21 01:45 lord514 Status feedback => assigned
2018-11-21 01:46 lord514 Note Added: 0005830
2018-11-21 02:02 Player Status assigned => closed
2018-11-21 02:02 Player Resolution open => no change required