Jump to content

Multiple entries with same key Intellij crash


BleuGamer

Recommended Posts

I've scoured the forums, I just know I'm doing something glaringly obvious... My last post was a facepalm but this has me seriously scratching my head. I've followed all the steps, both custom builds of my own and default...I've messed with the gradle build... I even did a clean install of windows AND linux with all defaults and still come up with the same error. It's like it's creating the mod jar file twice. This is with everything launched with factory defaults. I just extract the archive, and run the gradle build with intellij and it spits this out.

 

 

 

 

1:59:16 AM: Executing external task 'runClient'...
****************************
Powered By MCP:             
http://mcp.ocean-labs.de/   
Searge, ProfMobius, Fesh0r, 
R4wk, ZeuX, IngisKahn, bspkrs
MCP Data version : unknown
****************************
:compileApiJava UP-TO-DATE
:processApiResources UP-TO-DATE
:apiClasses UP-TO-DATE
:sourceMainJava
warning: [options] bootstrap class path not set in conjunction with -source 1.6
1 warning
:compileJava
:processResources
:classes
:jar
:getVersionJson
:extractUserDev
:extractNatives
:copyNativesLegacy
:getAssetsIndex
:getAssets
:makeStart SKIPPED
:runClient
[01:59:33] [main/INFO] [GradleStart]: Extra: []
[01:59:33] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/BleuGamer/.gradle/caches/minecraft/assets, --assetIndex, 1.7.10, --accessToken, {REDACTED}, --version, 1.7.10, --tweakClass, cpw.mods.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.GradleStartCommon$GradleStartTweaker]
[01:59:33] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[01:59:33] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[01:59:33] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.GradleStartCommon$GradleStartTweaker
[01:59:33] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
[01:59:33] [main/INFO] [FML]: Forge Mod Loader version 7.10.85.1230 for Minecraft 1.7.10 loading
[01:59:33] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_25, running on Windows 8.1:amd64:6.3, installed at C:\Program Files\Java\jdk1.8.0_25\jre
[01:59:33] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[01:59:33] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.GradleStartCommon$GradleStartTweaker
[01:59:33] [main/INFO] [GradleStart]: Injecting location in coremod cpw.mods.fml.relauncher.FMLCorePlugin
[01:59:33] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
[01:59:33] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[01:59:33] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
[01:59:33] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[01:59:33] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[01:59:33] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[01:59:34] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
[01:59:34] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
[01:59:34] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[01:59:34] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
[01:59:35] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker
[01:59:35] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker
[01:59:35] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[01:59:35] [main/INFO]: Setting user: Player109
[01:59:36] [Client thread/INFO]: LWJGL Version: 2.9.1
[01:59:37] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization
[01:59:37] [Client thread/INFO] [FML]: MinecraftForge v10.13.2.1230 Initialized
[01:59:37] [Client thread/INFO] [FML]: Replaced 182 ore recipies
[01:59:37] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization
[01:59:37] [Client thread/INFO] [FML]: Config directory created successfully
[01:59:37] [Client thread/INFO] [FML]: Searching E:\Minecraft\1.7.10\1277\BFoods\eclipse\mods for mods
[01:59:39] [Client thread/INFO]: Reloading ResourceManager: Default
[01:59:39] [Client thread/INFO] [sTDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:388]: ---- Minecraft Crash Report ----
// Ooh. Shiny.

Time: 12/26/14 1:59 AM
Description: Initializing game

java.lang.IllegalArgumentException: Multiple entries with same key: examplemod=FMLMod:examplemod{1.0} and examplemod=FMLMod:examplemod{1.0}
at com.google.common.collect.ImmutableMap.checkNoConflict(ImmutableMap.java:150)
at com.google.common.collect.RegularImmutableMap.checkNoConflictInBucket(RegularImmutableMap.java:104)
at com.google.common.collect.RegularImmutableMap.<init>(RegularImmutableMap.java:70)
at com.google.common.collect.ImmutableMap$Builder.build(ImmutableMap.java:254)
at com.google.common.collect.Maps.uniqueIndex(Maps.java:1166)
at com.google.common.collect.Maps.uniqueIndex(Maps.java:1140)
at cpw.mods.fml.common.Loader.identifyMods(Loader.java:349)
at cpw.mods.fml.common.Loader.loadMods(Loader.java:468)
at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:204)
at net.minecraft.client.Minecraft.startGame(Minecraft.java:522)
at net.minecraft.client.Minecraft.run(Minecraft.java:931)
at net.minecraft.client.main.Main.main(Main.java:164)
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:483)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78)
at GradleStart.main(GradleStart.java:45)


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Stacktrace:
at com.google.common.collect.ImmutableMap.checkNoConflict(ImmutableMap.java:150)
at com.google.common.collect.RegularImmutableMap.checkNoConflictInBucket(RegularImmutableMap.java:104)
at com.google.common.collect.RegularImmutableMap.<init>(RegularImmutableMap.java:70)
at com.google.common.collect.ImmutableMap$Builder.build(ImmutableMap.java:254)
at com.google.common.collect.Maps.uniqueIndex(Maps.java:1166)
at com.google.common.collect.Maps.uniqueIndex(Maps.java:1140)
at cpw.mods.fml.common.Loader.identifyMods(Loader.java:349)
at cpw.mods.fml.common.Loader.loadMods(Loader.java:468)
at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:204)
at net.minecraft.client.Minecraft.startGame(Minecraft.java:522)

-- Initialization --
Details:
Stacktrace:
at net.minecraft.client.Minecraft.run(Minecraft.java:931)
at net.minecraft.client.main.Main.main(Main.java:164)
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:483)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78)
at GradleStart.main(GradleStart.java:45)

-- System Details --
Details:
Minecraft Version: 1.7.10
Operating System: Windows 8.1 (amd64) version 6.3
Java Version: 1.8.0_25, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 224798072 bytes (214 MB) / 414187520 bytes (395 MB) up to 3806855168 bytes (3630 MB)
JVM Flags: 0 total; 
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP v9.05 FML v7.10.85.1230 Minecraft Forge 10.13.2.1230 5 mods loaded, 0 mods active
mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) 
FML{7.10.85.1230} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.2.1230.jar) 
Forge{10.13.2.1230} [Minecraft Forge] (forgeSrc-1.7.10-10.13.2.1230.jar) 
examplemod{1.0} [Example Mod] (modid-1.0.jar) 
examplemod{1.0} [Example Mod] (modid-1.0.jar) 
Launched Version: 1.7.10
LWJGL: 2.9.1
OpenGL: GeForce GTX 660 Ti/PCIe/SSE2 GL version 4.4.0, NVIDIA Corporation
GL Caps: Using GL 1.3 multitexturing.
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
Anisotropic filtering is supported and maximum anisotropy is 16.
Shaders are available because OpenGL 2.1 is supported.

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)
Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Anisotropic Filtering: Off (1)
[01:59:39] [Client thread/INFO] [sTDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:398]: #@!@# Game crashed! Crash report saved to: #@!@# E:\Minecraft\1.7.10\1277\BFoods\eclipse\.\crash-reports\crash-2014-12-26_01.59.39-client.txt
: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_25\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: 22.92 secs
Process 'command 'C:\Program Files\Java\jdk1.8.0_25\bin\java.exe'' finished with non-zero exit value -1
1:59:39 AM: External task execution finished 'runClient'.

 

 

 

 

I've been at this for a week, I've had some small successes but it is impossible for me to code seriously without actually being able to accomplish anything. Does anyone else have any tips? I can't be the only one this happens to when it's reproducible on a clean install.

Link to comment
Share on other sites

Hi

 

I'm not sure what is causing that, I've never seen it.

 

However my setup is slightly different and it seems to work, so you might give it a try on a separate install.

 

1) extract zip to a folder

2) run gradlew setupDecompWorkspace from the command line

3) run gradlew idea from the command line

4) Open IntelliJ, then open the project file (*.ipr).  When it asks if you want to import the gradle file, say no for now.

5) Add this line to the very end of the build.gradle file:

sourceSets { main { output.resourcesDir = output.classesDir } }

6) Use Run-> Debug... --> Minecraft Client

 

Alternatively, if you run the genIntelliJRuns gradle task, that might fix your existing install - perhaps.  It adds the Run->Debug..->Minecraft Client task.

 

-TGG

Link to comment
Share on other sites

This... worked....

 

I already have the addition to the gradle.build as what first started derailing my train was the issues with resources and intellij... I assumed running those commands inside of intellij would be sufficient.... I followed the one guys tutorial in that section, so I don't know... I'll dig a bit and see if this is a proper bug... I'm royally confuzzled... if I want to send my projects to git, will the gradle commands work? or what would be the proper way to bring gradle back into the project with minimal risk? I'm a little nervous cause it feels temperamental at the moment. Thanks for your help!

Link to comment
Share on other sites

Hi

 

To be honest I don't know enough about how it's supposed to work, I did manage to do it and it worked after a minor fix, but IMHO it doesn't really bring much advantage, provided you're happy to execute gradlew build from the command line when you want to publish your project to a jar.

 

If you do want to try importing the build.gradle, just back up the entire folder first.  Then say "yes" to "unlinked gradle project", and if necessary run genIntelliJRuns.  From memory that did it for me.

 

For git and github I use the inbuilt commands in IntelliJ and leave the gradle commands well alone.

 

-TGG

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.