Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1.20.1 Forge] java.lang.Exception: Mod Loading has failed #459

Open
katubug opened this issue Dec 12, 2023 · 7 comments
Open

[1.20.1 Forge] java.lang.Exception: Mod Loading has failed #459

katubug opened this issue Dec 12, 2023 · 7 comments

Comments

@katubug
Copy link

katubug commented Dec 12, 2023

Crash on startup of heavily modded game. It brought me to this screen: https://i.imgur.com/X2Ej8Es.png

The only change I made was deleting a standalone mod from the modlist. I do not believe that's relevant.

Crash report and latest log: https://gist.github.com/katubug/aa879f4aa2d8cff1f007c8fd0484350d

I'm using architectury-9.1.12-forge.jar, Forge is version 47.2.17

Thanks for your time!

@katubug
Copy link
Author

katubug commented Dec 12, 2023

Just started up the game without issue. I'm not sure what could have caused it, but I guess it's fine now? I'll leave this open in case you want to look at it, but otherwise feel free to close the issue.

@Juuxel
Copy link
Member

Juuxel commented Dec 12, 2023

at net.minecraft.client.color.item.ItemColors.handler$znn000$embeddium$preRegisterColor

Appears to be an issue with Embeddium, not really sure what. I don't think it's related to Architectury.

@Juuxel Juuxel closed this as not planned Won't fix, can't repro, duplicate, stale Dec 12, 2023
@katubug
Copy link
Author

katubug commented Dec 13, 2023

I'll chalk this one up to "modded mc be like that sometimes," but I'll keep the embeddium thing in mind in case it keeps happening. Thanks!

@ChiefArug
Copy link

FastUtil collections are not thread safe and do not check for thread safety like the built in collections, so this is likely a concurrent modification issue, meaning it will happen sporadically. Definitely something you should report to embeddium.

@katubug
Copy link
Author

katubug commented Dec 13, 2023

I've been told by embeddium "This is their bug, they are registering colors on a worker thread instead of queuing the work properly"

@embeddedt
Copy link

This appears to be an Architectury bug, AFAIK the vanilla color map is not thread-safe and so event.enqueueWork should be used inside the event handler.

@Juuxel
Copy link
Member

Juuxel commented Dec 14, 2023

Ah, I see. I'll reopen this for further investigation then.

@Juuxel Juuxel reopened this Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants