Open Aubron opened 1 year ago
Relevant line of code emitting the error appears here: https://github.com/refinedmods/refinedstorage/blob/7b4f733fac4d6bfbdf5d0e17390ef464794c9918/src/main/java/com/refinedmods/refinedstorage/apiimpl/autocrafting/task/v6/calculator/CraftingCalculator.java#L207-L210
A few more notes here based on exploration:
Continuing to investigate.
Found the culprit:
It appears that when using JEI to fill out the autocrafting recipe for sand using productive bees "Sand Chip", exact mode isn't enabled, and the resulting pattern is invalid and dangerous (listed as being made of "Stone Chip", which will not make sand). Recreating the pattern with exact mode creates a safe pattern. At least when this pattern is hit via a crafting exporter, it causes the above crash.
Is this a refinedstorage bug, jei bug, or does this imply Productive Bees has malformed tags somewhere?
Is there any reason this has to have such severe consequences? I had this exception after dropping a crafting upgrade into an interface, and every time I started my game it immediately crashed out (Enigmatica 6 Expert). After several tries I had to recover from backup losing hours of "work". If the craft just fails to complete then I could investigate the cause in-game.
Describe the bug
Currently dealing with a crashing ATM8 server, seemingly caused by some kind of bug in the autocrafting network.
Server instantly crashed after removing a crafting pattern, now crashes on startup. I haven't yet managed to create a reliable reproduction case with just RS, but I'm attaching the crash log and a description of what i was doing while I troubleshoot and try and identify the issue.
Relevant logs appear to be:
How can we reproduce this bug or crash?
This prompted an immediate crash.
What Minecraft version is this happening on?
Minecraft 1.19.2
What Forge version is this happening on?
43.2.6
What Refined Storage version is this happening on?
1.11.5
Relevant log output