SpellEngine icon indicating copy to clipboard operation
SpellEngine copied to clipboard

Crash during startup: NoSuchFieldError on ItemStack (class_1799) initialization (MC 1.20.1, Fabric)

Open ChurchTG7 opened this issue 9 months ago • 3 comments

I'm experiencing a crash while trying to launch Minecraft 1.20.1 with Fabric Loader 0.16.14 and a large modpack (455 mods), which includes Spell Engine version 0.15.12+1.20.1.

The Issue: The game crashes very early during startup. The specific error is: java.lang.NoSuchFieldError: Class net.minecraft.class_1799 does not have member field 'java.text.NumberFormat FORMAT'

This error occurs during the static initialization () of Minecraft's ItemStack class (net.minecraft.class_1799).

Context: Minecraft Version: 1.20.1 Fabric Loader Version: 0.16.14 Spell Engine Version: 0.15.12+1.20.1 Launcher: Modrinth App Other Mods: 454 others (Full list and crash log attached/linked below) Analysis: The crash log indicates that some code is trying to access a field named FORMAT within the ItemStack class, but this field does not exist in the MC 1.20.1 version of the class. This typically points to a mod incompatibility, where a mod expects the structure of ItemStack from a different Minecraft version.

While Spell Engine is installed, the crash stack trace for this specific NoSuchFieldError doesn't directly implicate Spell Engine code. The crash happens within Minecraft's own initialization process for ItemStack. However, I wanted to report it in case it's related to an interaction Spell Engine might have or if it's a known incompatibility with another mod present in my list.

Full Crash Log: latest.log

Thank you for looking into this.

ChurchTG7 avatar May 03 '25 17:05 ChurchTG7

Unable to reproduce the issue, on a fresh installation. I cannot allocate time for checking 454 mods.

Please provide the absolute minimum set of mods to reproduce this with.

ZsoltMolnarrr avatar May 03 '25 17:05 ZsoltMolnarrr

sounds good will retest thank you

ChurchTG7 avatar May 03 '25 17:05 ChurchTG7

Hello! Any specific Spell Engine problem found regarding this issue?

ZsoltMolnarrr avatar May 22 '25 11:05 ZsoltMolnarrr