BuildCraft|Core

BuildCraft|Core

7M Downloads

[1.8.9] Null World Crash in Chunk-Loaded Dimension

oitsjustjose opened this issue ยท 11 comments

commented

FML Crash Report

So I can't take any photos of what I'm doing, so let me try to explain the setup. This may not be a fault of BuildCraft's, but rather a fault of EnderIO's (which is alpha, so that's fair - I can report it to CrazyPants if it's EnderIO).

I have a BloodMagic teleposer teleporting a BuildCraft Tank between the overworld (for Botania mana generation) and the nether (for a lava refill). This setup worked fine overnight, but today when I got on (and happened to get teleported by the Teleposer as I was walking by), the server threw this crash. Both sides are Chunk-Loaded, and now the server crashes promptly after the world has completed loading.

Any idea why my presence (assuming that that's what caused it, seeing as it only happened when I got teleposed to the nether too) would cause the tank's worldObj to be null? On the nether side, I am using EnderIO Pressurized Fluid Conduits to get lava from the pump to the tank for its transfer speed.

commented

it seems that the cause of this is a race condition, the tank is teleported and the fluid conduit tries to access it before the world of the tank is correctly set, probably cause the teleporter didn't finish yet

commented

This did also happen to @direwolf20 on ForgeCraft and he did only use BC pipes. The source and destination were both in the Overworld in his case.

commented

If you haven't already I would recommend opening an issue with ender IO and seeing if they have caused it.

commented

throwNullWorldCrash? having no world a is perfectly valid condition in vanilla. Not guarding against it I can understand, but doing it that way?

commented

@HenryLoenwind Actually the issue is that someone has added a BC tile to the world without setting its world object. This does not happen in vanilla, its only happened (so far) after it has been teleported via an enderIO teleporter.

commented

To clarify (after some thought) its defiantly BC's fault (sorry for blaming BM and enderIO) however BM's fix will ensure that it is ready to be used a few ticks before it normally would.

commented

It also happens with vanilla. We had had quite a lot of crashes on chunk-loading in 1.8.9 until we null-world-proofed all multi-blocks. There must have been some change in vanilla here.

commented

This also happens if you teleport a tank a few blocks, so its not chunkloading.

commented

Actually yeah on second thought I can just ignore it and pretend that the tile doesn't exist instead of throwing a tantrum.

commented

Nah, no worries, thanks for fixing it! /me anxiously waits for an update while also waiting for BC 8's massive changes ;D

commented

Should be fixed in 7.2.5