Open acrankyturtle opened 6 years ago
What is that PistonFixEventHandler from the Redstone Plus mod doing there in that stacktrace? Can you please submit this to that mod too. Seems like they are doing something very weird
I removed Redstone++, then Forestry appeared in the log. I removed that, then MoreCommands, and now I am left with a crash log with no other addons that I can see. If I delete XNetWirelessChannels.dat, the server can boot. I got on the server, then logged off and the server immediately crashed with the same crash log and will no longer boot.
Thanks for the help, this seems like a really odd issue that popped up out of nowhere.
[01:21:25] [Server thread/ERROR] [FML]: Exception caught during firing event net.minecraftforge.fml.common.gameevent.TickEvent$WorldTickEvent@7c53aa08: java.lang.NullPointerException: null at mcjty.xnet.multiblock.XNetBlobData.getWorldBlob(XNetBlobData.java:33) ~[XNetBlobData.class:?] at mcjty.xnet.multiblock.XNetWirelessChannels.tick(XNetWirelessChannels.java:115) ~[XNetWirelessChannels.class:?] at mcjty.xnet.ForgeEventHandlers.onWorldTick(ForgeEventHandlers.java:38) ~[ForgeEventHandlers.class:?] at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_103_ForgeEventHandlers_onWorldTick_WorldTickEvent.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.onPostWorldTick(FMLCommonHandler.java:273) [FMLCommonHandler.class:?] at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:776) [MinecraftServer.class:?] at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:396) [nz.class:?] at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668) [MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526) [MinecraftServer.class:?] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_171] [01:21:25] [Server thread/ERROR] [FML]: Index: 1 Listeners: [01:21:25] [Server thread/ERROR] [FML]: 0: NORMAL [01:21:25] [Server thread/ERROR] [FML]: 1: ASM: mcjty.xnet.ForgeEventHandlers@6925aeec onWorldTick(Lnet/minecraftforge/fml/common/gameevent/TickEvent$WorldTickEvent;)V [01:21:25] [Server thread/ERROR] [minecraft/MinecraftServer]: Encountered an unexpected exception java.lang.NullPointerException: null at mcjty.xnet.multiblock.XNetBlobData.getWorldBlob(XNetBlobData.java:33) ~[XNetBlobData.class:?] at mcjty.xnet.multiblock.XNetWirelessChannels.tick(XNetWirelessChannels.java:115) ~[XNetWirelessChannels.class:?] at mcjty.xnet.ForgeEventHandlers.onWorldTick(ForgeEventHandlers.java:38) ~[ForgeEventHandlers.class:?] at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_103_ForgeEventHandlers_onWorldTick_WorldTickEvent.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.onPostWorldTick(FMLCommonHandler.java:273) ~[FMLCommonHandler.class:?] at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:776) ~[MinecraftServer.class:?] at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:396) ~[nz.class:?] at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668) ~[MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526) [MinecraftServer.class:?] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_171]
Confirmed, with the mods above disabled, the crash occurs on logout (possibly when the End unloads)? We had wireless routers before with no problems, but I just added the wireless ones to the End today. Once this initial crash happens, I cannot start the server until I delete XNetWirelessChannels.dat. But the crash and subsequent corruption occur again after logging back out.
Thanks again for taking the time to look at this! Hope this helps. Let me know if you need more information.
EDIT: If I destroy the Wireless Router in the end, the crash no longer occurs.
Here is the log:
[01:37:38] [Server thread/INFO] [minecraft/NetHandlerPlayServer]: cranky_turtle lost connection: Disconnected [01:37:38] [Server thread/INFO] [minecraft/DedicatedServer]: cranky_turtle left the game [01:37:39] [Server thread/INFO] [FML]: Unloading dimension 1 [01:37:39] [Server thread/INFO] [weirdinggadget]: All players have gone offline. Ticket is scheduled to expire at world time 49736415 [01:37:39] [Server thread/ERROR] [FML]: Exception caught during firing event net.minecraftforge.fml.common.gameevent.TickEvent$WorldTickEvent@4da73c9e: java.lang.NullPointerException: null at mcjty.xnet.multiblock.XNetBlobData.getWorldBlob(XNetBlobData.java:33) ~[XNetBlobData.class:?] at mcjty.xnet.multiblock.XNetWirelessChannels.tick(XNetWirelessChannels.java:115) ~[XNetWirelessChannels.class:?] at mcjty.xnet.ForgeEventHandlers.onWorldTick(ForgeEventHandlers.java:38) ~[ForgeEventHandlers.class:?] at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_57_ForgeEventHandlers_onWorldTick_WorldTickEvent.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.onPostWorldTick(FMLCommonHandler.java:273) [FMLCommonHandler.class:?] at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:776) [MinecraftServer.class:?] at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:396) [nz.class:?] at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668) [MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526) [MinecraftServer.class:?] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_171] [01:37:39] [Server thread/ERROR] [FML]: Index: 1 Listeners: [01:37:39] [Server thread/ERROR] [FML]: 0: NORMAL [01:37:39] [Server thread/ERROR] [FML]: 1: ASM: mcjty.xnet.ForgeEventHandlers@89e69ee onWorldTick(Lnet/minecraftforge/fml/common/gameevent/TickEvent$WorldTickEvent;)V [01:37:39] [Server thread/ERROR] [minecraft/MinecraftServer]: Encountered an unexpected exception java.lang.NullPointerException: null at mcjty.xnet.multiblock.XNetBlobData.getWorldBlob(XNetBlobData.java:33) ~[XNetBlobData.class:?] at mcjty.xnet.multiblock.XNetWirelessChannels.tick(XNetWirelessChannels.java:115) ~[XNetWirelessChannels.class:?] at mcjty.xnet.ForgeEventHandlers.onWorldTick(ForgeEventHandlers.java:38) ~[ForgeEventHandlers.class:?] at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_57_ForgeEventHandlers_onWorldTick_WorldTickEvent.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.onPostWorldTick(FMLCommonHandler.java:273) ~[FMLCommonHandler.class:?] at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:776) ~[MinecraftServer.class:?] at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:396) ~[nz.class:?] at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668) ~[MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526) [MinecraftServer.class:?] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_171]
Issue description: Getting an exception every time I start the server, resulting in a crash. The issue seems to occur due to a wireless channel issue. I opened MCEdit and deleted all wireless routers, but the crash still occurs.
Steps to reproduce: Not sure, I added a wireless router to the End, decided to do a restart to install a new mod (I removed the mod after the crash to make sure it's not the problem). I get the crash every time I start the server.
EDIT: I managed to get the server to boot by deleting XNetWirelessChannels.dat. Here is the corrupt version -- maybe it can help track the source of the issue.
XNetWirelessChannels.zip
Versions:
Relevant logs, if any:
[00:55:50] [Server thread/ERROR] [FML]: Exception caught during firing event net.minecraftforge.fml.common.gameevent.TickEvent$WorldTickEvent@2e51438a: java.lang.NullPointerException: null at mcjty.xnet.multiblock.XNetBlobData.getWorldBlob(XNetBlobData.java:33) ~[XNetBlobData.class:?] at mcjty.xnet.multiblock.XNetWirelessChannels.tick(XNetWirelessChannels.java:115) ~[XNetWirelessChannels.class:?] at mcjty.xnet.ForgeEventHandlers.onWorldTick(ForgeEventHandlers.java:38) ~[ForgeEventHandlers.class:?] at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_166_ForgeEventHandlers_onWorldTick_WorldTickEvent.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.onPostWorldTick(FMLCommonHandler.java:273) [FMLCommonHandler.class:?] at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:776) [MinecraftServer.class:?] at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:396) [nz.class:?] at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668) [MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526) [MinecraftServer.class:?] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_171] [00:55:50] [Server thread/ERROR] [FML]: Index: 4 Listeners: [00:55:50] [Server thread/ERROR] [FML]: 0: NORMAL [00:55:50] [Server thread/ERROR] [FML]: 1: ASM: sandro.RedstonePlusPlus.Modules.PistonFix.PistonFixEventHandler@56348f02 onTickEvent(Lnet/minecraftforge/fml/common/gameevent/TickEvent$WorldTickEvent;)V [00:55:50] [Server thread/ERROR] [FML]: 2: ASM: pl.asie.charset.lib.scheduler.Scheduler@2781da7a onWorldTick(Lnet/minecraftforge/fml/common/gameevent/TickEvent$WorldTickEvent;)V [00:55:50] [Server thread/ERROR] [FML]: 3: ASM: forestry.greenhouse.multiblock.blocks.ChunkEvents@578645df onWorldTick(Lnet/minecraftforge/fml/common/gameevent/TickEvent$WorldTickEvent;)V [00:55:50] [Server thread/ERROR] [FML]: 4: ASM: mcjty.xnet.ForgeEventHandlers@44a5825 onWorldTick(Lnet/minecraftforge/fml/common/gameevent/TickEvent$WorldTickEvent;)V [00:55:50] [Server thread/ERROR] [FML]: 5: ASM: forestry.core.TickHandlerCoreServer@7ff1b8e onWorldTick(Lnet/minecraftforge/fml/common/gameevent/TickEvent$WorldTickEvent;)V [00:55:50] [Server thread/ERROR] [FML]: 6: ASM: forestry.core.multiblock.MultiblockServerTickHandler@fac0191 onWorldTick(Lnet/minecraftforge/fml/common/gameevent/TickEvent$WorldTickEvent;)V [00:55:50] [Server thread/ERROR] [FML]: 7: ASM: com.mrnobody.morecommands.event.EventHandler$ForgeEventHandler@2294c2dc post(Lnet/minecraftforge/fml/common/eventhandler/Event;)Z [00:55:50] [Server thread/ERROR] [minecraft/MinecraftServer]: Encountered an unexpected exception java.lang.NullPointerException: null at mcjty.xnet.multiblock.XNetBlobData.getWorldBlob(XNetBlobData.java:33) ~[XNetBlobData.class:?] at mcjty.xnet.multiblock.XNetWirelessChannels.tick(XNetWirelessChannels.java:115) ~[XNetWirelessChannels.class:?] at mcjty.xnet.ForgeEventHandlers.onWorldTick(ForgeEventHandlers.java:38) ~[ForgeEventHandlers.class:?] at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_166_ForgeEventHandlers_onWorldTick_WorldTickEvent.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.onPostWorldTick(FMLCommonHandler.java:273) ~[FMLCommonHandler.class:?] at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:776) ~[MinecraftServer.class:?] at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:396) ~[nz.class:?] at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668) ~[MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526) [MinecraftServer.class:?] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_171]