Skip to content

[1.21.1 Neoforge] Crash on opening inventory #87

@via-main

Description

@via-main

Please let me know if there's any further detail I can provide, I'm incredibly hyped you folks are working on getting this mod to 1.21.1!

A quick disclaimer, I added this mod to my ATM10 1.21.1 Version 2.42 client so if that complicates this, I'll understand if this issue is closed but wanted to help on the off-chance this is useful.

Here's my crash log:
crash-2025-04-18_16.54.06-client.txt

How to reproduce:

  • Install client from ATLauncher for ATM10 1.21.1 Version 2.42
  • Open Single player world (or multiplayer) and load in
  • Hit the button bound to opening my inventory
  • Game crashes before being able to show me anything

The specific error at the top of the crash log is

java.lang.NullPointerException: Cannot invoke "net.minecraft.world.item.Item.getDefaultInstance()" because "this.result" is null
	at TRANSFORMER/createaddition@0.0NONE/com.mrh0.createaddition.recipe.charging.DeoxidizingRecipe.getResultItem(DeoxidizingRecipe.java:66) ~[createaddition-1.4.0.jar%23706!/:?] {re:classloading}
	at TRANSFORMER/theurgy@1.60.0/com.klikli_dev.theurgy.content.item.divinationrod.DivinationRodItem.lambda$registerCreativeModeTabs$3(DivinationRodItem.java:158) ~[theurgy-1.21.1-neoforge-1.60.0.jar%23992!/:1.60.0] {re:classloading}

So it looks like a classic null ref issue dealing with Theurgy's divination rod, hopefully meaning it'll be straightforward enough to track down. It may be due to an issue with Theurgy 1.60.0 but I'm wondering if there's any guard rails you can add to the Deoxidizing recipe logic to handle cases like this.

Thank you all again for your awesome work on this!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions