Minecraft Client Test Environment won't load

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

Hi. When I test my mod, minecraft crash without load completely. I'm sorry for my bad english.

Here is my Console log:

   
Executing gradle command: clean runClient
Build info: MCreator 1.8.1, 64-bit, 3528 MB, Windows 10 - cmd, JVM 1.8.0_172, JAVA_HOME: C:\Users\giuse\OneDrive\Desktop\MCreator\.\jdk
(c) 2018 Microsoft Corporation. Tutti i diritti sono riservati.
C:\Users\giuse\OneDrive\Desktop\MCreator\forge>gradlew -Dorg.gradle.daemon=false -Dorg.gradle.parallel=false -Dorg.gradle.jvmargs="-Xms625m -Xmx2048m" clean runClient 
This mapping 'snapshot_20171003' was designed for MC 1.12! Use at your own peril.
#################################################
         ForgeGradle 2.3-SNAPSHOT-3996470        
  https://github.com/MinecraftForge/ForgeGradle  
#################################################
                 Powered by MCP                  
             http://modcoderpack.com             
     by: Searge, ProfMobius, R4wk, ZeuX          
     Fesh0r, IngisKahn, bspkrs, LexManos         
#################################################
:clean
:deobfCompileDummyTask
:deobfProvidedDummyTask
:sourceApiJava
:compileApiJava UP-TO-DATE
:processApiResources UP-TO-DATE
:apiClasses UP-TO-DATE
:sourceMainJava
:compileJava
:processResources
:classes
:jar
:getVersionJson
:extractNatives SKIPPED
:extractUserdev
:getAssetIndex UP-TO-DATE
:getAssets
Current status: 39/1305   2%
Current status: 102/1305   7%
Current status: 274/1305   20%
Current status: 505/1305   38%
Current status: 689/1305   52%
Current status: 878/1305   67%
Current status: 1060/1305   81%
Current status: 1061/1305   81%
Current status: 1062/1305   81%
Current status: 1062/1305   81%
Current status: 1068/1305   81%
Current status: 1070/1305   81%
Current status: 1074/1305   82%
Current status: 1083/1305   82%
Current status: 1144/1305   87%
Current status: 1229/1305   94%
:makeStart
:runClient
[18:00:54] [main/INFO] [GradleStart]: Extra: []
[18:00:55] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/giuse/.mcreator/gradle/caches/minecraft/assets, --assetIndex, 1.12, --accessToken{REDACTED}, --version, 1.12.2, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
[18:00:55] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[18:00:55] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[18:00:55] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
[18:00:55] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
[18:00:55] [main/INFO] [FML]: Forge Mod Loader version 14.23.5.2768 for Minecraft 1.12.2 loading
[18:00:55] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_172, running on Windows 10:amd64:10.0, installed at C:\Users\giuse\OneDrive\Desktop\MCreator\jdk\jre
[18:00:55] [main/ERROR] [FML]: Apache Maven library folder was not in the format expected. Using default libraries directory.
[18:00:55] [main/ERROR] [FML]: Full: C:\Users\giuse\.mcreator\gradle\caches\modules-2\files-2.1\org.apache.maven\maven-artifact\3.5.3\7dc72b6d6d8a6dced3d294ed54c2cc3515ade9f4\maven-artifact-3.5.3.jar
[18:00:55] [main/ERROR] [FML]: Trimmed: c:/users/giuse/.mcreator/gradle/caches/modules-2/files-2.1/org.apache.maven/maven-artifact/3.5.3/
[18:00:55] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[18:00:55] [main/INFO] [FML]: Detected deobfuscated environment, loading log configs for colored console logs.
2018-12-28 18:00:58,088 main WARN Disabling terminal, you're running in an unsupported environment.
[18:00:58] [main/INFO] [FML]: Ignoring missing certificate for coremod FMLCorePlugin (net.minecraftforge.fml.relauncher.FMLCorePlugin), we are in deobf and it's a forge core plugin
[18:00:58] [main/INFO] [FML]: Ignoring missing certificate for coremod FMLForgePlugin (net.minecraftforge.classloading.FMLForgePlugin), we are in deobf and it's a forge core plugin
[18:00:58] [main/INFO] [FML]: Searching C:\Users\giuse\OneDrive\Desktop\MCreator\forge\run\.\mods for mods
[18:00:58] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
[18:00:58] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin
[18:00:58] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
[18:00:58] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[18:00:58] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[18:00:58] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[18:00:58] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[18:00:58] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[18:00:58] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[18:01:00] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
[18:01:00] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[18:01:00] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[18:01:01] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[18:01:01] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
[18:01:01] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
[18:01:01] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[18:01:02] [main/INFO] [minecraft/Minecraft]: Setting user: Player548
[18:01:10] [main/INFO] [minecraft/Minecraft]: LWJGL Version: 2.9.4
[18:01:12] [main/INFO] [FML]: -- System Details --
Details:
   Minecraft Version: 1.12.2
   Operating System: Windows 10 (amd64) version 10.0
   Java Version: 1.8.0_172, Oracle Corporation
   Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
   Memory: 115847240 bytes (110 MB) / 289406976 bytes (276 MB) up to 824180736 bytes (786 MB)
   JVM Flags: 0 total; 
   IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
   FML: 
   Loaded coremods (and transformers): 
   GL info: ' Vendor: 'ATI Technologies Inc.' Version: '4.6.13543 Compatibility Profile Context 25.20.15002.58' Renderer: 'AMD Radeon(TM) R5 Graphics'
[18:01:12] [main/INFO] [FML]: MinecraftForge v14.23.5.2768 Initialized
[18:01:12] [main/INFO] [FML]: Starts to replace vanilla recipe ingredients with ore ingredients.
[18:01:13] [main/INFO] [FML]: Replaced 1036 ore ingredients
[18:01:13] [main/INFO] [FML]: Searching C:\Users\giuse\OneDrive\Desktop\MCreator\forge\run\.\mods for mods
[18:01:15] [Thread-3/INFO] [FML]: Using sync timing. 200 frames of Display.update took 517241815 nanos
[18:01:18] [main/INFO] [FML]: Mod testenvironmentmod is missing the required element 'name'. Substituting testenvironmentmod
[18:01:18] [main/INFO] [FML]: Forge Mod Loader has identified 5 mods to load
[18:01:19] [main/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, testenvironmentmod] at CLIENT
[18:01:19] [main/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, testenvironmentmod] at SERVER
[18:01:21] [main/INFO] [minecraft/SimpleReloadableResourceManager]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:testenvironmentmod
[18:01:22] [main/INFO] [FML]: Processing ObjectHolder annotations
[18:01:22] [main/INFO] [FML]: Found 1168 ObjectHolder annotations
[18:01:22] [main/INFO] [FML]: Identifying ItemStackHolder annotations
[18:01:22] [main/INFO] [FML]: Found 0 ItemStackHolder annotations
[18:01:22] [main/INFO] [FML]: Configured a dormant chunk cache size of 0
[18:01:22] [main/INFO] [FML]: OBJLoader: Domain testenvironmentmod has been added.
[18:01:22] [Forge Version Check/INFO] [forge.VersionCheck]: [forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotio…
[18:01:22] [main/INFO] [FML]: Applying holder lookups
[18:01:22] [main/INFO] [FML]: Holder lookups applied
[18:01:22] [main/INFO] [FML]: Applying holder lookups
[18:01:22] [main/INFO] [FML]: Holder lookups applied
[18:01:22] [main/INFO] [FML]: Applying holder lookups
[18:01:22] [main/INFO] [FML]: Holder lookups applied
[18:01:22] [main/INFO] [FML]: Applying holder lookups
[18:01:22] [main/INFO] [FML]: Holder lookups applied
[18:01:22] [main/INFO] [FML]: Injecting itemstacks
[18:01:22] [main/INFO] [FML]: Itemstack injection complete
[18:01:23] [Forge Version Check/INFO] [forge.VersionCheck]: [forge] Found status: UP_TO_DATE Target: null
[18:01:47] [Sound Library Loader/INFO] [minecraft/SoundManager]: Starting up SoundSystem...
[18:01:48] [Thread-5/INFO] [minecraft/SoundManager]: Initializing LWJGL OpenAL
[18:01:48] [Thread-5/INFO] [minecraft/SoundManager]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[18:01:50] [Thread-5/INFO] [minecraft/SoundManager]: OpenAL initialized.
[18:01:50] [Sound Library Loader/INFO] [minecraft/SoundManager]: Sound engine started
[18:02:03] [main/INFO] [FML]: Max texture size: 16384
[18:02:05] [main/INFO] [minecraft/TextureMap]: Created: 512x512 textures-atlas
[18:02:12] [main/INFO] [FML]: Applying holder lookups
[18:02:12] [main/INFO] [FML]: Holder lookups applied
[18:02:12] [main/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:629 ---- Minecraft Crash Report ----
// Quite honestly, I wouldn't worry myself about that.
Time: 12/28/18 6:02 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 testenvironmentmod (testenvironmentmod)
Caused by: java.lang.NullPointerException
   at mod.mcreator.mcreator_monkey$ModelMonkey.(mcreator_monkey.java:149)
-> Jump to the exception line
   at mod.mcreator.mcreator_monkey.registerRenderers(mcreator_monkey.java:48)
-> Jump to the exception line
   at mod.mcreator.ClientProxytestenvironmentmod.lambda$registerRenderers$0(ClientProxytestenvironmentmod.java:7)
   at java.util.ArrayList.forEach(ArrayList.java:1257)
   at mod.mcreator.ClientProxytestenvironmentmod.registerRenderers(ClientProxytestenvironmentmod.java:7)
   at mod.mcreator.testenvironmentmod.load(testenvironmentmod.java:67)
   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.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:626)
   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.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:218)
   at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:196)
   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.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:135)
   at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:744)
   at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:336)
   at net.minecraft.client.Minecraft.init(Minecraft.java:581)
   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:
---------------------------------------------------------------------------------------
-- System Details --
Details:
   Minecraft Version: 1.12.2
   Operating System: Windows 10 (amd64) version 10.0
   Java Version: 1.8.0_172, Oracle Corporation
   Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
   Memory: 262475368 bytes (250 MB) / 419954688 bytes (400 MB) up to 824180736 bytes (786 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 |
   |:----- |:------------------ |:------------ |:-------------------------------- |:--------- |
   | UCHI  | minecraft          | 1.12.2       | minecraft.jar                    | None      |
   | UCHI  | mcp                | 9.42         | minecraft.jar                    | None      |
   | UCHI  | FML                | 8.0.99.99    | forgeSrc-1.12.2-14.23.5.2768.jar | None      |
   | UCHI  | forge              | 14.23.5.2768 | forgeSrc-1.12.2-14.23.5.2768.jar | None      |
   | UCHEE | testenvironmentmod | 1.0          | modid-1.0.jar                    | None      |
   Loaded coremods (and transformers): 
   GL info: ' Vendor: 'ATI Technologies Inc.' Version: '4.6.13543 Compatibility Profile Context 25.20.15002.58' Renderer: 'AMD Radeon(TM) R5 Graphics'
[18:02:12] [main/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:629 #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\giuse\OneDrive\Desktop\MCreator\forge\run\.\crash-reports\crash-2018-12-28_18.02.12-client.txt
AL lib: (EE) alc_cleanup: 1 device not closed
:runClient FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':runClient'.
> Process 'command 'C:\Users\giuse\OneDrive\Desktop\MCreator\jdk\bin\java.exe'' finished with non-zero exit value -1
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 3 mins 5.05 secs
C:\Users\giuse\OneDrive\Desktop\MCreator\forge>
Task completed with return code 0 in 187207 milliseconds

 

Can anyone help me? Thanks.

Issue comments

Your ModelMonkey is not a valid model it seems. The model maker you use most likely has a bug. Please attach the ModelMonkey.java file of your mob model and I will check what is wrong with it.



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.