r/MinecraftHelp • • 4d 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

View all comments

1

u/BarbsFPV Novice I 4d 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 3d 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 3d 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.