AhellHound Posted November 3, 2012 Posted November 3, 2012 I was curious as how I can make my mod SMP compatible, since i'm in the early stages of development, and would like to get this issue fixed as soon as possible. Crash Report ---- Minecraft Crash Report ---- // Surprise! Haha. Well, this is awkward. Time: 11/2/12 8:01 PM Description: Exception in server tick loop cpw.mods.fml.common.LoaderException: java.lang.NoClassDefFoundError: awz at cpw.mods.fml.common.LoadController.transition(LoadController.java:117) at cpw.mods.fml.common.Loader.initializeMods(Loader.java:652) at cpw.mods.fml.server.FMLServerHandler.finishServerLoading(FMLServerHandler.java:88) at cpw.mods.fml.common.FMLCommonHandler.onServerStarted(FMLCommonHandler.java:344) at hg.c(DedicatedServer.java:110) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:454) at fp.run(SourceFile:818) Caused by: java.lang.NoClassDefFoundError: awz at net.minecraftforge.client.MinecraftForgeClient.preloadTexture(MinecraftForgeClient.java:41) at com.ahellhound.skyrimmod.client.proxy.ClientProxy.registerRenderThings(ClientProxy.java:9) at com.ahellhound.skyrimmod.common.mod_ahellhound.load(mod_ahellhound.java:78) 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:440) 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:69) at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300) at com.google.common.eventbus.EventBus.post(EventBus.java:268) at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:140) 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:69) at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300) at com.google.common.eventbus.EventBus.post(EventBus.java:268) at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:83) at cpw.mods.fml.common.Loader.initializeMods(Loader.java:651) ... 5 more Caused by: java.lang.ClassNotFoundException: awz at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:126) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 34 more Caused by: java.lang.RuntimeException: Attempted to load class awz for invalid side SERVER at cpw.mods.fml.common.asm.transformers.SideTransformer.transform(SideTransformer.java:38) at cpw.mods.fml.relauncher.RelaunchClassLoader.runTransformers(RelaunchClassLoader.java:163) at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:119) ... 36 more Relevant Details: - Minecraft Version: 1.4.2 - Operating System: Windows 7 (amd64) version 6.1 - Java Version: 1.7.0_05, Oracle Corporation - Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation - Memory: 3858338480 bytes (3679 MB) / 4116054016 bytes (3925 MB) up to 11453267968 bytes (10922 MB) - JVM Flags: 2 total; -Xmx12G -Xms4G - AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used - FML: ~ERROR~ NullPointerException: null - Is Modded: Definitely; 'forge,fml' - Profiler Position: N/A (disabled) - Type: Dedicated Server Quote
Ebilkill Posted November 5, 2012 Posted November 5, 2012 You are referencing a client class on the server. Maybe use proxies or different methods to get around this problem. We can't help you any further without the crashing code though... There could also be a problem with your forge installation though, since there is no reference to your code in the log. Quote
XxArchangelz Posted November 9, 2012 Posted November 9, 2012 I was curious as how I can make my mod SMP compatible, since i'm in the early stages of development, and would like to get this issue fixed as soon as possible. Crash Report ---- Minecraft Crash Report ---- // Surprise! Haha. Well, this is awkward. Time: 11/2/12 8:01 PM Description: Exception in server tick loop cpw.mods.fml.common.LoaderException: java.lang.NoClassDefFoundError: awz at cpw.mods.fml.common.LoadController.transition(LoadController.java:117) at cpw.mods.fml.common.Loader.initializeMods(Loader.java:652) at cpw.mods.fml.server.FMLServerHandler.finishServerLoading(FMLServerHandler.java:88) at cpw.mods.fml.common.FMLCommonHandler.onServerStarted(FMLCommonHandler.java:344) at hg.c(DedicatedServer.java:110) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:454) at fp.run(SourceFile:818) Caused by: java.lang.NoClassDefFoundError: awz at net.minecraftforge.client.MinecraftForgeClient.preloadTexture(MinecraftForgeClient.java:41) at com.ahellhound.skyrimmod.client.proxy.ClientProxy.registerRenderThings(ClientProxy.java:9) at com.ahellhound.skyrimmod.common.mod_ahellhound.load(mod_ahellhound.java:78) 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:440) 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:69) at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300) at com.google.common.eventbus.EventBus.post(EventBus.java:268) at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:140) 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:69) at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300) at com.google.common.eventbus.EventBus.post(EventBus.java:268) at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:83) at cpw.mods.fml.common.Loader.initializeMods(Loader.java:651) ... 5 more Caused by: java.lang.ClassNotFoundException: awz at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:126) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 34 more Caused by: java.lang.RuntimeException: Attempted to load class awz for invalid side SERVER at cpw.mods.fml.common.asm.transformers.SideTransformer.transform(SideTransformer.java:38) at cpw.mods.fml.relauncher.RelaunchClassLoader.runTransformers(RelaunchClassLoader.java:163) at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:119) ... 36 more Relevant Details: - Minecraft Version: 1.4.2 - Operating System: Windows 7 (amd64) version 6.1 - Java Version: 1.7.0_05, Oracle Corporation - Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation - Memory: 3858338480 bytes (3679 MB) / 4116054016 bytes (3925 MB) up to 11453267968 bytes (10922 MB) - JVM Flags: 2 total; -Xmx12G -Xms4G - AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used - FML: ~ERROR~ NullPointerException: null - Is Modded: Definitely; 'forge,fml' - Profiler Position: N/A (disabled) - Type: Dedicated Server You have to create and use proxies for your code to work. The cool thing is its universal so you just code it once and it works both ways. Follow this http://www.minecraftforge.net/wiki/Tutorials/Basic_Modding 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.
Note: Your post will require moderator approval before it will be visible.