Suddently, my mod won't compile and Test client Crashes.

Started by VioletPyre on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 01:56, 16. Jan 2024
Joined Mar 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Suddently, my mod won't compile and Test client Crashes.

Here's all the info that can be useful :

I recently edited "mod version : 1.0.0" to "mod version 1.2.3"

I changed the Name , description and author of the mod.

I edited some kind of procedures (3 of them) that SHOULD work but didn't test right after. (should not be the problem, i'm fairly certain.)

MCreator version : 2020.2

Game Version : 1.12.2 FORGE

393 mod elements

I added some of my personnal mods to the MCreatorWorkspace/terraria/run/mods/    but those worked way before so that's not it.

You'll probably notice that it fails when the Game Launches, it builds a little, then crashes and then is called "failed build".

Contact me if needed, for now i'm going to sleep, should be back around 12:00 PM to 1:30 PM (Canada Time)

Executing Gradle task: runClient
Build info: MCreator 2020.2.14217, 1.12.2, 64-bit, 16343 MB, Windows 10, JVM 1.8.0_232, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk
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
:classes
:jar
:getVersionJson
:extractNatives SKIPPED
:extractUserdev UP-TO-DATE
:getAssetIndex UP-TO-DATE
:getAssets
Current status: 606/1305   46%
Current status: 1067/1305   81%
Current status: 1154/1305   88%
:makeStart
:runClient
03:07.47 [main/INFO] [GradleStart]: Extra: []
03:07.47 [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/Phild/.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]
03:07.47 [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
03:07.47 [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
03:07.47 [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
03:07.47 [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
03:07.47 [main/INFO] [FML]: Forge Mod Loader version 14.23.5.2768 for Minecraft 1.12.2 loading
03:07.47 [main/INFO] [FML]: Java is OpenJDK 64-Bit Server VM, version 1.8.0_232, running on Windows 10:amd64:10.0, installed at C:\Program Files\Pylo\MCreator\jdk\jre
03:07.48 [main/ERROR] [FML]: Apache Maven library folder was not in the format expected. Using default libraries directory.
03:07.48 [main/ERROR] [FML]: Full: C:\Users\Phild\.mcreator\gradle\caches\modules-2\files-2.1\org.apache.maven\maven-artifact\3.5.3\7dc72b6d6d8a6dced3d294ed54c2cc3515ade9f4\maven-artifact-3.5.3.jar
03:07.48 [main/ERROR] [FML]: Trimmed: c:/users/phild/.mcreator/gradle/caches/modules-2/files-2.1/org.apache.maven/maven-artifact/3.5.3/
03:07.48 [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
03:07.48 [main/INFO] [FML]: Detected deobfuscated environment, loading log configs for colored console logs.
03:07.49 [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
03:07.49 [main/INFO] [FML]: Ignoring missing certificate for coremod FMLForgePlugin (net.minecraftforge.classloading.FMLForgePlugin), we are in deobf and it's a forge core plugin
03:07.49 [main/INFO] [FML]: Searching C:\Users\Phild\MCreatorWorkspaces\terraria\run\.\mods for mods
03:07.49 [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
03:07.49 [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin
03:07.49 [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
03:07.49 [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
03:07.49 [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
03:07.49 [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
03:07.49 [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
03:07.49 [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
03:07.49 [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
03:07.51 [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
03:07.51 [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
03:07.51 [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
03:07.51 [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
03:07.51 [main/INFO] [GradleStart]: Remapping AccessTransformer rules...
03:07.51 [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
03:07.51 [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
03:07.51 [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
03:07.52 [main/INFO] [minecraft/Minecraft]: Setting user: Player625
03:07.56 [main/INFO] [minecraft/Minecraft]: LWJGL Version: 2.9.4
03:07.57 [main/INFO] [FML]: -- 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: 446365400 bytes (425 MB) / 553123840 bytes (527 MB) up to 3808428032 bytes (3632 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.5.13399 Compatibility Profile Context 15.201.1151.1008' Renderer: 'AMD Radeon HD 5450'
03:07.57 [main/INFO] [FML]: MinecraftForge v14.23.5.2768 Initialized
03:07.58 [main/INFO] [FML]: Starts to replace vanilla recipe ingredients with ore ingredients.
03:07.58 [main/INFO] [FML]: Replaced 1036 ore ingredients
03:07.59 [main/INFO] [FML]: Searching C:\Users\Phild\MCreatorWorkspaces\terraria\run\.\mods for mods
03:08.01 [Thread-3/INFO] [FML]: Using sync timing. 200 frames of Display.update took 113820300 nanos
03:08.01 [main/INFO] [minecraft/SimpleReloadableResourceManager]: Reloading ResourceManager: Default
03:08.02 [main/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:629 ---- Minecraft Crash Report ----
// Don't be sad, have a hug! <3
Time: 6/2/20 3:08 AM
Description: Initializing game
java.lang.IllegalArgumentException: Multiple entries with same key: terraria=FMLMod:terraria{1.2.3} and terraria=FMLMod:terraria{1.2.3}. 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: 389287728 bytes (371 MB) / 718798848 bytes (685 MB) up to 3808428032 bytes (3632 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 10 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      |
   |       | terraria      | 1.2.3           | modid-1.0.jar                                     | None      |
   |       | terraria      | 1.2.3           | modid-1.0.jar                                     | None      |
   |       | attributefix  | 1.0.4           | AttributeFix-1.12.2-1.0.4.jar                     | None      |
   |       | healthbar     | 1.0.7           | HealthBar-1.12-1.0.7-23.jar                       | None      |
   |       | torohealthmod | 1.12.2-11       | ToroCrafts-Damage-Indicators-Mod-1.12.2.jar       | None      |
   |       | worldedit     | 6.1.10-SNAPSHOT | worldedit-forge-mc1.12.2-6.1.10-SNAPSHOT-dist.jar | None      |
   Loaded coremods (and transformers): 
   GL info: ' Vendor: 'ATI Technologies Inc.' Version: '4.5.13399 Compatibility Profile Context 15.201.1151.1008' Renderer: 'AMD Radeon HD 5450'
   Launched Version: 1.12.2
   LWJGL: 2.9.4
   OpenGL: AMD Radeon HD 5450 GL version 4.5.13399 Compatibility Profile Context 15.201.1151.1008, ATI Technologies Inc.
   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: No
   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 CPU 750 @ 2.67GHz
03:08.02 [main/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:629 #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\Phild\MCreatorWorkspaces\terraria\run\.\crash-reports\crash-2020-06-02_03.08.02-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 1m 2s
13 actionable tasks: 10 executed, 3 up-to-date
BUILD FAILED
Task completed in 62650 milliseconds
 

Last seen on 03:10, 19. Feb 2022
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
update MCreator please.
Tue, 06/02/2020 - 08:57

update MCreator please.

Last seen on 01:56, 16. Jan 2024
Joined Mar 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It’s sad since i don’t want…
Tue, 06/02/2020 - 17:36

It’s sad since i don’t want to because i wanted to stay on 1.12.2 which mcreator 2020.3 doesn’t support anymore. but you are proposing probably a good solution even if i might not test it. Except of i get desesperated with it.

Last seen on 01:56, 16. Jan 2024
Joined Mar 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Oh my god, by some miracle,…
Thu, 06/04/2020 - 02:27

Oh my god, by some miracle, doing "Regenerate Code" or "build and regenerate" or whatever it is, it repaired the problem !

But i think you guys should consider looking to see if that "bug" was patched yet, or if it isn't needed. I'm very glad, because it's been 2 days or so i couldn't work out my mod.