Minecraft crashed when trying to run client

Started by Netherite on Thu, 10/01/2020 - 06:30

Topic category: Bugs and solutions

Last seen on 10:12, 29. Oct 2020
Joined Aug 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Minecraft crashed when trying to run client
Thu, 10/01/2020 - 06:30

When I trying to run client to testing my mod, the Minecraft windows appear and then crash. Can someone please help me?

The log:

Executing Gradle task: runClient
Build info: MCreator 2020.5.40313, forge-1.12.2, 64-bit, 4019 MB, Windows 10, JVM 1.8.0_265, JAVA_HOME: D:\Program\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 UP-TO-DATE
:compileJava UP-TO-DATE
:processResources UP-TO-DATE
:classes UP-TO-DATE
:jar UP-TO-DATE
:getVersionJson
:extractNatives SKIPPED
:extractUserdev UP-TO-DATE
:getAssetIndex UP-TO-DATE
:getAssets
Current status: 112/1305 8%
Current status: 1060/1305 81%
Current status: 1070/1305 81%
Current status: 1143/1305 87%
:makeStart
:runClient
13:23.55 [main/INFO] [GradleStart]: Extra: []
13:23.55 [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/thanhdat/.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]
13:23.55 [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
13:23.55 [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
13:23.55 [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
13:23.55 [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
13:23.55 [main/INFO] [FML]: Forge Mod Loader version 14.23.5.2768 for Minecraft 1.12.2 loading
13:23.55 [main/INFO] [FML]: Java is OpenJDK 64-Bit Server VM, version 1.8.0_265, running on Windows 10:amd64:10.0, installed at D:\Program\Pylo\MCreator\jdk\jre
13:23.56 [main/ERROR] [FML]: Apache Maven library folder was not in the format expected. Using default libraries directory.
13:23.56 [main/ERROR] [FML]: Full: C:\Users\thanhdat\.mcreator\gradle\caches\modules-2\files-2.1\org.apache.maven\maven-artifact\3.5.3\7dc72b6d6d8a6dced3d294ed54c2cc3515ade9f4\maven-artifact-3.5.3.jar
13:23.56 [main/ERROR] [FML]: Trimmed: c:/users/thanhdat/.mcreator/gradle/caches/modules-2/files-2.1/org.apache.maven/maven-artifact/3.5.3/
13:23.56 [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
13:23.56 [main/INFO] [FML]: Detected deobfuscated environment, loading log configs for colored console logs.
13:23.57 [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
13:23.57 [main/INFO] [FML]: Ignoring missing certificate for coremod FMLForgePlugin (net.minecraftforge.classloading.FMLForgePlugin), we are in deobf and it's a forge core plugin
13:23.57 [main/INFO] [FML]: Searching D:\Program\Pylo\MCreatorWorkspaces\inm\run\.\mods for mods
13:23.58 [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
13:23.58 [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin
13:23.58 [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
13:23.58 [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
13:23.58 [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
13:23.58 [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
13:23.58 [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
13:23.58 [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
13:23.58 [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
13:23.59 [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
13:23.59 [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
13:23.59 [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
13:24.00 [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
13:24.00 [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
13:24.00 [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
13:24.00 [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
13:24.01 [main/INFO] [minecraft/Minecraft]: Setting user: Player277
13:24.07 [main/INFO] [minecraft/Minecraft]: LWJGL Version: 2.9.4
13:24.09 [main/INFO] [FML]: -- System Details --
Details:
Minecraft Version: 1.12.2
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_265, BellSoft
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), BellSoft
Memory: 257913080 bytes (245 MB) / 369623040 bytes (352 MB) up to 937951232 bytes (894 MB)
JVM Flags: 0 total;
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML:
Loaded coremods (and transformers):
GL info: ' Vendor: 'Intel' Version: '4.3.0 - Build 20.19.15.4703' Renderer: 'Intel(R) HD Graphics'
13:24.09 [main/INFO] [FML]: MinecraftForge v14.23.5.2768 Initialized
13:24.09 [main/INFO] [FML]: Starts to replace vanilla recipe ingredients with ore ingredients.
13:24.10 [main/INFO] [FML]: Replaced 1036 ore ingredients
13:24.10 [main/INFO] [FML]: Searching D:\Program\Pylo\MCreatorWorkspaces\inm\run\.\mods for mods
13:24.12 [main/INFO] [minecraft/SimpleReloadableResourceManager]: Reloading ResourceManager: Default
13:24.14 [main/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:629 ---- Minecraft Crash Report ----
// Don't be sad, have a hug! <3
Time: 10/1/20 1:24 PM
Description: Initializing game
java.lang.IllegalArgumentException: Multiple entries with same key: nim=FMLMod:nim{1.0.5} and nim=FMLMod:nim{1.0.5}. 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:1341)
at net.minecraftforge.fml.common.Loader.identifyMods(Loader.java:427)
at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:566)
at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:232)
at net.minecraft.client.Minecraft.init(Minecraft.java:513)
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 com.google.common.collect.Maps.uniqueIndex(Maps.java:1385)
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.loadMods(Loader.java:566)
at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:232)
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.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 10 (amd64) version 10.0
Java Version: 1.8.0_265, BellSoft
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), BellSoft
Memory: 310318936 bytes (295 MB) / 431489024 bytes (411 MB) up to 937951232 bytes (894 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 |
| | nim | 1.0.5 | modid-1.0.jar | None |
| | nim | 1.0.5 | modid-1.0.jar | None |
Loaded coremods (and transformers):
GL info: ' Vendor: 'Intel' Version: '4.3.0 - Build 20.19.15.4703' Renderer: 'Intel(R) HD Graphics'
Launched Version: 1.12.2
LWJGL: 2.9.4
OpenGL: Intel(R) HD Graphics GL version 4.3.0 - Build 20.19.15.4703, 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: 2x Intel(R) Pentium(R) 3556U @ 1.70GHz
13:24.14 [main/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:629 #@!@# Game crashed! Crash report saved to: #@!@# D:\Program\Pylo\MCreatorWorkspaces\inm\run\.\crash-reports\crash-2020-10-01_13.24.14-client.txt
:runClient FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':runClient'.
> Process 'command 'D:\Program\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 59s
13 actionable tasks: 6 executed, 7 up-to-date
BUILD FAILED
Task completed in 59460 milliseconds
 

My workspace:

https://drive.google.com/file/d/1BFqeo1RuVuWitu8-51ZJatmh-qbCYYcf/view?…

Last seen on 20:55, 29. Oct 2020
Joined Apr 2010
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Delete src/main/java, then…
Thu, 10/01/2020 - 08:50

Delete src/main/java, then regenerate code and try again