Jump to content

Forge Error: cannot connect (FMLIndexedMessageCodec exception)


sequituri

Recommended Posts

I am using an slightly earlier version of Forge on my server (1024) than on my client (1029).

 

I built my mod (using gradlew build) and it completed with no errors. I have no netty code in my mod. It was dropped in my server and client mod folders. The server started and ran fine and my mod was actively there (log messages). The client started and ran fine (standalone and integrated). However, the error occurs when I connect to my local server. The server believes the connection is going fine until the client disconnects - it says I joined game and then lost connection. The client log says something else entirely:

 

 

 

[06:38:19 INFO]: Client> [06:38:19] [Client thread/ERROR] [FML]: FMLIndexedMessageCodec exception caught

[06:38:19 INFO]: Client> io.netty.handler.codec.DecoderException: java.lang.NullPointerException: Undefined message for discriminator 2 in channel FORGE

[06:38:19 INFO]: Client> at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:99) ~[MessageToMessageDecoder.class:?]

[06:38:19 INFO]: Client> at io.netty.handler.codec.MessageToMessageCodec.channelRead(MessageToMessageCodec.java:111) ~[MessageToMessageCodec.class:?]

[06:38:19 INFO]: Client> at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337) [DefaultChannelHandlerContext.class:?]

[06:38:19 INFO]: Client> at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323) [DefaultChannelHandlerContext.class:?]

[06:38:19 INFO]: Client> at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:785) [DefaultChannelPipeline.class:?]

[06:38:19 INFO]: Client> at io.netty.channel.embedded.EmbeddedChannel.writeInbound(EmbeddedChannel.java:169) [EmbeddedChannel.class:?]

[06:38:19 INFO]: Client> at cpw.mods.fml.common.network.internal.FMLProxyPacket.func_148833_a(FMLProxyPacket.java:71) [FMLProxyPacket.class:?]

[06:38:19 INFO]: Client> at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:198) [ef.class:?]

[06:38:19 INFO]: Client> at net.minecraft.client.multiplayer.GuiConnecting.func_73876_c(SourceFile:76) [bbe.class:?]

[06:38:19 INFO]: Client> at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1645) [azd.class:?]

[06:38:19 INFO]: Client> at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:952) [azd.class:?]

[06:38:19 INFO]: Client> at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:869) [azd.class:?]

[06:38:19 INFO]: Client> at net.minecraft.client.main.Main.main(SourceFile:103) [Main.class:?]

[06:38:19 INFO]: Client> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_51]

[06:38:19 INFO]: Client> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_51]

[06:38:19 INFO]: Client> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_51]

[06:38:19 INFO]: Client> at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_51]

[06:38:19 INFO]: Client> at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?]

[06:38:19 INFO]: Client> at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?]

[06:38:19 INFO]: Client> Caused by: java.lang.NullPointerException: Undefined message for discriminator 2 in channel FORGE

[06:38:19 INFO]: Client> at cpw.mods.fml.common.network.FMLIndexedMessageToMessageCodec.decode(FMLIndexedMessageToMessageCodec.java:71) ~[FMLIndexedMessageToMessageCodec.class:?]

[06:38:19 INFO]: Client> at cpw.mods.fml.common.network.FMLIndexedMessageToMessageCodec.decode(FMLIndexedMessageToMessageCodec.java:16) ~[FMLIndexedMessageToMessageCodec.class:?]

[06:38:19 INFO]: Client> at io.netty.handler.codec.MessageToMessageCodec$2.decode(MessageToMessageCodec.java:81) ~[MessageToMessageCodec$2.class:?]

[06:38:19 INFO]: Client> at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:89) ~[MessageToMessageDecoder.class:?]

[06:38:19 INFO]: Client> ... 18 more

[06:38:19 INFO]: Client> [06:38:19] [Client thread/ERROR] [FML]: FluidIdRegistryMessageHandler exception

[06:38:19 INFO]: Client> io.netty.handler.codec.DecoderException: java.lang.NullPointerException: Undefined message for discriminator 2 in channel FORGE

[06:38:19 INFO]: Client> at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:99) ~[MessageToMessageDecoder.class:?]

[06:38:19 INFO]: Client> at io.netty.handler.codec.MessageToMessageCodec.channelRead(MessageToMessageCodec.java:111) ~[MessageToMessageCodec.class:?]

[06:38:19 INFO]: Client> at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337) [DefaultChannelHandlerContext.class:?]

[06:38:19 INFO]: Client> at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323) [DefaultChannelHandlerContext.class:?]

[06:38:19 INFO]: Client> at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:785) [DefaultChannelPipeline.class:?]

[06:38:19 INFO]: Client> at io.netty.channel.embedded.EmbeddedChannel.writeInbound(EmbeddedChannel.java:169) [EmbeddedChannel.class:?]

[06:38:19 INFO]: Client> at cpw.mods.fml.common.network.internal.FMLProxyPacket.func_148833_a(FMLProxyPacket.java:71) [FMLProxyPacket.class:?]

[06:38:19 INFO]: Client> at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:198) [ef.class:?]

[06:38:19 INFO]: Client> at net.minecraft.client.multiplayer.GuiConnecting.func_73876_c(SourceFile:76) [bbe.class:?]

[06:38:19 INFO]: Client> at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1645) [azd.class:?]

[06:38:19 INFO]: Client> at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:952) [azd.class:?]

[06:38:19 INFO]: Client> at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:869) [azd.class:?]

[06:38:19 INFO]: Client> at net.minecraft.client.main.Main.main(SourceFile:103) [Main.class:?]

[06:38:19 INFO]: Client> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_51]

[06:38:19 INFO]: Client> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_51]

[06:38:19 INFO]: Client> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_51]

[06:38:19 INFO]: Client> at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_51]

[06:38:19 INFO]: Client> at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?]

[06:38:19 INFO]: Client> at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?]

[06:38:19 INFO]: Client> Caused by: java.lang.NullPointerException: Undefined message for discriminator 2 in channel FORGE

[06:38:19 INFO]: Client> at cpw.mods.fml.common.network.FMLIndexedMessageToMessageCodec.decode(FMLIndexedMessageToMessageCodec.java:71) ~[FMLIndexedMessageToMessageCodec.class:?]

[06:38:19 INFO]: Client> at cpw.mods.fml.common.network.FMLIndexedMessageToMessageCodec.decode(FMLIndexedMessageToMessageCodec.java:16) ~[FMLIndexedMessageToMessageCodec.class:?]

[06:38:19 INFO]: Client> at io.netty.handler.codec.MessageToMessageCodec$2.decode(MessageToMessageCodec.java:81) ~[MessageToMessageCodec$2.class:?]

[06:38:19 INFO]: Client> at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:89) ~[MessageToMessageDecoder.class:?]

[06:38:19 INFO]: Client> ... 18 more

[06:38:19 INFO]: Client> [06:38:19] [Client thread/ERROR] [FML]: DimensionMessageHandler exception

[06:38:19 INFO]: Client> io.netty.handler.codec.DecoderException: java.lang.NullPointerException: Undefined message for discriminator 2 in channel FORGE

[06:38:19 INFO]: Client> at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:99) ~[MessageToMessageDecoder.class:?]

[06:38:19 INFO]: Client> at io.netty.handler.codec.MessageToMessageCodec.channelRead(MessageToMessageCodec.java:111) ~[MessageToMessageCodec.class:?]

[06:38:19 INFO]: Client> at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337) [DefaultChannelHandlerContext.class:?]

[06:38:19 INFO]: Client> at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323) [DefaultChannelHandlerContext.class:?]

[06:38:19 INFO]: Client> at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:785) [DefaultChannelPipeline.class:?]

[06:38:19 INFO]: Client> at io.netty.channel.embedded.EmbeddedChannel.writeInbound(EmbeddedChannel.java:169) [EmbeddedChannel.class:?]

[06:38:19 INFO]: Client> at cpw.mods.fml.common.network.internal.FMLProxyPacket.func_148833_a(FMLProxyPacket.java:71) [FMLProxyPacket.class:?]

[06:38:19 INFO]: Client> at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:198) [ef.class:?]

[06:38:19 INFO]: Client> at net.minecraft.client.multiplayer.GuiConnecting.func_73876_c(SourceFile:76) [bbe.class:?]

[06:38:19 INFO]: Client> at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1645) [azd.class:?]

[06:38:19 INFO]: Client> at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:952) [azd.class:?]

[06:38:19 INFO]: Client> at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:869) [azd.class:?]

[06:38:19 INFO]: Client> at net.minecraft.client.main.Main.main(SourceFile:103) [Main.class:?]

[06:38:19 INFO]: Client> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_51]

[06:38:19 INFO]: Client> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_51]

[06:38:19 INFO]: Client> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_51]

[06:38:19 INFO]: Client> at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_51]

[06:38:19 INFO]: Client> at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?]

[06:38:19 INFO]: Client> at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?]

[06:38:19 INFO]: Client> Caused by: java.lang.NullPointerException: Undefined message for discriminator 2 in channel FORGE

[06:38:19 INFO]: Client> at cpw.mods.fml.common.network.FMLIndexedMessageToMessageCodec.decode(FMLIndexedMessageToMessageCodec.java:71) ~[FMLIndexedMessageToMessageCodec.class:?]

[06:38:19 INFO]: Client> at cpw.mods.fml.common.network.FMLIndexedMessageToMessageCodec.decode(FMLIndexedMessageToMessageCodec.java:16) ~[FMLIndexedMessageToMessageCodec.class:?]

[06:38:19 INFO]: Client> at io.netty.handler.codec.MessageToMessageCodec$2.decode(MessageToMessageCodec.java:81) ~[MessageToMessageCodec$2.class:?]

[06:38:19 INFO]: Client> at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:89) ~[MessageToMessageDecoder.class:?]

[06:38:19 INFO]: Client> ... 18 more

[06:38:19 INFO]: Client> [06:38:19] [Client thread/ERROR] [FML]: HandshakeCompletionHandler exception

[06:38:19 INFO]: Client> io.netty.handler.codec.DecoderException: java.lang.NullPointerException: Undefined message for discriminator 2 in channel FORGE

[06:38:19 INFO]: Client> at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:99) ~[MessageToMessageDecoder.class:?]

[06:38:19 INFO]: Client> at io.netty.handler.codec.MessageToMessageCodec.channelRead(MessageToMessageCodec.java:111) ~[MessageToMessageCodec.class:?]

[06:38:19 INFO]: Client> at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337) [DefaultChannelHandlerContext.class:?]

[06:38:19 INFO]: Client> at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323) [DefaultChannelHandlerContext.class:?]

[06:38:19 INFO]: Client> at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:785) [DefaultChannelPipeline.class:?]

[06:38:19 INFO]: Client> at io.netty.channel.embedded.EmbeddedChannel.writeInbound(EmbeddedChannel.java:169) [EmbeddedChannel.class:?]

[06:38:19 INFO]: Client> at cpw.mods.fml.common.network.internal.FMLProxyPacket.func_148833_a(FMLProxyPacket.java:71) [FMLProxyPacket.class:?]

[06:38:19 INFO]: Client> at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:198) [ef.class:?]

[06:38:19 INFO]: Client> at net.minecraft.client.multiplayer.GuiConnecting.func_73876_c(SourceFile:76) [bbe.class:?]

[06:38:19 INFO]: Client> at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1645) [azd.class:?]

[06:38:19 INFO]: Client> at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:952) [azd.class:?]

[06:38:19 INFO]: Client> at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:869) [azd.class:?]

[06:38:19 INFO]: Client> at net.minecraft.client.main.Main.main(SourceFile:103) [Main.class:?]

[06:38:19 INFO]: Client> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_51]

[06:38:19 INFO]: Client> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_51]

[06:38:19 INFO]: Client> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_51]

[06:38:19 INFO]: Client> at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_51]

[06:38:19 INFO]: Client> at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?]

[06:38:19 INFO]: Client> at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?]

[06:38:19 INFO]: Client> Caused by: java.lang.NullPointerException: Undefined message for discriminator 2 in channel FORGE

[06:38:19 INFO]: Client> at cpw.mods.fml.common.network.FMLIndexedMessageToMessageCodec.decode(FMLIndexedMessageToMessageCodec.java:71) ~[FMLIndexedMessageToMessageCodec.class:?]

[06:38:19 INFO]: Client> at cpw.mods.fml.common.network.FMLIndexedMessageToMessageCodec.decode(FMLIndexedMessageToMessageCodec.java:16) ~[FMLIndexedMessageToMessageCodec.class:?]

[06:38:19 INFO]: Client> at io.netty.handler.codec.MessageToMessageCodec$2.decode(MessageToMessageCodec.java:81) ~[MessageToMessageCodec$2.class:?]

[06:38:19 INFO]: Client> at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:89) ~[MessageToMessageDecoder.class:?]

[06:38:19 INFO]: Client> ... 18 more

[06:38:19 INFO]: Client> [06:38:19] [Client thread/ERROR] [FML]: There was a critical exception handling a packet on channel FORGE

[06:38:19 INFO]: Client> io.netty.handler.codec.DecoderException: java.lang.NullPointerException: Undefined message for discriminator 2 in channel FORGE

[06:38:19 INFO]: Client> at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:99) ~[MessageToMessageDecoder.class:?]

[06:38:19 INFO]: Client> at io.netty.handler.codec.MessageToMessageCodec.channelRead(MessageToMessageCodec.java:111) ~[MessageToMessageCodec.class:?]

[06:38:19 INFO]: Client> at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337) ~[DefaultChannelHandlerContext.class:?]

[06:38:19 INFO]: Client> at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323) ~[DefaultChannelHandlerContext.class:?]

[06:38:19 INFO]: Client> at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:785) ~[DefaultChannelPipeline.class:?]

[06:38:19 INFO]: Client> at io.netty.channel.embedded.EmbeddedChannel.writeInbound(EmbeddedChannel.java:169) ~[EmbeddedChannel.class:?]

[06:38:19 INFO]: Client> at cpw.mods.fml.common.network.internal.FMLProxyPacket.func_148833_a(FMLProxyPacket.java:71) [FMLProxyPacket.class:?]

[06:38:19 INFO]: Client> at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:198) [ef.class:?]

[06:38:19 INFO]: Client> at net.minecraft.client.multiplayer.GuiConnecting.func_73876_c(SourceFile:76) [bbe.class:?]

[06:38:19 INFO]: Client> at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1645) [azd.class:?]

[06:38:19 INFO]: Client> at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:952) [azd.class:?]

[06:38:19 INFO]: Client> at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:869) [azd.class:?]

[06:38:19 INFO]: Client> at net.minecraft.client.main.Main.main(SourceFile:103) [Main.class:?]

[06:38:19 INFO]: Client> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_51]

[06:38:19 INFO]: Client> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_51]

[06:38:19 INFO]: Client> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_51]

[06:38:19 INFO]: Client> at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_51]

[06:38:19 INFO]: Client> at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?]

[06:38:19 INFO]: Client> at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?]

[06:38:19 INFO]: Client> Caused by: java.lang.NullPointerException: Undefined message for discriminator 2 in channel FORGE

[06:38:19 INFO]: Client> at cpw.mods.fml.common.network.FMLIndexedMessageToMessageCodec.decode(FMLIndexedMessageToMessageCodec.java:71) ~[FMLIndexedMessageToMessageCodec.class:?]

[06:38:19 INFO]: Client> at cpw.mods.fml.common.network.FMLIndexedMessageToMessageCodec.decode(FMLIndexedMessageToMessageCodec.java:16) ~[FMLIndexedMessageToMessageCodec.class:?]

[06:38:19 INFO]: Client> at io.netty.handler.codec.MessageToMessageCodec$2.decode(MessageToMessageCodec.java:81) ~[MessageToMessageCodec$2.class:?]

[06:38:19 INFO]: Client> at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:89) ~[MessageToMessageDecoder.class:?]

[06:38:19 INFO]: Client> ... 18 more

[06:38:19 INFO]: Client> [06:38:19] [Netty Client IO #1/ERROR] [FML]: NetworkDispatcher exception

[06:38:19 INFO]: Client> io.netty.handler.codec.EncoderException: java.io.IOException: Can't serialize unregistered packet

[06:38:19 INFO]: Client> at io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:129) ~[MessageToByteEncoder.class:?]

[06:38:19 INFO]: Client> at io.netty.channel.DefaultChannelHandlerContext.invokeWrite(DefaultChannelHandlerContext.java:644) ~[DefaultChannelHandlerContext.class:?]

[06:38:19 INFO]: Client> at io.netty.channel.DefaultChannelHandlerContext.write(DefaultChannelHandlerContext.java:698) ~[DefaultChannelHandlerContext.class:?]

[06:38:19 INFO]: Client> at io.netty.channel.DefaultChannelHandlerContext.write(DefaultChannelHandlerContext.java:637) ~[DefaultChannelHandlerContext.class:?]

[06:38:19 INFO]: Client> at cpw.mods.fml.common.network.handshake.NetworkDispatcher.write(NetworkDispatcher.java:405) ~[NetworkDispatcher.class:?]

[06:38:19 INFO]: Client> at io.netty.channel.DefaultChannelHandlerContext.invokeWrite(DefaultChannelHandlerContext.java:644) ~[DefaultChannelHandlerContext.class:?]

[06:38:19 INFO]: Client> at io.netty.channel.DefaultChannelHandlerContext.write(DefaultChannelHandlerContext.java:698) ~[DefaultChannelHandlerContext.class:?]

[06:38:19 INFO]: Client> at io.netty.channel.DefaultChannelHandlerContext.writeAndFlush(DefaultChannelHandlerContext.java:688) ~[DefaultChannelHandlerContext.class:?]

[06:38:19 INFO]: Client> at io.netty.channel.DefaultChannelHandlerContext.writeAndFlush(DefaultChannelHandlerContext.java:717) ~[DefaultChannelHandlerContext.class:?]

[06:38:19 INFO]: Client> at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:893) ~[DefaultChannelPipeline.class:?]

[06:38:19 INFO]: Client> at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:239) ~[AbstractChannel.class:?]

[06:38:19 INFO]: Client> at net.minecraft.network.NetworkManager$1.run(NetworkManager.java:159) [eg.class:?]

[06:38:19 INFO]: Client> at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:354) [singleThreadEventExecutor.class:?]

[06:38:19 INFO]: Client> at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:348) [NioEventLoop.class:?]

[06:38:19 INFO]: Client> at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:101) [singleThreadEventExecutor$2.class:?]

[06:38:19 INFO]: Client> at java.lang.Thread.run(Thread.java:744) [?:1.7.0_51]

[06:38:19 INFO]: Client> Caused by: java.io.IOException: Can't serialize unregistered packet

[06:38:19 INFO]: Client> at net.minecraft.util.MessageSerializer.encode(SourceFile:28) ~[er.class:?]

[06:38:19 INFO]: Client> at net.minecraft.util.MessageSerializer.encode(SourceFile:14) ~[er.class:?]

[06:38:19 INFO]: Client> at io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:111) ~[MessageToByteEncoder.class:?]

[06:38:19 INFO]: Client> ... 15 more

[06:38:19 INFO]: Client> [06:38:19] [Client thread/INFO] [FML]: [Client thread] Client side modded connection established

 

 

 

Since this is the first time testing mods across TCP, I expected no problems. Vanilla works perfectly. This mod is so simple it only creates a few ores and some smelted items.

 

Earlier on in the client log, I am seeing this (never saw it before):

 

 

06:38:00 INFO]: Client> [06:38:00] [Client thread/ERROR] [FML]: Unable to determine registrant mod for net.minecraftforge.common.ForgeInternalHandler@6beebab1. This is a critical error and should be impossible

[06:38:00 INFO]: Client> java.lang.Throwable

[06:38:00 INFO]: Client> at cpw.mods.fml.common.eventhandler.EventBus.register(EventBus.java:42) [EventBus.class:?]

[06:38:00 INFO]: Client> at net.minecraftforge.common.MinecraftForge.initialize(MinecraftForge.java:46) [MinecraftForge.class:?]

[06:38:00 INFO]: Client> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_51]

[06:38:00 INFO]: Client> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_51]

[06:38:00 INFO]: Client> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_51]

[06:38:00 INFO]: Client> at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_51]

[06:38:00 INFO]: Client> at cpw.mods.fml.common.FMLCommonHandler.callForgeMethod(FMLCommonHandler.java:184) [FMLCommonHandler.class:?]

[06:38:00 INFO]: Client> at cpw.mods.fml.common.FMLCommonHandler.beginLoading(FMLCommonHandler.java:96) [FMLCommonHandler.class:?]

[06:38:00 INFO]: Client> at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:178) [FMLClientHandler.class:?]

[06:38:00 INFO]: Client> at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:495) [azd.class:?]

[06:38:00 INFO]: Client> at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:849) [azd.class:?]

[06:38:00 INFO]: Client> at net.minecraft.client.main.Main.main(SourceFile:103) [Main.class:?]

[06:38:00 INFO]: Client> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_51]

[06:38:00 INFO]: Client> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_51]

[06:38:00 INFO]: Client> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_51]

[06:38:00 INFO]: Client> at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_51]

[06:38:00 INFO]: Client> at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?]

[06:38:00 INFO]: Client> at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?]

 

 

 

Link to comment
Share on other sites

Never mind! I guess the forge release caused the problem. After setting both to 1029, the problem disappeared.

 

I am going to update both to the cutting edge and see what shakes out now.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.