
Mod crashes when running on server
dngoodman opened this issue ยท 4 comments
Just added this mod to my pack. Tested it on the client side and it seems like everything's fine. However, when starting my server I get the following error:
net.minecraftforge.fml.common.LoaderException: java.lang.NoClassDefFoundError: net/minecraft/client/audio/SoundManager
Looks like it's trying to load the sound manager and that's why it's failing. The full crash report is below:
---- Minecraft Crash Report ----
WARNING: coremods are present:
Inventory Tweaks Coremod (inventory-tweaks.jar)
LibLoader (# LibLoader.jar)
AppleCore (applecore.jar)
LittlePatchingLoader (littletiles.jar)
CoreMod (tickprofiler.jar)
Wizardry Plugin (wizardry-mod.jar)
LibrarianLib Plugin (librarianlib.jar)
IELoadingPlugin (ImmersiveEngineering-core-0.12-92.jar)
Quark Plugin (quark.jar)
CreativePatchingLoader (creativecore.jar)
llibrary (llibrary-core-1.0.11-1.12.2.jar)
LoadingPlugin (hardcore-darkness.jar)
ForgelinPlugin (shadowfacts-forgelin.jar)
BewitchmentFMLLoadingPlugin (bewitchment.jar)
iceandfire (ice-and-fire-dragons.jar)
offlineskins (OfflineSkins-1.12.2-v6-core.jar)
Plugin (notenoughids.jar)
SSLoadingPlugin (serene-seasons.jar)
Contact their authors BEFORE contacting forge
// There are four lights!
Time: 12/5/19 6:55 PM
Description: Exception in server tick loop
net.minecraftforge.fml.common.LoaderException: java.lang.NoClassDefFoundError: net/minecraft/client/audio/SoundManager
at net.minecraftforge.fml.common.AutomaticEventSubscriber.inject(AutomaticEventSubscriber.java:89)
at net.minecraftforge.fml.common.FMLModContainer.constructMod(FMLModContainer.java:612)
at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91)
at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)
at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)
at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)
at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)
at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)
at com.google.common.eventbus.EventBus.post(EventBus.java:217)
at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:219)
at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:197)
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.Subscriber.invokeSubscriberMethod(Subscriber.java:91)
at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)
at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)
at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)
at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)
at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)
at com.google.common.eventbus.EventBus.post(EventBus.java:217)
at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:136)
at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:595)
at net.minecraftforge.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:98)
at net.minecraftforge.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:333)
at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:125)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:486)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NoClassDefFoundError: net/minecraft/client/audio/SoundManager
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
at java.lang.Class.getConstructor0(Unknown Source)
at java.lang.Class.getConstructor(Unknown Source)
at net.minecraftforge.fml.common.eventhandler.EventBus.register(EventBus.java:128)
at net.minecraftforge.fml.common.eventhandler.EventBus.register(EventBus.java:112)
at net.minecraftforge.fml.common.AutomaticEventSubscriber.inject(AutomaticEventSubscriber.java:82)
... 31 more
Caused by: java.lang.ClassNotFoundException: net.minecraft.client.audio.SoundManager
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 38 more
Caused by: net.minecraftforge.fml.common.asm.ASMTransformerWrapper$TransformerException: Exception in class transformer net.minecraftforge.fml.common.asm.transformers.SideTransformer@35835fa from coremod FMLCorePlugin
at net.minecraftforge.fml.common.asm.ASMTransformerWrapper$TransformerWrapper.transform(ASMTransformerWrapper.java:260)
at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:279)
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176)
... 40 more
Caused by: java.lang.RuntimeException: Attempted to load class chm for invalid side SERVER
at net.minecraftforge.fml.common.asm.transformers.SideTransformer.transform(SideTransformer.java:62)
at net.minecraftforge.fml.common.asm.ASMTransformerWrapper$TransformerWrapper.transform(ASMTransformerWrapper.java:256)
... 42 more
Thanks for reporting this! Unfortunately I haven't had a chance to test/fix the mod on a dedicated server yet. I'll put a version out today which will hopefully resolve it.
This should be fixed in 1.1.3-beta although I won't be able to test it more rigorously until later.
If you have any problems please let me know.
Thanks again