Whenever I've tried to load a client version of my test mod as I'm trying to make one based off a friend's w his permission, i keep stumbling upon this crash:
Description: There was a severe problem during mod loading that has caused the game to fail
net.minecraftforge.fml.common.LoaderExceptionModCrash: Caught exception from Forge Mod Loader (FML) Caused by: java.lang.NullPointerException at net.minecraftforge.fml.common.network.NetworkRegistry.newChannel(NetworkRegistry.java:207) at net.minecraftforge.fml.common.network.internal.FMLNetworkHandler.registerChannel(FMLNetworkHandler.java:185) at net.minecraftforge.fml.common.FMLContainer.modConstruction(FMLContainer.java:92) 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.loadMods(Loader.java:595) at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:232) at net.minecraft.client.Minecraft.init(Minecraft.java:467) at net.minecraft.client.Minecraft.run(Minecraft.java:378) at net.minecraft.client.main.Main.main(SourceFile:123) 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.legacydev.Main.start(Main.java:86) at net.minecraftforge.legacydev.MainClient.main(MainClient.java:29)
If anyone can help me, please do. If I must, I will use applications such as TeamViewer so that those can come and see what I may or may not have done
Whenever I've tried to load a client version of my test mod as I'm trying to make one based off a friend's w his permission, i keep stumbling upon this crash:Description: There was a severe problem during mod loading that has caused the game to failnet.minecraftforge.fml.common.LoaderExceptionModCrash: Caught exception from Forge Mod Loader (FML)Caused by: java.lang.NullPointerExceptionat net.minecraftforge.fml.common.network.NetworkRegistry.newChannel(NetworkRegistry.java:207)at net.minecraftforge.fml.common.network.internal.FMLNetworkHandler.registerChannel(FMLNetworkHandler.java:185)at net.minecraftforge.fml.common.FMLContainer.modConstruction(FMLContainer.java:92)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.loadMods(Loader.java:595)at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:232)at net.minecraft.client.Minecraft.init(Minecraft.java:467)at net.minecraft.client.Minecraft.run(Minecraft.java:378)at net.minecraft.client.main.Main.main(SourceFile:123)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.legacydev.Main.start(Main.java:86)at net.minecraftforge.legacydev.MainClient.main(MainClient.java:29)If anyone can help me, please do. If I must, I will use applications such as TeamViewer so that those can come and see what I may or may not have donenvm, fixed it
Hello, what did you do to solve the problem?
About all forums just reply with "this is an old version we dont support it" etc.
French forge forums don't know the answer, and the only thing i found (deleting users/USER/.gradle) did not work.
I have the same problem with the latest version of Forge 1.12.2 (14.23.5.2854).
I tried running the client with the freshly unpacked empty example mod and it still failed.
The key is to not use the
provided from the package. My guess is this will download assets for Minecraft (like 1.16 maybe) that do not work with older versions of Forge.
The easiest way to avoid this is to jar up the file with
then copy {project-dir}/build/libs/{mod-id-here}.jar into the mods/ folder of an appropriate Forge installation (the same version as the MDK).
PS: Gradle by default uses 3GB of memory for its daemon. For Forge 1.12 you really only need 1G. You can change this in your gradle.properties