Topic category: Troubleshooting, bugs, and solutions
i am doing a mod that ads lots of mobs, but one fails, when i build there is no error but when i load the minecraft client, it crashes, i already made sure there are no repeated parts, and there are not non ASCII characters, other models made with the same program work perfectly but only this one fails.
english is not my first language and i don't know anything about java codding
here is the crash log:
---- Minecraft Crash Report ----
// Uh... Did I do that?
Time: 1/3/20 7:39 PM
Description: Initializing game
java.lang.NullPointerException: Initializing game
at net.mcreator.resident_evil_mod.MCreatorWilliamBirkin3$ModelG3.<init>(MCreatorWilliamBirkin3.java:245)
at net.mcreator.resident_evil_mod.MCreatorWilliamBirkin3.lambda$preInit$1(MCreatorWilliamBirkin3.java:59)
at net.minecraftforge.fml.client.registry.RenderingRegistry.register(RenderingRegistry.java:77)
at net.minecraftforge.fml.client.registry.RenderingRegistry.loadEntityRenderers(RenderingRegistry.java:70)
at net.minecraft.client.renderer.entity.RenderManager.<init>(RenderManager.java:236)
at net.minecraft.client.Minecraft.init(Minecraft.java:564)
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(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
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(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
at GradleStart.main(GradleStart.java:25)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Thread: Client thread
Stacktrace:
at net.mcreator.resident_evil_mod.MCreatorWilliamBirkin3$ModelG3.<init>(MCreatorWilliamBirkin3.java:245)
at net.mcreator.resident_evil_mod.MCreatorWilliamBirkin3.lambda$preInit$1(MCreatorWilliamBirkin3.java:59)
at net.minecraftforge.fml.client.registry.RenderingRegistry.register(RenderingRegistry.java:77)
at net.minecraftforge.fml.client.registry.RenderingRegistry.loadEntityRenderers(RenderingRegistry.java:70)
at net.minecraft.client.renderer.entity.RenderManager.<init>(RenderManager.java:236)
at net.minecraft.client.Minecraft.init(Minecraft.java:564)
-- Initialization --
Details:
Stacktrace:
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(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
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(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
at GradleStart.main(GradleStart.java:25)
-- System Details --
Details:
Minecraft Version: 1.12.2
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.8.0_222, BellSoft
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode),
Memory: 156936112 bytes (149 MB) / 445644800 bytes (425 MB) up to 954728448 bytes (910 MB)
JVM Flags: 0 total;
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP 9.42 Powered by Forge 14.23.5.2768 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 |
|:----- |:----------------- |:------------ |:-------------------------------- |:--------- |
| UCH | minecraft | 1.12.2 | minecraft.jar | None |
| UCH | mcp | 9.42 | minecraft.jar | None |
| UCH | FML | 8.0.99.99 | forgeSrc-1.12.2-14.23.5.2768.jar | None |
| UCH | forge | 14.23.5.2768 | forgeSrc-1.12.2-14.23.5.2768.jar | None |
| UCH | resident_evil_mod | 1.0.0 | modid-1.0.jar | None |
Loaded coremods (and transformers):
GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.6.0 NVIDIA 391.35' Renderer: 'GeForce GT 710/PCIe/SSE2'
Launched Version: 1.12.2
LWJGL: 2.9.4
OpenGL: GeForce GT 710/PCIe/SSE2 GL version 4.6.0 NVIDIA 391.35, NVIDIA Corporation
GL Caps: Using GL 1.3 multitexturing.
Using GL 1.3 texture combiners.
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
Shaders are available because OpenGL 2.1 is supported.
VBOs are available because OpenGL 1.5 is supported.
Using VBOs: Yes
Is Modded: Definitely; Client brand changed to 'fml,forge'
Type: Client (map_client.txt)
Resource Packs:
Current Language: English (US)
Profiler Position: N/A (disabled)
CPU: 2x Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz
Can you give your workspace please ?
the workspace folcer, why?
To check if you have made something wrong.
ok but i think that the error is in the model
here is the mediafire link:
http://www.mediafire.com/file/9pbkd7pi2d9ar1m/REMC_Workspace.zip/file
Okay, I will try to check it tomorrow if I have time.
ok thanks
did you find anything wrong?
I’m sorry. I didn’t have time to check this week. I will try this week-end (if I have electricity. xD).
oh ok
I made some tests, and I don't know why you have this problem. If you have backups of your workspace, I suggest you to import it and remake missing elements. Otherwise, ask support on the tracker.