Crash in mcreator

Status
Fixed
Type
Product/platform
MCreator/Windows
Priority
Normal
Issue description

ive create a new mob for my mod and when I teste Minecraft Client Enviroment minecraft crash ;-;  How can I fix this ?

My model: on the bottom (I think)

My crash report:

 

 

[21:25:51] [Client thread/ERROR] [FML]: Fatal errors were detected during the transition from PREINITIALIZATION to INITIALIZATION. Loading cannot continue
[21:25:51] [Client thread/ERROR] [FML]: 
   States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
   UCH   mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) 
   UCH   FML{7.10.99.99} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.4.1558-1.7.10.jar) 
   UCH   Forge{10.13.4.1558} [Minecraft Forge] (forgeSrc-1.7.10-10.13.4.1558-1.7.10.jar) 
   UCE   testenvironmentmod{1.0} [testenvironmentmod] (modid-1.0.jar) 
[21:25:51] [Client thread/ERROR] [FML]: The following problems were captured during this phase
[21:25:51] [Client thread/ERROR] [FML]: Caught exception from testenvironmentmod
java.lang.NullPointerException
   at mod.mcreator.mcreator_pinguim$ModelPenguin.(mcreator_pinguim.java:269) ~[modid-1.0.jar:?]
   at mod.mcreator.mcreator_pinguim.registerRenderers(mcreator_pinguim.java:64) ~[modid-1.0.jar:?]
   at mod.mcreator.ClientProxytestenvironmentmod.registerRenderers(ClientProxytestenvironmentmod.java:7) ~[modid-1.0.jar:?]
   at mod.mcreator.testenvironmentmod.preInit(testenvironmentmod.java:85) ~[modid-1.0.jar:?]
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_101]
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_101]
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_101]
   at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_101]
   at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:532) ~[forgeSrc-1.7.10-10.13.4.1558-1.7.10.jar:?]
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_101]
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_101]
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_101]
   at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_101]
   at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]
   at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]
   at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]
   at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]
   at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]
   at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:212) ~[forgeSrc-1.7.10-10.13.4.1558-1.7.10.jar:?]
   at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190) ~[forgeSrc-1.7.10-10.13.4.1558-1.7.10.jar:?]
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_101]
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_101]
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_101]
   at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_101]
   at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]
   at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]
   at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]
   at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]
   at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]
   at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119) [LoadController.class:?]
   at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:556) [Loader.class:?]
   at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:243) [FMLClientHandler.class:?]
   at net.minecraft.client.Minecraft.startGame(Minecraft.java:522) [Minecraft.class:?]
   at net.minecraft.client.Minecraft.run(Minecraft.java:942) [Minecraft.class:?]
   at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?]
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_101]
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_101]
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_101]
   at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_101]
   at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
   at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
   at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) [start/:?]
   at GradleStart.main(Unknown Source) [start/:?]
[21:25:51] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:388
// Quite honestly, I wouldn't worry myself about that.
Time: 02/11/18 21:25
Description: Initializing game
java.lang.NullPointerException: Initializing game
   at mod.mcreator.mcreator_pinguim$ModelPenguin.(mcreator_pinguim.java:269)
   at mod.mcreator.mcreator_pinguim.registerRenderers(mcreator_pinguim.java:64)
   at mod.mcreator.ClientProxytestenvironmentmod.registerRenderers(ClientProxytestenvironmentmod.java:7)
   at mod.mcreator.testenvironmentmod.preInit(testenvironmentmod.java:85)
   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 cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:532)
   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 com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
   at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
   at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
   at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
   at com.google.common.eventbus.EventBus.post(EventBus.java:275)
   at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:212)
   at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190)
   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 com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
   at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
   at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
   at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
   at com.google.common.eventbus.EventBus.post(EventBus.java:275)
   at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119)
   at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:556)
   at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:243)
   at net.minecraft.client.Minecraft.startGame(Minecraft.java:522)
   at net.minecraft.client.Minecraft.run(Minecraft.java:942)
   at net.minecraft.client.main.Main.main(Main.java:164)
   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 net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source)
   at GradleStart.main(Unknown Source)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Stacktrace:
   at mod.mcreator.mcreator_pinguim$ModelPenguin.(mcreator_pinguim.java:269)
   at mod.mcreator.mcreator_pinguim.registerRenderers(mcreator_pinguim.java:64)
   at mod.mcreator.ClientProxytestenvironmentmod.registerRenderers(ClientProxytestenvironmentmod.java:7)
   at mod.mcreator.testenvironmentmod.preInit(testenvironmentmod.java:85)
   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 cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:532)
   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 com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
   at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
   at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
   at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
   at com.google.common.eventbus.EventBus.post(EventBus.java:275)
   at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:212)
   at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190)
   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 com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
   at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
   at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
   at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
   at com.google.common.eventbus.EventBus.post(EventBus.java:275)
   at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119)
   at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:556)
   at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:243)
   at net.minecraft.client.Minecraft.startGame(Minecraft.java:522)
-- Initialization --
Details:
Stacktrace:
   at net.minecraft.client.Minecraft.run(Minecraft.java:942)
   at net.minecraft.client.main.Main.main(Main.java:164)
   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 net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source)
   at GradleStart.main(Unknown Source)
-- System Details --
Details:
   Minecraft Version: 1.7.10
   Operating System: Windows 8.1 (amd64) version 6.3
   Java Version: 1.8.0_101, Oracle Corporation
   Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
FAILURE: Build failed with an exception.
   Memory: 352641128 bytes (336 MB) / 567279616 bytes (   JVM Flags: 0 total; 
541 MB) up to 1895825408 bytes (1808 MB)
* What went wrong:
   AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
   IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
Execution failed for task ':runClient'.
   FML: MCP v9.05 FML v7.10.99.99 Minecraft Forge 10   States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
.13.4.1558 4 mods loaded, 4 mods active
   UCH   mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) 
> Process 'command 'C:\Pylo\MCreator173\jdk64\bin\java.exe'' finished with non-zero exit value -1
   UCH   FML{7.10.99.99} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.4.1558-1.7.10.jar) 
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
   UCH   Forge{10.13.4.1558} [Minecraft Forge] (forgeSrc-1.7.10-10.13.4.1558-1.7.10.jar) 
   UCE   testenvironmentmod{1.0} [testenvironmentmod] (modid-1.0.jar) 
   GL info: ' Vendor: 'NVIDIA Corporation' Version: '3.3.0' Renderer: 'GeForce 9800 GT/PCIe/SSE2'
   Launched Version: 1.7.10
   LWJGL: 2.9.1
   OpenGL: GeForce 9800 GT/PCIe/SSE2 GL version 3.3.0, NVIDIA Corporation
   GL Caps: Using GL 1.3 multitexturing.
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
Anisotropic filtering is supported and maximum anisotropy is 16.
Shaders are available because OpenGL 2.1 is supported.
   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)
   Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
   Anisotropic Filtering: Off (1)
[21:25:51] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:398
:runClient FAILED

Attachment Size
PenguinReady.java3.65 KB 3.65 KB

Issue comments

Remove line 49 - 

arm2.mirror = true;

from the model file. This is not MCreator but Techne bug.



Donate to MCreator

By donating to developers you can speed up development, as with more resources, we can dedicate more time to MCreator. It is a free project made by developers working on it in their free time.