Gomo Posted October 5, 2013 Posted October 5, 2013 Hello there, First of all I'd like to apologize if I'm posting this in wrong forum section. I'll make it as short as possible. Basically my server was forcefully shut down due to power cut, and that caused some problems. Server doesn't want to run and I keep getting this error. 2013-10-06 01:44:40 [sEVERE] [ForgeModLoader] The following problems were captured during this phase 2013-10-06 01:44:40 [sEVERE] [ForgeModLoader] Caught exception from AtomicScience java.lang.NullPointerException at universalelectricity.prefab.flag.ModFlag.readFromNBT(ModFlag.java:34) at universalelectricity.prefab.flag.ModFlag.<init>(ModFlag.java:27) at atomicscience.ZhuYao.serverStarting(ZhuYao.java:719) 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 cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:494) at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74) at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) at com.google.common.eventbus.EventBus.post(EventBus.java:267) at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:192) at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:172) 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 com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74) at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) at com.google.common.eventbus.EventBus.post(EventBus.java:267) at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:103) at cpw.mods.fml.common.Loader.serverStarting(Loader.java:740) at cpw.mods.fml.common.FMLCommonHandler.handleServerStarting(FMLCommonHandler.java:314) at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:205) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:431) at net.minecraft.server.ThreadMinecraftServer.run(SourceFile:573) 2013-10-06 01:44:40 [sEVERE] [ForgeModLoader] A fatal exception occurred during the server starting event java.lang.NullPointerException at universalelectricity.prefab.flag.ModFlag.readFromNBT(ModFlag.java:34) at universalelectricity.prefab.flag.ModFlag.<init>(ModFlag.java:27) at atomicscience.ZhuYao.serverStarting(ZhuYao.java:719) 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 cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:494) at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74) at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) at com.google.common.eventbus.EventBus.post(EventBus.java:267) at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:192) at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:172) 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 com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74) at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) at com.google.common.eventbus.EventBus.post(EventBus.java:267) at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:103) at cpw.mods.fml.common.Loader.serverStarting(Loader.java:740) at cpw.mods.fml.common.FMLCommonHandler.handleServerStarting(FMLCommonHandler.java:314) at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:205) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:431) at net.minecraft.server.ThreadMinecraftServer.run(SourceFile:573) 2013-10-06 01:45:47 [iNFO] [Minecraft-Server] Stopping the server 2013-10-06 01:45:47 [iNFO] [Minecraft-Server] Stopping server If anyone knows how to fix it I'd really appreciate it! And if "fixing" isn't possible, I'd like to know how can I transfer my maps to brand new one. Thanks in advance, kind regards ~Gomo~ Quote
dainis Posted October 6, 2013 Posted October 6, 2013 I have the same problem.. can anyone help us out ? Quote
Clawx207 Posted October 9, 2013 Posted October 9, 2013 Try deleting the these files in your world folder forcedchinks level level.dat_old Modflags session.lock Quote
Gomo Posted October 9, 2013 Author Posted October 9, 2013 Try deleting the these files in your world folder forcedchinks level level.dat_old Modflags session.lock That didn't work. I got an error saying "failed to bind to port!", "the exception was: (0)" and after that I tried stopping the server which didn't work like it should & it kept showing "java.lang.NullPointerException" error Has anyone else got an idea / or knows how to fix this ? I would be really grateful. Quote
Clawx207 Posted October 9, 2013 Posted October 9, 2013 How are you running your server? Local? GameServer(McMyAdmin), Dedicated server(SSH)? Quote
Gomo Posted October 10, 2013 Author Posted October 10, 2013 Local server, via hamachi. Me and my friends play on it. Quote
Gomo Posted October 25, 2013 Author Posted October 25, 2013 Can somebody please tell me how to at least save / transfer my map. (I don't care about the player inventory - if it gets deleted) ? Any help is welcome! Quote
phazeonphoenix Posted October 26, 2013 Posted October 26, 2013 I ran into this issue too. To fix it: Stop your server. Rename your world save folder. Start your server. Let your server recreate the world save. Stop your server. Copy the ModFlags.dat file from the newly created world save into the old world save, overwriting the old ModFlags.dat. Remove the new world save. Rename your world save back to it's original name. Start your server. ... Profit! Quote
Gomo Posted October 26, 2013 Author Posted October 26, 2013 It worked, I don't know how to thank you. I really appreciate your help! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.