Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unhandled Null Pointer Exceptions (Events on modded chests cause server crash) #307

Open
3 tasks done
Torun-S opened this issue Mar 8, 2025 · 1 comment
Open
3 tasks done
Labels
bug Something isn't working

Comments

@Torun-S
Copy link

Torun-S commented Mar 8, 2025

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

  1. Use a server with installed Ledger and More Chest Variants v1.5.11.
  2. Create any chest added by the chest mod.
  3. Place an item inside the chest and close it.
  4. Observe the server crashing.

What operating system are you running

Windows

Minecraft version

1.21.4

Ledger version

1.3.7

Logs

https://mclo.gs/bu9xHjE

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.

@Torun-S Torun-S added the bug Something isn't working label Mar 8, 2025
@vacla
Copy link
Contributor

vacla commented Mar 8, 2025

Fixed in #304

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants