r/MinecraftHelp • • 2d ago

Solved [JAVA] Game crashing with 'NoClassDefFoundError: Could not initialize class java.awt.Color' running mods on Neoforge, V 1.21.10

https://mclo.gs/GKWGYdS

Hello, my game crashes before even loading with this error code. It ran fine 2 days ago and I haven't changed anything until these crashes today. I ran several crash reports through some applications to analyze them as I don't read code well and did a few things they said the best I could with my limited knowledge. Deleted and re-downloaded and removed some mods and it seems this is the main issue as removing the problem mods mentioned by the applications, this still pops up. I added a link with the most recent crash report. I would really appreciate any help or knowledge, as I seem to have exhausted my computer/mod knowledge! Thank you

1 Upvotes

11 comments sorted by

•

u/MinecraftHelpModTeam 🤖 Mod Bot 🤖 1d ago

This post has been marked solved and comments locked.


I am a bot and this account is not monitored. Please contact the mods if you have any questions.

2

u/celestialhouse 1d ago

The solution was found outside of this subreddit on ModdedMinecraft. It was a Neoforge loading screen issue. Opening a file called fml.toml in the Config folder and changing it from true to false fixed the issue!

1

u/celestialhouse 2d ago

Automod says there's no link, just in case there isn't or it's showing up weird: https://mclo.gs/GKWGYdS

1

u/BarbsFPV Novice I 2d ago

This crash is kind of a mystery, since the log doesn’t point to anything conclusive, other than an image is missing that’s required by the mod loader.

However one thing I did notice in your log, that could be contributing to the crash, is you’re using Minecraft 1.21.10, but several of your mods are still for 1.21.9. You should make sure that all of your mods are always updated to the same version of Minecraft that you’re using.

I checked a few of the 1.21.9 mods, and there is 1.21.10 versions for them, so you should update those mods first and then see if the crashing stops. If not then at least that’s one less possibility.

1

u/celestialhouse 1d ago

Hello, thank you for your response and looking at the log and such, I appreciate it.

I did not realize some mods were not exact matches still! Thanks for the shout. I will try this out soon and respond if anything helped :)

1

u/AutoModerator 1d ago

If your issue is now fixed, please remember to mark the post solved.

If someone on r/MinecraftHelp provided the solution:
Reply with "!helped" to the comment, or comments, that helped.

If you found the solution yourself, or outside r/MinecraftHelp:
Make a new top level comment containing the solution, and reply to it with "!helped".

Note that u/NitwitBot DOESN'T react to edited comments.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/AutoModerator 2d ago

OP, your post mentions a crash but does not appear to include a link to a log or crash report.

To help others assist you, please upload your logs to mclo.gs and update your post with the link or post a comment.

If you are unsure what log files are or how to add them, please check out the guide here

Your post is still visible on the sub.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/MinecraftHelpModTeam 🤖 Mod Bot 🤖 2d ago

OP, remember to award points to helpers, and mark the post solved, by replying !helped to the comment/comments that helped, when your issue is fixed or your question answered.

Helpers, remember that all top-level comments* must be a genuine, good faith attempt to help OP. Comments breaking this rule will be removed, and bans issued.

* A top-level comment is any comment that is a reply to the post, not another ^comment.

Links:

Moderator applications open || How to mark solved || How to delete your post || FAQ || Rules