
Unhandled Null Pointer Exceptions (Events on modded chests cause server crash)
Torun-S opened this issue ยท 1 comments
Expected behavior
Server continuing to run upon interacting with modded chests from More Chest Variants mod, even if those interactions are not logged or logged with partial information.
Observed/actual behavior
Upon interacting with a chest from More Chest Variants mod, the server immediately crashes and requires restart.
Steps/models to reproduce
- Use a server with installed Ledger and More Chest Variants v1.5.11.
- Create any chest added by the chest mod.
- Place an item inside the chest and close it.
- Observe the server crashing.
What operating system are you running
Windows
Minecraft version
1.21.4
Ledger version
1.3.7
Logs
Agreements
- I am running the latest version of the mod.
- My version of Minecraft is supported.
- I have searched for and ensured there isn't already an open issue regarding this.
Other
Why am I posting a bug when I have resolved it by removing a different mod? Because the logs show the crash occurs due to an unhandled Null Pointer Exception on part of callbacks in Ledger. The issue isn't necessarily placing items in modded chests, the issue may potentially lie in Ledger handling NPEs gracefully and so I believe may warrant the developer's attention.
Fixed in #304