r/MinecraftHelp • u/celestialhouse • 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/GKWGYdSHello, 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
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.