Logistics Pipes

Logistics Pipes

13M Downloads

NPE in CraftingPipeUpdatePacket

Opened this issue ยท 0 comments

commented

There seems to be some issue with CraftingPipeUpdatePackets on switching dimensions. I get the following client crash infreqently on switching from my Sync-clone on Galacticraft Mars to my clone on the overworld (both areas are chunkloaded):

java.lang.RuntimeException: java.lang.NullPointerException
at logisticspipes.network.PacketHandler.onPacketData(PacketHandler.java:83)
at logisticspipes.network.PacketHandler.onPacketData(PacketHandler.java:70)
at cpw.mods.fml.common.network.NetworkRegistry.handlePacket(NetworkRegistry.java:255)
at cpw.mods.fml.common.network.NetworkRegistry.handleCustomPacket(NetworkRegistry.java:245)
at cpw.mods.fml.common.network.FMLNetworkHandler.handlePacket250Packet(FMLNetworkHandler.java:85)
at net.minecraft.client.multiplayer.NetClientHandler.func_72501_a(NetClientHandler.java:1651)
at net.minecraft.network.packet.Packet250CustomPayload.func_73279_a(SourceFile:61)
at net.minecraft.network.TcpConnection.func_74428_b(TcpConnection.java:462)
at net.minecraft.client.multiplayer.NetClientHandler.func_72551_d(NetClientHandler.java:281)
at net.minecraft.client.multiplayer.WorldClient.func_72835_b(WorldClient.java:99)
at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1930)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:910)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:838)
at net.minecraft.client.main.Main.main(SourceFile:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:131)
at net.minecraft.launchwrapper.Launch.main(Launch.java:27)
Caused by: java.lang.NullPointerException
at logisticspipes.network.packets.pipe.CraftingPipeUpdatePacket.processPacket(CraftingPipeUpdatePacket.java:60)
at logisticspipes.network.PacketHandler.onPacketData(PacketHandler.java:79)
... 19 more

Full crash-report: http://pastebin.com/AzRa2uqt

Seems like some kind of race-condition on dimension load. For me this is only happening on the switch from Galacticraft Mars to Overwold. Moon and all other dimensions are fine.
Tested both on vanilla forge and mcpc+ using latest Resonant Rise (2.8.3.10) with Logistics Pipes [0.7.4.dev.184]. Result is the same in both cases: Client crashes, Server is ok and upon reconnect I am standing in the Overworld.