Jump to content

Recommended Posts

Posted

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~

Posted

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.

  • 2 weeks later...
Posted

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!

Posted

I ran into this issue too. To fix it:

  1. Stop your server.
  2. Rename your world save folder.
  3. Start your server.
  4. Let your server recreate the world save.
  5. Stop your server.
  6. Copy the ModFlags.dat file from the newly created world save into the old world save, overwriting the old ModFlags.dat.
  7. Remove the new world save.
  8. Rename your world save back to it's original name.
  9. Start your server.
  10. ...
  11. Profit!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...