Jump to content

[1.12.2] Minecraft crashes when adding a mod to the equation


Recommended Posts

Posted (edited)

Hi Everyone!

I got some trouble with adding mods to my development environment.

I've set up my development environment as instructed by the forge documentation and added a mod (refined storage) to my run/mods folder.

When I then start minecraft by running it in eclipse it crashes while loading the game.

 

Here is a example of the crash report:

Spoiler

---- Minecraft Crash Report ----
// My bad.

Time: 3/4/18 1:38 PM
Description: There was a severe problem during mod loading that has caused the game to fail

net.minecraftforge.fml.common.LoaderExceptionModCrash: Caught exception from Refined Storage (refinedstorage)
Caused by: java.lang.NoClassDefFoundError: Lcom/raoulvdberge/refinedstorage/proxy/ProxyCommon;
    at java.lang.Class.getDeclaredFields0(Native Method)
    at java.lang.Class.privateGetDeclaredFields(Unknown Source)
    at java.lang.Class.getDeclaredField(Unknown Source)
    at net.minecraftforge.fml.common.ProxyInjector.inject(ProxyInjector.java:70)
    at net.minecraftforge.fml.common.FMLModContainer.constructMod(FMLModContainer.java:585)
    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:278)
    at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:256)
    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:148)
    at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:568)
    at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:231)
    at net.minecraft.client.Minecraft.init(Minecraft.java:513)
    at net.minecraft.client.Minecraft.run(Minecraft.java:421)
    at net.minecraft.client.main.Main.main(Main.java:118)
    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.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
    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.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
    at GradleStart.main(GradleStart.java:26)
Caused by: java.lang.ClassNotFoundException: com.raoulvdberge.refinedstorage.proxy.ProxyCommon
    at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    ... 47 more
Caused by: java.lang.RuntimeException: java.lang.ClassNotFoundException: com.raoulvdberge.refinedstorage.tile.TileBase
    at org.objectweb.asm.ClassWriter.getCommonSuperClass(ClassWriter.java:1728)
    at org.objectweb.asm.ClassWriter.getMergedType(ClassWriter.java:1698)
    at org.objectweb.asm.Frame.merge(Frame.java:1530)
    at org.objectweb.asm.Frame.merge(Frame.java:1429)
    at org.objectweb.asm.MethodWriter.visitMaxs(MethodWriter.java:1516)
    at org.objectweb.asm.commons.LocalVariablesSorter.visitMaxs(LocalVariablesSorter.java:165)
    at org.objectweb.asm.ClassReader.readCode(ClassReader.java:1634)
    at org.objectweb.asm.ClassReader.readMethod(ClassReader.java:1032)
    at org.objectweb.asm.ClassReader.accept(ClassReader.java:708)
    at org.objectweb.asm.ClassReader.accept(ClassReader.java:521)
    at net.minecraftforge.fml.common.asm.transformers.DeobfuscationTransformer.transform(DeobfuscationTransformer.java:51)
    at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:279)
    at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176)
    ... 49 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 (amd64) version 10.0
    Java Version: 1.8.0_161, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 693904304 bytes (661 MB) / 1136132096 bytes (1083 MB) up to 3812622336 bytes (3636 MB)
    JVM Flags: 0 total; 
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    FML: MCP 9.42 Powered by Forge 14.23.2.2624 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                                |
    |:----- |:-------------- |:------------ |:-------------------------------- |:---------------------------------------- |
    | UC    | minecraft      | 1.12.2       | minecraft.jar                    | None                                     |
    | UC    | mcp            | 9.42         | minecraft.jar                    | None                                     |
    | UC    | FML            | 8.0.99.99    | forgeSrc-1.12.2-14.23.2.2624.jar | None                                     |
    | UC    | forge          | 14.23.2.2624 | forgeSrc-1.12.2-14.23.2.2624.jar | None                                     |
    | UE    | refinedstorage | 1.5.31       | refinedstorage-1.5.31.jar        | 57893d5b90a7336e8c63fe1c1e1ce472c3d59578 |

    Loaded coremods (and transformers): 
    GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.6.0 NVIDIA 390.77' Renderer: 'GeForce GTX 560 Ti/PCIe/SSE2'

I've also tried this with other mod's and they also error on the java.lang.RuntimeException: java.lang.ClassNotFoundException with different classes.

 

I would love some help with this becouse I am out of idea's.

 

Edited by jerkuh
Posted

I added "refinedstorage-1.5.31.jar" to my modding dev. inside the run/mods folder, to try reproducing this crash.

It doesn't crash. So i think you are setting your workspace wrong. Did you downloaded the mod from the curse website? Or with the twitch app?

Never download it from anywhere else. It is very weird those classes are "missing"

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.