IC2 crashing my Forge server [Solved]

  • Hey so i made a Forge server for minecraft 1.12.2 and whenever i want to run IC2 on it it just doesen't work every time it crashes.

    I really don't have a lot of experiance with Forge servers.



    Here's the Crash report



    ---- Minecraft Crash Report ----

    // Don't do that.


    Time: 06.04.20 18:35

    Description: Exception in server tick loop


    net.minecraftforge.fml.common.LoaderExceptionModCrash: Caught exception from IndustrialCraft 2 (ic2)

    Caused by: java.lang.NoClassDefFoundError: net/minecraft/client/gui/GuiScreen

    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.newInstance(Unknown Source)

    at ic2.core.ref.TeBlock.buildDummies(TeBlock.java:464)

    at ic2.core.IC2.init(IC2.java:335)

    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 net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:637)

    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.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.initializeMods(Loader.java:749)

    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.func_71197_b(DedicatedServer.java:219)

    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:486)

    at java.lang.Thread.run(Unknown Source)

    Caused by: java.lang.ClassNotFoundException: net.minecraft.client.gui.GuiScreen

    at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191)

    at java.lang.ClassLoader.loadClass(Unknown Source)

    at java.lang.ClassLoader.loadClass(Unknown Source)

    ... 42 more

    Caused by: net.minecraftforge.fml.common.asm.ASMTransformerWrapper$TransformerException: Exception in class transformer net.minecraftforge.fml.common.asm.transformers.SideTransformer@1a6ee17 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)

    ... 44 more

    Caused by: java.lang.RuntimeException: Attempted to load class blk 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)

    ... 46 more



    A detailed walkthrough of the error, its code path and all known details is as follows:

    ---------------------------------------------------------------------------------------


    -- System Details --

    Details:

    Minecraft Version: 1.12.2

    Operating System: Windows 10 (x86) version 10.0

    Java Version: 1.8.0_241, Oracle Corporation

    Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation

    Memory: 867680904 bytes (827 MB) / 1037959168 bytes (989 MB) up to 1037959168 bytes (989 MB)

    JVM Flags: 2 total; -Xmx1G -Xms1G

    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0

    FML: MCP 9.42 Powered by Forge 14.23.5.2847 5 mods loaded, 5 mods active

    States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored


    | State | ID | Version | Source | Signature |

    |:----- |:--------- |:------------- |:--------------------------------------- |:---------------------------------------- |

    | LCHI | minecraft | 1.12.2 | minecraft.jar | None |

    | LCHI | mcp | 9.42 | minecraft.jar | None |

    | LCHI | FML | 8.0.99.99 | forge-1.12.2-14.23.5.2847-universal.jar | None |

    | LCHI | forge | 14.23.5.2847 | forge-1.12.2-14.23.5.2847-universal.jar | None |

    | LCHE | ic2 | 2.8.196-ex112 | industrialcraft-2-2.8.196-ex112.jar | de041f9f6187debbc77034a344134053277aa3b0 |


    Loaded coremods (and transformers):

    Profiler Position: N/A (disabled)

    Is Modded: Definitely; Server brand changed to 'fml,forge'

    Type: Dedicated Server (map_server.txt)