Topic category: Troubleshooting, bugs, and solutions
i created some mobs with custom java models, but only one failed, the error is caused by the model. what can i do to fix it??
i don't know anything about coding
this is the gradle task error:
Executing gradle command: runClient
Build info: MCreator 1.9.1, 64-bit, 4094 MB, Windows 7 - cmd, JVM 1.8.0_222, JAVA_HOME: C:/Program Files/Java/jre1.8.0_201
Copyright (c) 2009 Microsoft Corporation. Reservados todos los derechos.
C:\Users\ana\MCreatorWorkspaces\resident_evil_mod>gradlew -Dorg.gradle.java.home="C:/Program Files/Java/jre1.8.0_201" -Dorg.gradle.parallel=false -Dorg.gradle.jvmargs="-Xms625m -Xmx2048m" runClient
This mapping 'snapshot_20171003' was designed for MC 1.12! Use at your own peril.
:deobfCompileDummyTask
:deobfProvidedDummyTask
:sourceApiJava UP-TO-DATE
:compileApiJava NO-SOURCE
:processApiResources NO-SOURCE
:apiClasses UP-TO-DATE
:sourceMainJava
:compileJava
:processResources UP-TO-DATE
:classes
:jar
:getVersionJson
:extractNatives SKIPPED
:extractUserdev UP-TO-DATE
:getAssetIndex UP-TO-DATE
:getAssets
Current status: 49/1305 3%
Current status: 113/1305 8%
Current status: 247/1305 18%
Current status: 395/1305 30%
Current status: 611/1305 46%
Current status: 746/1305 57%
Current status: 917/1305 70%
Current status: 1060/1305 81%
Current status: 1068/1305 81%
Current status: 1080/1305 82%
Current status: 1148/1305 87%
Current status: 1280/1305 98%
:makeStart
:runClient
15:53.06 [main/INFO] [GradleStart]: Extra: []
15:53.06 [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/ana/.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]
15:53.06 [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
15:53.06 [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
15:53.06 [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
15:53.06 [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
15:53.06 [main/INFO] [FML]: Forge Mod Loader version 14.23.5.2768 for Minecraft 1.12.2 loading
15:53.06 [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_201, running on Windows 7:amd64:6.1, installed at C:\Program Files\Java\jdk1.8.0_201\jre
15:53.06 [main/ERROR] [FML]: Apache Maven library folder was not in the format expected. Using default libraries directory.
15:53.06 [main/ERROR] [FML]: Full: C:\Users\ana\.mcreator\gradle\caches\modules-2\files-2.1\org.apache.maven\maven-artifact\3.5.3\7dc72b6d6d8a6dced3d294ed54c2cc3515ade9f4\maven-artifact-3.5.3.jar
15:53.06 [main/ERROR] [FML]: Trimmed: c:/users/ana/.mcreator/gradle/caches/modules-2/files-2.1/org.apache.maven/maven-artifact/3.5.3/
15:53.06 [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
15:53.06 [main/INFO] [FML]: Detected deobfuscated environment, loading log configs for colored console logs.
2019-10-29 15:53:07,668 main WARN Disabling terminal, you're running in an unsupported environment.
15:53.07 [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
15:53.07 [main/INFO] [FML]: Ignoring missing certificate for coremod FMLForgePlugin (net.minecraftforge.classloading.FMLForgePlugin), we are in deobf and it's a forge core plugin
15:53.07 [main/INFO] [FML]: Searching C:\Users\ana\MCreatorWorkspaces\resident_evil_mod\run\.\mods for mods
15:53.07 [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
15:53.07 [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin
15:53.07 [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
15:53.07 [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
15:53.07 [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
15:53.07 [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
15:53.07 [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
15:53.07 [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
15:53.07 [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
15:53.08 [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
15:53.08 [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
15:53.08 [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
15:53.09 [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
15:53.09 [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
15:53.09 [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
15:53.09 [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
15:53.10 [main/INFO] [minecraft/Minecraft]: Setting user: Player562
15:53.14 [main/INFO] [minecraft/Minecraft]: LWJGL Version: 2.9.4
15:53.16 [main/INFO] [FML]: -- System Details --
Details:
Minecraft Version: 1.12.2
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.8.0_201, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 116406592 bytes (111 MB) / 369098752 bytes (352 MB) up to 954728448 bytes (910 MB)
JVM Flags: 0 total;
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML:
Loaded coremods (and transformers):
GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.6.0 NVIDIA 391.35' Renderer: 'GeForce GT 710/PCIe/SSE2'
15:53.16 [main/INFO] [FML]: MinecraftForge v14.23.5.2768 Initialized
15:53.16 [main/INFO] [FML]: Starts to replace vanilla recipe ingredients with ore ingredients.
15:53.16 [main/INFO] [FML]: Replaced 1036 ore ingredients
15:53.17 [main/INFO] [FML]: Searching C:\Users\ana\MCreatorWorkspaces\resident_evil_mod\run\.\mods for mods
15:53.18 [main/INFO] [FML]: Forge Mod Loader has identified 5 mods to load
15:53.19 [main/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, resident_evil_mod] at CLIENT
15:53.19 [main/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, resident_evil_mod] at SERVER
15:53.20 [main/INFO] [minecraft/SimpleReloadableResourceManager]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Resident Evil Mod
15:53.20 [main/INFO] [FML]: Processing ObjectHolder annotations
15:53.20 [main/INFO] [FML]: Found 1191 ObjectHolder annotations
15:53.20 [main/INFO] [FML]: Identifying ItemStackHolder annotations
15:53.20 [main/INFO] [FML]: Found 0 ItemStackHolder annotations
15:53.21 [main/INFO] [FML]: Configured a dormant chunk cache size of 0
15:53.21 [main/INFO] [FML]: OBJLoader: Domain resident_evil_mod has been added.
15:53.21 [Forge Version Check/INFO] [forge.VersionCheck]: [forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotio…
15:53.21 [main/INFO] [FML]: Applying holder lookups
15:53.21 [main/INFO] [FML]: Holder lookups applied
15:53.22 [main/INFO] [FML]: Applying holder lookups
15:53.22 [main/INFO] [FML]: Holder lookups applied
15:53.22 [main/INFO] [FML]: Applying holder lookups
15:53.22 [main/INFO] [FML]: Holder lookups applied
15:53.22 [main/INFO] [FML]: Applying holder lookups
15:53.22 [main/INFO] [FML]: Holder lookups applied
15:53.22 [main/INFO] [FML]: Injecting itemstacks
15:53.22 [main/INFO] [FML]: Itemstack injection complete
15:53.23 [Forge Version Check/INFO] [forge.VersionCheck]: [forge] Found status: UP_TO_DATE Target: null
15:53.23 [Thread-3/INFO] [FML]: Using alternative sync timing : 200 frames of Display.update took 1483489690 nanos
15:53.25 [Sound Library Loader/INFO] [minecraft/SoundManager]: Starting up SoundSystem...
15:53.28 [Thread-5/INFO] [minecraft/SoundManager]: Initializing LWJGL OpenAL
15:53.28 [Thread-5/INFO] [minecraft/SoundManager]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
15:53.30 [Thread-5/INFO] [minecraft/SoundManager]: OpenAL initialized.
15:53.30 [Sound Library Loader/INFO] [minecraft/SoundManager]: Sound engine started
15:53.30 [main/INFO] [FML]: Max texture size: 16384
15:53.31 [main/INFO] [minecraft/TextureMap]: Created: 1024x512 textures-atlas
15:53.32 [main/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:629 ---- Minecraft Crash Report ----
// You should try our sister game, Minceraft!
Time: 10/29/19 3:53 PM
Description: Initializing game
java.lang.NullPointerException: Initializing game
at net.mcreator.resident_evil_mod.MCreatorNdipaya$Modelndipaya.<init>(MCreatorNdipaya.java:192 )
at net.mcreator.resident_evil_mod.MCreatorNdipaya.lambda$preInit$1(MCreatorNdipaya.java:69 )
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:25">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.MCreatorNdipaya$Modelndipaya.<init>(MCreatorNdipaya.java:192 )
at net.mcreator.resident_evil_mod.MCreatorNdipaya.lambda$preInit$1(MCreatorNdipaya.java:69 )
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:25">GradleStart.java:25 )
-- System Details --
Details:
Minecraft Version: 1.12.2
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.8.0_201, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 97940512 bytes (93 MB) / 437256192 bytes (417 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
15:53.32 [main/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:629 #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\ana\MCreatorWorkspaces\resident_evil_mod\run\.\crash-reports\crash-2019-10-29_15.53.32-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:\Program Files\Java\jdk1.8.0_201\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. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 1m 5s
13 actionable tasks: 9 executed, 4 up-to-date
C:\Users\ana\MCreatorWorkspaces\resident_evil_mod>
Task completed with return code 0 in 67042 milliseconds
Do you use Techne model by any chance?