Mekanism

Mekanism

111M Downloads

Crash on placing block

superpie43 opened this issue ยท 7 comments

commented

In my single player world, I placed down a heat generator onto a lava block to generate passive power, and the world immediately shut down and the message "A fatal error has occurred, this connection is terminated" after which the server select pops up. Whenever I try logging back into the same world the error happens again. This produces no crash report.

commented

I am having the same problem does anyone know a fix ??

commented

Minecraft 1.7.10
With forge versions 1194-98.
Mechanism V.7.0.0.85
Generators V.7.0.0.85

This happends when placing any mechanism blocks with metadata, it's not a 100% to happend, but when it happends placed blocks reverts to blocks without metadata.

[21:17:22] [Server thread/WARN]: Failed to handle packet for /ip:port
java.lang.NullPointerException
at mekanism.common.item.ItemBlockBasic.placeBlockAt(ItemBlockBasic.java:157) ~[ItemBlockBasic.class:?]
at net.minecraft.item.ItemBlock.func_77648_a(ItemBlock.java:103) ~[abh.class:?]
at net.minecraft.item.ItemStack.func_77943_a(ItemStack.java:127) ~[add.class:?]
at net.minecraft.server.management.ItemInWorldManager.func_73078_a(ItemInWorldManager.java:389) ~[mx.class:?]
at net.minecraft.network.NetHandlerPlayServer.func_147346_a(NetHandlerPlayServer.java:554) ~[nh.class:?]
at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.func_148833_a(SourceFile:60) ~[jo.class:?]
at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.func_148833_a(SourceFile:9) ~[jo.class:?]
at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:212) ~[ej.class:?]
at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:165) [nc.class:?]
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:659) [MinecraftServer.class:?]
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:335) [lt.class:?]
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:547) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:427) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685) [li.class:?]

commented

That in particular should only be able to happen if the block you're placing is a bin. Is this happening with other blocks? By the stacktrace it looks like this is a server-side crash, is it happening in SSP games as well?

commented

It happens in single player for me. It also happens with any mekanism block, be it a machine or a generator

commented

The crash was when placing a bin, but happends with other mechanism blocks aswell.
But the change that happend when placing a block with metadata and it reverts to the block without metadata happends in other mods as well, so that should be a forge problem.

commented

Seems like it's not a Mekanism issue then. Closing!

commented

Yup, this was known issue with forge and meta data in the versions you mentioned and was recently fixed in forge 1199. Supposedly.