CoreProtect

CoreProtect

1M Downloads

[ERROR] NullPointerException when hoppers move non-compostable items to composters (v22.4/Spigot 1.20.4)

ie9527 opened this issue · 2 comments

commented

LOG:

Image Image

Environment:

  • CoreProtect: v22.4
  • Server: Spigot 1.20.4 (build R0.1-SNAPSHOT)

Description:
CoreProtect v22.4 throws continuous NullPointerExceptions in console when a hopper attempts to transfer items that cannot be composted (e.g. stone, ores, tools) into a composter block. This floods logs and impacts server performance.

Steps to Reproduce:

  1. Place composter block
  2. Position hopper pointing into composter
  3. Feed non-compostable items through hopper
  4. Observe console errors
    
    Expected Behavior:
    Either:
    a) Silently ignore the action, OR
    b) Log transaction without error
    
    Actual Behavior:
  5. No errors
  6. No log records
  7. Implied consent

1.If the funnel contains "non compostable items" and there is a compost bin below, the backend will generate a large number of errors.
2. This log is being crazily recorded, which affects the viewing of other logs

commented

Unable to replicate on MC 1.21.7 with CoreProtect v23.2-RC5.

commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.