MCreator game crash when building

Started by nsgv on

Topic category: Troubleshooting, bugs, and solutions

Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
MCreator game crash when building

Hello, i am making my first mod with MCreator, the problem is when i try to build & run the client, the game crashes in :runClient
Here is the build log.:

java.lang.IllegalArgumentException: Multiple entries with same key: skeleton=FMLMod:skeleton{1.0.0} and skeleton=FMLMod:skeleton{1.0.0}. To index multiple values under a key, use Multimaps.index.
   at com.google.common.collect.Maps.uniqueIndex(Maps.java:1385)
   at com.google.common.collect.Maps.uniqueIndex(Maps.java:1385)
   at com.google.common.collect.Maps.uniqueIndex(Maps.java:1341)
   at com.google.common.collect.Maps.uniqueIndex(Maps.java:1341)
   at net.minecraftforge.fml.common.Loader.identifyMods(Loader.java:427)
   at net.minecraftforge.fml.common.Loader.identifyMods(Loader.java:427)
   at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:566)
   at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:566)
   at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:232)
   at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:232)
   at net.minecraft.client.Minecraft.init(Minecraft.java:513)
   at net.minecraft.client.Minecraft.init(Minecraft.java:513)
   at net.minecraft.client.Minecraft.run(Minecraft.java:421)
   at net.minecraft.client.Minecraft.run(Minecraft.java:421)
   at net.minecraft.client.main.Main.main(Main.java:118)
   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.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:498)
   at java.lang.reflect.Method.invoke(Method.java:498)
   at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
   at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
   at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
   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.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:498)
   at java.lang.reflect.Method.invoke(Method.java:498)
   at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
   at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
   at GradleStart.main( .GradleStart:25">GradleStart.java:25)
   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 com.google.common.collect.Maps.uniqueIndex(Maps.java:1385)
   at com.google.common.collect.Maps.uniqueIndex(Maps.java:1385)
   at com.google.common.collect.Maps.uniqueIndex(Maps.java:1341)
   at com.google.common.collect.Maps.uniqueIndex(Maps.java:1341)
   at net.minecraftforge.fml.common.Loader.identifyMods(Loader.java:427)
   at net.minecraftforge.fml.common.Loader.identifyMods(Loader.java:427)
   at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:566)
   at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:566)
   at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:232)
   at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:232)
   at net.minecraft.client.Minecraft.init(Minecraft.java:513)
   at net.minecraft.client.Minecraft.init(Minecraft.java:513)
-- Initialization --
Details:
Stacktrace:
   at net.minecraft.client.Minecraft.run(Minecraft.java:421)
   at net.minecraft.client.Minecraft.run(Minecraft.java:421)
   at net.minecraft.client.main.Main.main(Main.java:118)
   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.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:498)
   at java.lang.reflect.Method.invoke(Method.java:498)
   at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
   at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
   at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
   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.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:498)
   at java.lang.reflect.Method.invoke(Method.java:498)
   at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
   at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
   at GradleStart.main( .GradleStart:25">GradleStart.java:25)
   at GradleStart.main( .GradleStart:25">GradleStart.java:25)
-- System Details --
Details:
   Minecraft Version: 1.12.2
   Operating System: Windows 10 (amd64) version 10.0
   Java Version: 1.8.0_232, BellSoft
   Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), 
   Memory: 426433296 bytes (406 MB) / 559939584 bytes (534 MB) up to 1883242496 bytes (1796 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 6 mods loaded, 0 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 |
   |:----- |:--------- |:------------ |:-------------------------------- |:--------- |
   |       | minecraft | 1.12.2       | minecraft.jar                    | None      |
   |       | mcp       | 9.42         | minecraft.jar                    | None      |
   |       | FML       | 8.0.99.99    | forgeSrc-1.12.2-14.23.5.2768.jar | None      |
   |       | forge     | 14.23.5.2768 | forgeSrc-1.12.2-14.23.5.2768.jar | None      |
   |       | skeleton  | 1.0.0        | modid-1.0.jar                    | None      |
   |       | skeleton  | 1.0.0        | modid-1.0.jar                    | None      |
   Loaded coremods (and transformers): 
   GL info: ' Vendor: 'Intel' Version: '4.6.0 - Build 27.20.100.8681' Renderer: 'Intel(R) HD Graphics 620'
   Launched Version: 1.12.2
   LWJGL: 2.9.4
   OpenGL: Intel(R) HD Graphics 620 GL version 4.6.0 - Build 27.20.100.8681, Intel
   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: 4x Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz
17:32.13 [main/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:629 #@!@# Game crashed! Crash report saved to: #@!@# C:\MCreatorWorkspaces\skeleton\run\.\crash-reports\crash-2021-03-03_17.32.13-client.txt
:runClient FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':runClient'.
> Process 'command 'C:\Program Files\Pylo\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. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 19s
13 actionable tasks: 10 executed, 3 up-to-date
BUILD FAILED
Task completed in 19257 milliseconds

Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Nevermind, fixed with…
Fri, 03/05/2021 - 01:35

Nevermind, fixed with regenerating the code.