Spark Unforged

Spark Unforged

598k Downloads

Crash during init phase: java.lang.ClassCastException: net.minecraft.client.Minecraft cannot be cast to me.lucko.spark.forge.mixin.MinecraftAccessorMixin

ProjectHSI opened this issue ยท 5 comments

commented

During the initialization phase (referred to as "Initialization Phase 2" (idk if it was 2 or 3)), spark appears to cause the game to crash. The error message is in the title. Logs are attached.
Relavent.zip

commented

This is some information I've gathered about the crash report so that the mod author can more easily figure out stuff. If you're not the mod author or trying to fix this problem via a PR, you can ignore this, otherwise, continue reading.

Note: All links are permalinks, so unless GitHub makes a change to their URLs they'll always point to the issue at hand.

commented

Sorry I'm late on this, normally I get an email when an issue is posted.

The crash log shows it failed to read the Spark config due to malformed input, this may be caused by either not refreshing the config when switching versions from Spark to Spark Unforged, or changing the format when editing.

Try deleting the config files in the config/spark folder and let them regenerate to default.

commented

It's OK, I haven't played my modpack in a while. I'll quickly try this.

commented

apparently there was an erroneous comma right at end... my modpack takes a while to start up so i'll see if that fixes it, it's about half way loaded.

commented

getting rid of that comma fixed it. thanks!