MineMaarten / Signals

Minecraft mod that adds OpenTTD style signaling and more!
GNU General Public License v3.0
17 stars 14 forks source link

Server death loop and total client kill #73

Closed cpw closed 6 years ago

cpw commented 6 years ago

Trying to do a rail link between two dimensions. As soon as I clicked I got complete crash of the server, as well as all clients crashing as well. Brutal fatality. The server is now in a death loop.

[02:05:21] [Server thread/ERROR] [FML]: Exception caught during firing event net.minecraftforge.fml.common.gameevent.TickEvent$ServerTickEvent@7627633c:
java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.NullPointerException
    at com.minemaarten.signals.rail.network.mc.RailNetworkManager.checkForNewNetwork(RailNetworkManager.java:244) ~[RailNetworkManager.class:?]
    at com.minemaarten.signals.rail.network.mc.RailNetworkManager.onPostServerTick(RailNetworkManager.java:278) ~[RailNetworkManager.class:?]
    at com.minemaarten.signals.event.EventHandler.onPostServerTick(EventHandler.java:169) ~[EventHandler.class:?]
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_1137_EventHandler_onPostServerTick_ServerTickEvent.invoke(.dynamic) ~[?:?]
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) ~[ASMEventHandler.class:?]
    at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182) [EventBus.class:?]
    at net.minecraftforge.fml.common.FMLCommonHandler.onPostServerTick(FMLCommonHandler.java:265) [FMLCommonHandler.class:?]
    at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:712) [MinecraftServer.class:?]
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526) [MinecraftServer.class:?]
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_151]
Caused by: java.util.concurrent.ExecutionException: java.lang.NullPointerException
    at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_151]
    at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_151]
    at com.minemaarten.signals.rail.network.mc.RailNetworkManager.checkForNewNetwork(RailNetworkManager.java:228) ~[RailNetworkManager.class:?]
    ... 9 more
Caused by: java.lang.NullPointerException
    at com.minemaarten.signals.rail.network.PosAABB.<init>(PosAABB.java:27) ~[PosAABB.class:?]
    at com.minemaarten.signals.rail.network.PosAABB.<init>(PosAABB.java:13) ~[PosAABB.class:?]
    at com.minemaarten.signals.rail.network.RailSection.<init>(RailSection.java:32) ~[RailSection.class:?]
    at com.minemaarten.signals.rail.network.RailNetwork.buildRailSections(RailNetwork.java:149) ~[RailNetwork.class:?]
    at com.minemaarten.signals.rail.network.RailNetwork.build(RailNetwork.java:87) ~[RailNetwork.class:?]
    at com.minemaarten.signals.rail.network.mc.RailNetworkManager.lambda$applyUpdates$2(RailNetworkManager.java:258) ~[RailNetworkManager.class:?]
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_151]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_151]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_151]
    ... 1 more
cpw commented 6 years ago

Update: moving signalsRailnetwork.dat out of the way and restarting still results in the same crash.