Topic category: Troubleshooting, bugs, and solutions
i got this crash while trying to start minecraft to test my "mod", any ideas on how to solve this?
---- Minecraft Crash Report ----
// Quite honestly, I wouldn't worry myself about that.
Time: 3/23/18 1:25 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 Clockwork (clockwork)
Caused by: java.lang.NullPointerException
at mod.mcreator.mcreator_clockwork$ModelClockwork.<init>(mcreator_clockwork.java:279)
at mod.mcreator.mcreator_clockwork.registerRenderers(mcreator_clockwork.java:70)
at mod.mcreator.ClientProxyclockwork.registerRenderers(ClientProxyclockwork.java:7)
at mod.mcreator.clockwork.load(clockwork.java:70)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:600)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
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(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
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.initializeMods(Loader.java:720)
at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:352)
at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:534)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:377)
at net.minecraft.client.main.Main.main(SourceFile:123)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
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 7 (amd64) version 6.1
Java Version: 1.8.0_25, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 118047616 bytes (112 MB) / 385875968 bytes (368 MB) up to 1073741824 bytes (1024 MB)
JVM Flags: 8 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=16M
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP 9.42 Powered by Forge 14.23.2.2632 6 mods loaded, 6 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 |
|:----- |:----------------- |:------------ |:----------------------------- |:---------------------------------------- |
| UCHI | minecraft | 1.12.2 | minecraft.jar | None |
| UCHI | mcp | 9.42 | minecraft.jar | None |
| UCHI | FML | 8.0.99.99 | forge-1.12.2-14.23.2.2632.jar | e3c3d50c7c986df74c645c0ac54639741c90a557 |
| UCHI | forge | 14.23.2.2632 | forge-1.12.2-14.23.2.2632.jar | e3c3d50c7c986df74c645c0ac54639741c90a557 |
| UCHI | mercurius_updater | 1.0 | MercuriusUpdater-1.12.2.jar | None |
| UCHE | clockwork | 1.12.2 | Clockwok Mod.jar | None |
Loaded coremods (and transformers):
GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.2.0' Renderer: 'GeForce GT 620/PCIe/SSE2'
UPDATE--------------------------------------
this is the gradle crash report
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_clockwork.java:72: error: unmappable character for encoding MS932
return new ResourceLocation("testenvironmentmod edit - ?ソス?ソス?ソスヒ?ソス??ソス?ソス?ソスマ?ソス?ソスモ?ソス.png");
^
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_clockwork.java:72: error: unmappable character for encoding MS932
return new ResourceLocation("testenvironmentmod edit - ?ソス?ソス?ソスヒ?ソス??ソス?ソス?ソスマ?ソス?ソスモ?ソス.png");
^
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_clockwork.java:72: error: unmappable character for encoding MS932
return new ResourceLocation("testenvironmentmod edit - ?ソス?ソス?ソスヒ?ソス??ソス?ソス?ソスマ?ソス?ソスモ?ソス.png");
^
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_clockwork.java:72: error: unmappable character for encoding MS932
return new ResourceLocation("testenvironmentmod edit - ?ソス?ソス?ソスヒ?ソス??ソス?ソス?ソスマ?ソス?ソスモ?ソス.png");
^
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_clockwork.java:72: error: unmappable character for encoding MS932
return new ResourceLocation("testenvironmentmod edit - ?ソス?ソス?ソスヒ?ソス??ソス?ソス?ソスマ?ソス?ソスモ?ソス.png");
^
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_clockwork.java:72: error: unmappable character for encoding MS932
return new ResourceLocation("testenvironmentmod edit - ?ソス?ソス?ソスヒ?ソス??ソス?ソス?ソスマ?ソス?ソスモ?ソス.png");
^
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_clockwork.java:72: error: unmappable character for encoding MS932
return new ResourceLocation("testenvironmentmod edit - ?ソス?ソス?ソスヒ?ソス??ソス?ソス?ソスマ?ソス?ソスモ?ソス.png");
^
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_clockwork.java:72: error: unmappable character for encoding MS932
return new ResourceLocation("testenvironmentmod edit - ?ソス?ソス?ソスヒ?ソス??ソス?ソス?ソスマ?ソス?ソスモ?ソス.png");
^
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_clockwork.java:72: error: unmappable character for encoding MS932
return new ResourceLocation("testenvironmentmod edit - ?ソス?ソス?ソスヒ?ソス??ソス?ソス?ソスマ?ソス?ソスモ?ソス.png");
^
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_clockwork.java:72: error: unmappable character for encoding MS932
return new ResourceLocation("testenvironmentmod edit - ?ソス?ソス?ソスヒ?ソス??ソス?ソス?ソスマ?ソス?ソスモ?ソス.png");
^
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_clockwork.java:50: error: class mcreator_testenvironmentmod is public, should be declared in a file named mcreator_testenvironmentmod.java
public class mcreator_testenvironmentmod {
^
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:41: error: cannot find symbol
mcreator_clockwork mcreator_0 = new mcreator_clockwork();
^
symbol: class mcreator_clockwork
location: class TestEnvironmentMod
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:41: error: cannot find symbol
mcreator_clockwork mcreator_0 = new mcreator_clockwork();
^
symbol: class mcreator_clockwork
location: class TestEnvironmentMod
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
3 errors
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
One of the most commonly successful answers to this is to make sure there are no other mods in your minecraft mods folder, for example, if your mod is made for 1.7.10, and you got other mods for different versions like 1.12.2, it will crash, make sure to take out the other mods then try loading your mod again! :D