(Fabric 1.21.1) Crash on launch after updating the mod from 21.0.1 to 21.1.0
Asosk04 opened this issue ยท 3 comments
Describe the bug
Crash after updating to newest version.
To Reproduce
- Launch the game
- Crash
Expected behavior
When using the 21.0.1 version, it starts normal
Additional Information:
- Mod Version: NiftyCarts 21.1.0
- Minecraft Version: 1.21.1
- Fabric Version: 0.16.14
Crash log:
crash-2025-05-02_12.42.15-client.txt
Pasted online: https://gnomebot.dev/paste/231527759279685634/1367891080250392606/1367891079873036298
Are you using any other mods? Does it crash when running only NiftyCarts and its dependencies?
I do have other mods. When launching only with Nifty Carts and its dependencies it normally launches the game.
When only disabling Farmers Delight Refabricated and its extensions (I thought they could be causing an incompatibility, since I don't use the latest version of FDR because of an issue introduced on it) the issue still persists.
I also tried disabling EveryCompat mods (WoodGood and StoneZone), Polymorph and loot integration mods, but it still crashes.
It seems that the crash is caused by the NiftyCarts mod during game initialization. Specifically, it throws a NullPointerException inside this method call:
net.jmb19905.niftycarts.NiftyCarts.onInitialize(NiftyCarts.java:159)
Because the mod is trying to register something (likely a block or item) using a null reference, but as a incompatibility with some other mod.