MineColonies

MineColonies

53M Downloads

Null pointer exception while resolving crafting recipes

ab9rf opened this issue ยท 3 comments

commented

Prerequisites

  • I am running the latest alpha version of MineColonies and Structurize for my Minecraft version.
  • I checked the MineColonies/Structurize wiki and made sure my issue is not covered there.
  • I made sure that this issue is not a duplicate of any existing issue.

Context

  • Minecraft Version: 1.16.3
  • MineColonies Version: 0.13.298-ALPHA
  • Structurize Version: 0.13.79-ALPHA
  • Related Mods and their Versions: Forge 34.0.9

Expected behavior

I do not expect colonists to complain that their AI has crashed. I also imagine that null pointer exceptions while resolving crafting recipes are not intended.

Actual behavior

Multiple colonists report that their AI has crashed. Reviewing the log file shows multiple NPEs in the crafting system. Some crashed colonists cannot be interacted with at all.

Steps to reproduce the issue

The problem arises from world load and requires no particular steps to experience.

Resetting the request system (/mc colony requestsystem-reset-all) generates multiple NPEs in the crafting system; see attached log.

Logs

Notes


This world was created using 0.13.263-ALPHA and upgraded to 0.13.298-ALPHA due to a bug in 263 which caused raids to never happen.

Viewers

  • Add a thumbs-up to the bug report if you are also affected. This helps the bug report become more visible to the team and doesn't clutter the comments.
  • Add a comment if you have any insights or background information that isn't already part of the conversation.
commented

fixed in latest PR

commented

(just needs to be merged into other versions)

commented

Which PR fixes it?