Integrated Derivative

Integrated Derivative

99.7k Downloads

Server crash: `NoClassDefFoundError: net/minecraft/client/Minecraft at com.teamdimensional.integratedderivative.recipe.CopyODCChannelRecipe.getRecipeOutput`

Krutoy242 opened this issue ยท 2 comments

commented

Launching server with version 1.1.1 causing crash. Removing mod fix the issue.

java.lang.NoClassDefFoundError: net/minecraft/client/Minecraft
    at com.teamdimensional.integratedderivative.recipe.CopyODCChannelRecipe.getRecipeOutput(CopyODCChannelRecipe.java:73)
    at com.brandon3055.draconicevolution.lib.RecipeManager.lambda$registerEvent$0(RecipeManager.java:67)
    at java.util.Iterator.forEachRemaining(Iterator.java:116)
    at com.google.common.collect.Maps$IteratorBasedAbstractMap.forEachEntry(Maps.java:3661)
    at com.google.common.collect.Maps$IteratorBasedAbstractMap$1.forEach(Maps.java:3655)
    at java.util.Collections$UnmodifiableCollection.forEach(Collections.java:1082)
    at com.brandon3055.draconicevolution.lib.RecipeManager.registerEvent(RecipeManager.java:66)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_1695_RecipeManager_registerEvent_Register.invoke(.dynamic)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
    at net.minecraftforge.fml.common.eventhandler.EventBus$1.invoke(EventBus.java:144)
    at com.github.terminatornl.laggoggles.tickcentral.EventBusTransformer.redirectEvent(EventBusTransformer.java:67)
    at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182)
    at net.minecraftforge.registries.GameData.fireRegistryEvents(GameData.java:857)
    at net.minecraftforge.common.crafting.CraftingHelper.loadRecipes(CraftingHelper.java:636)
    at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:747)
    at net.minecraftforge.fml.server.FMLServerHandler.finishServerLoading(FMLServerHandler.java:108)
    at net.minecraftforge.fml.common.FMLCommonHandler.onServerStarted(FMLCommonHandler.java:338)
    at net.minecraft.server.dedicated.DedicatedServer.init(DedicatedServer.java:219)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:1802)
    at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.ClassNotFoundException: net.minecraft.client.Minecraft
    at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
    ... 20 more
Caused by: net.minecraftforge.fml.common.asm.ASMTransformerWrapper$TransformerException: Exception in class transformer net.minecraftforge.fml.common.asm.transformers.SideTransformer@7f13811b 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)
    ... 22 more
Caused by: java.lang.RuntimeException: Attempted to load class bib 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)
    ... 24 more

crash-2024-11-09_12.49.18-server.txt

commented

The method appears to attempt to load the clientside MC class. Expect a fix today

commented

fixed in 1.1.1 (a while ago, I just forgot to close the issue)