simon9664 Posted January 12, 2015 Share Posted January 12, 2015 Im using a forge 1.7.10 server with a mod for 1.7.10 in a .zip. The mod makes the server crash. The mod works in singleplayer but not on a server. Here is my log 12.01 11:49:54 [Multicraft] Server stopped 12.01 11:49:54 [Multicraft] Server shut down 12.01 11:49:54 [server] FML The state engine was in incorrect state ERRORED and forced into state AVAILABLE. Errors may have been discarded. 12.01 11:49:54 [server] FML The state engine was in incorrect state ERRORED and forced into state SERVER_STOPPED. Errors may have been discarded. 12.01 11:49:54 [server] FML Holder lookups applied 12.01 11:49:54 [server] FML Applying holder lookups 12.01 11:49:54 [server] FML Can't revert to frozen GameData state without freezing first. 12.01 11:49:54 [server] Server thread/ERROR This crash report has been saved to: /./crash-reports/crash-2015-01-12_11.49.54-server.txt 12.01 11:49:54 [server] INFO Caused by: java.lang.NullPointerException 12.01 11:49:54 [server] INFO ... 36 more 12.01 11:49:54 [server] INFO at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ~[?:1.7.0_71] 12.01 11:49:54 [server] INFO at java.lang.ClassLoader.loadClass(ClassLoader.java:425) ~[?:1.7.0_71] 12.01 11:49:54 [server] INFO at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191) ~[launchwrapper-1.11.jar:?] 12.01 11:49:54 [server] INFO Caused by: java.lang.ClassNotFoundException: net.minecraft.client.entity.EntityClientPlayerMP 12.01 11:49:54 [server] INFO at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685) [li.class:?] 12.01 11:49:54 [server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:387) [MinecraftServer.class:?] 12.01 11:49:54 [server] INFO at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:117) ~[lt.class:?] 12.01 11:49:54 [server] INFO at cpw.mods.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:314) ~[FMLCommonHandler.class:?] 12.01 11:49:54 [server] INFO at cpw.mods.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:87) ~[FMLServerHandler.class:?] 12.01 11:49:54 [server] INFO at cpw.mods.fml.common.Loader.loadMods(Loader.java:492) ~[Loader.class:?] 12.01 11:49:54 [server] INFO at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:118) ~[LoadController.class:?] 12.01 11:49:54 [server] INFO at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[minecraft_server.1.7.10.jar:?] 12.01 11:49:54 [server] INFO at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[minecraft_server.1.7.10.jar:?] 12.01 11:49:54 [server] INFO at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[minecraft_server.1.7.10.jar:?] 12.01 11:49:54 [server] INFO at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[minecraft_server.1.7.10.jar:?] 12.01 11:49:54 [server] INFO at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[minecraft_server.1.7.10.jar:?] 12.01 11:49:54 [server] INFO at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_71] 12.01 11:49:54 [server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_71] 12.01 11:49:54 [server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_71] 12.01 11:49:54 [server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_71] 12.01 11:49:54 [server] INFO at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187) ~[LoadController.class:?] 12.01 11:49:54 [server] INFO at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:208) ~[LoadController.class:?] 12.01 11:49:54 [server] INFO at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[minecraft_server.1.7.10.jar:?] 12.01 11:49:54 [server] INFO at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[minecraft_server.1.7.10.jar:?] 12.01 11:49:54 [server] INFO at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[minecraft_server.1.7.10.jar:?] 12.01 11:49:54 [server] INFO at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[minecraft_server.1.7.10.jar:?] 12.01 11:49:54 [server] INFO at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[minecraft_server.1.7.10.jar:?] 12.01 11:49:54 [server] INFO at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_71] 12.01 11:49:54 [server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_71] 12.01 11:49:54 [server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_71] 12.01 11:49:54 [server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_71] 12.01 11:49:54 [server] INFO at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:486) ~[FMLModContainer.class:?] 12.01 11:49:54 [server] INFO at cpw.mods.fml.common.ILanguageAdapter$JavaAdapter.getNewInstance(ILanguageAdapter.java:173) ~[iLanguageAdapter$JavaAdapter.class:?] 12.01 11:49:54 [server] INFO at java.lang.Class.newInstance(Class.java:379) ~[?:1.7.0_71] 12.01 11:49:54 [server] INFO at java.lang.reflect.Constructor.newInstance(Constructor.java:526) ~[?:1.7.0_71] 12.01 11:49:54 [server] INFO at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.7.0_71] 12.01 11:49:54 [server] INFO at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) ~[?:1.7.0_71] 12.01 11:49:54 [server] INFO at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.7.0_71] 12.01 11:49:54 [server] INFO at mod.mcreator.SurvivalCraft.<init>(SurvivalCraft.java:108) ~[survivalCraft.class:?] 12.01 11:49:54 [server] INFO at mod.mcreator.mcreator_subrestenOre.<clinit>(mcreator_subrestenOre.java:118) ~[mcreator_subrestenOre.class:?] 12.01 11:49:54 [server] INFO java.lang.NoClassDefFoundError: net/minecraft/client/entity/EntityClientPlayerMP 12.01 11:49:54 [server] Server thread/ERROR Encountered an unexpected exception 12.01 11:49:53 [server] : Attempting connection with missing mods [mcp, FML, Forge, SurvivalCraft at SERVER 12.01 11:49:53 [server] : Attempting connection with missing mods [mcp, FML, Forge, SurvivalCraft at CLIENT 12.01 11:49:53 [server] FML Forge Mod Loader has identified 4 mods to load 12.01 11:49:53 [server] FML Searching /mods for mods 12.01 11:49:52 [server] MinecraftForge Completed early MinecraftForge initialization 12.01 11:49:52 [server] FML Replaced 182 ore recipies 12.01 11:49:52 [server] FML MinecraftForge v10.13.2.1230 Initialized 12.01 11:49:52 [server] MinecraftForge Attempting early MinecraftForge initialization 12.01 11:49:52 [server] Server thread/INFO Starting minecraft server version 1.7.10 12.01 11:49:49 [Multicraft] Received stop command 12.01 11:49:48 [server] LaunchWrapper Launching wrapped minecraft {net.minecraft.server.MinecraftServer} 12.01 11:49:47 [server] LaunchWrapper Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker 12.01 11:49:47 [server] LaunchWrapper Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker 12.01 11:49:46 [server] LaunchWrapper Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker 12.01 11:49:46 [server] LaunchWrapper Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper 12.01 11:49:46 [server] FML Found valid fingerprint for Minecraft Forge. Certificate fingerprint e3c3d50c7c986df74c645c0ac54639741c90a557 12.01 11:49:44 [server] LaunchWrapper Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper 12.01 11:49:44 [server] LaunchWrapper Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker 12.01 11:49:44 [server] LaunchWrapper Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker 12.01 11:49:44 [server] LaunchWrapper Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker 12.01 11:49:44 [server] LaunchWrapper Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker 12.01 11:49:44 [server] FML Java is OpenJDK 64-Bit Server VM, version 1.7.0_71, running on Linux:amd64:2.6.32-431.el6.x86_64, installed at /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.71.x86_64/jre 12.01 11:49:44 [server] FML Forge Mod Loader version 7.10.85.1230 for Minecraft 1.7.10 loading 12.01 11:49:43 [Multicraft] Stopping server! 12.01 11:49:43 [Multicraft] Received stop command 12.01 11:49:43 [server] LaunchWrapper Calling tweak class cpw.mods.fml.common.launcher.FMLServerTweaker 12.01 11:49:43 [server] LaunchWrapper Using primary tweak class name cpw.mods.fml.common.launcher.FMLServerTweaker 12.01 11:49:43 [server] LaunchWrapper Loading tweak class name cpw.mods.fml.common.launcher.FMLServerTweaker 12.01 11:49:41 [Multicraft] Loaded config for "Default" 12.01 11:49:41 [Multicraft] Starting server! 12.01 11:49:41 [Multicraft] Loading server properties 12.01 11:49:41 [Multicraft] Server stopped 12.01 11:49:41 [Multicraft] Retrying server startup 12.01 11:49:36 [Multicraft] Server stopped 12.01 11:49:36 [Multicraft] Server shut down 12.01 11:49:35 [server] FML The state engine was in incorrect state ERRORED and forced into state AVAILABLE. Errors may have been discarded. 12.01 11:49:35 [server] FML The state engine was in incorrect state ERRORED and forced into state SERVER_STOPPED. Errors may have been discarded. 12.01 11:49:35 [server] FML Holder lookups applied 12.01 11:49:35 [server] FML Applying holder lookups 12.01 11:49:35 [server] FML Can't revert to frozen GameData state without freezing first. 12.01 11:49:35 [server] Server thread/ERROR This crash report has been saved to: /./crash-reports/crash-2015-01-12_11.49.35-server.txt 12.01 11:49:35 [server] INFO Caused by: java.lang.NullPointerException 12.01 11:49:35 [server] INFO ... 36 more 12.01 11:49:35 [server] INFO at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ~[?:1.7.0_71] 12.01 11:49:35 [server] INFO at java.lang.ClassLoader.loadClass(ClassLoader.java:425) ~[?:1.7.0_71] 12.01 11:49:35 [server] INFO at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191) ~[launchwrapper-1.11.jar:?] 12.01 11:49:35 [server] INFO Caused by: java.lang.ClassNotFoundException: net.minecraft.client.entity.EntityClientPlayerMP 12.01 11:49:35 [server] INFO at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685) [li.class:?] 12.01 11:49:35 [server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:387) [MinecraftServer.class:?] 12.01 11:49:35 [server] INFO at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:117) ~[lt.class:?] 12.01 11:49:35 [server] INFO at cpw.mods.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:314) ~[FMLCommonHandler.class:?] 12.01 11:49:35 [server] INFO at cpw.mods.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:87) ~[FMLServerHandler.class:?] 12.01 11:49:35 [server] INFO at cpw.mods.fml.common.Loader.loadMods(Loader.java:492) ~[Loader.class:?] 12.01 11:49:35 [server] INFO at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:118) ~[LoadController.class:?] 12.01 11:49:35 [server] INFO at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[minecraft_server.1.7.10.jar:?] 12.01 11:49:35 [server] INFO at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[minecraft_server.1.7.10.jar:?] 12.01 11:49:35 [server] INFO at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[minecraft_server.1.7.10.jar:?] 12.01 11:49:35 [server] INFO at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[minecraft_server.1.7.10.jar:?] 12.01 11:49:35 [server] INFO at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[minecraft_server.1.7.10.jar:?] 12.01 11:49:35 [server] INFO at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_71] 12.01 11:49:35 [server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_71] 12.01 11:49:35 [server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_71] 12.01 11:49:35 [server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_71] 12.01 11:49:35 [server] INFO at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187) ~[LoadController.class:?] 12.01 11:49:35 [server] INFO at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:208) ~[LoadController.class:?] 12.01 11:49:35 [server] INFO at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[minecraft_server.1.7.10.jar:?] 12.01 11:49:35 [server] INFO at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[minecraft_server.1.7.10.jar:?] 12.01 11:49:35 [server] INFO at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[minecraft_server.1.7.10.jar:?] I remove the mod and the server doesn't crash. Quote Link to comment Share on other sites More sharing options...
simon9664 Posted April 20, 2015 Author Share Posted April 20, 2015 I am the author of this mod. When I export the mod, the program I use exports it as a .zip. There is no way I can export it as a .jar with the version I'm using. Quote Link to comment Share on other sites More sharing options...
galaxyoyo Posted April 20, 2015 Share Posted April 20, 2015 Does the crash appears on client ? I've got this bug, the problem was I used the Minecraft.getMinecraft().thePlayer, and it returns a EntityClientPlayerMP. On server, this class doesn't exist, that's why it makes crashes. I think it's not related to the zip format. This is deprecated, but I think it works. But the jar format is better, and Forge Gradle uses this format, why do you convert it in zip format ? Quote Link to comment Share on other sites More sharing options...
LexManos Posted April 20, 2015 Share Posted April 20, 2015 DO NOT use MCreator -.- If you're gunna make a mod, then make it. Quote I do Forge for free, however the servers to run it arn't free, so anything is appreciated. Consider supporting the team on Patreon Link to comment Share on other sites More sharing options...
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.
Note: Your post will require moderator approval before it will be visible.