Toms-Storage icon indicating copy to clipboard operation
Toms-Storage copied to clipboard

java.lang.NullPointerException: Cannot invoke "com.tom.storagemod.screen.widget.ToggleButton.setState(boolean)" because "this.buttonMatchNBT" is null

Open sam-snyder opened this issue 1 year ago • 5 comments

crash-2024-11-16_17.45.07-client.txt

Get this crash when shift right-clicking an item filter on the inventory cable connector.

sam-snyder avatar Nov 16 '24 10:11 sam-snyder

crash-2025-02-06_20.43.56-client.txt

I also seem to be having this issue from just trying to open the filter

clarence112 avatar Feb 07 '25 01:02 clarence112

tested: tag item filters have the same issue, but with buttonAllowList instead

clarence112 avatar Feb 07 '25 02:02 clarence112

further testing has revealed that this is an incompatibility

in my case caused by Inventory Sorter ( https://modrinth.com/mod/inventory-sorting )

might also happen with other mods that modify the player gui, idk

clarence112 avatar Feb 07 '25 03:02 clarence112

It's probably a bug in Inventory Sorter then. The crash happens when the gui isn't initialized yet and it's shown. Normally this just can't happen. Can you post your full log?

tom5454 avatar Feb 07 '25 19:02 tom5454