Jump to content

Solved: [1.13.2] Duplicate key error


Floydman

Recommended Posts

I am using Forge 25.0.44. I only have one @Mod annotation, but whenever I run or debug from within Eclipse, I get this error:

 

[19:18:35.605] [pool-2-thread-1/DEBUG] [ne.mi.fm.lo.mo.Scanner/SCAN]: Scanning C:\Users\danie\Documents\GitHub\modid\bin\main with language loader javafml
[19:18:35.605] [pool-2-thread-1/DEBUG] [ne.mi.fm.ja.FMLJavaModLanguageProvider/SCAN]: Found @Mod class thefloydman.modid.ModId with id modid
[19:18:35.605] [pool-2-thread-1/DEBUG] [ne.mi.fm.ja.FMLJavaModLanguageProvider/SCAN]: Found @Mod class thefloydman.modid.ModId with id modid
[19:18:35.606] [pool-2-thread-1/ERROR] [ne.mi.fm.lo.mo.BackgroundScanHandler/SCAN]: An error occurred scanning file Mod File: C:\Users\danie\Documents\GitHub\modid\bin\main
java.util.concurrent.CompletionException: java.lang.IllegalStateException: Duplicate key net.minecraftforge.fml.javafmlmod.FMLJavaModLanguageProvider$FMLModTarget@5c11fbc6

 

This causes Minecraft to crash the moment it loads. A few other folks on Discord have said they have the same issue. One said it just stopped happening. The other said they switched to IntelliJ. The error does not occur when using runClient from the command prompt. I have tried a clean install (and copying over the source files).

Edited by Floydman
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.