refinedmods / refinedstorage

An elegant solution to your hoarding problem.
https://refinedmods.com/refined-storage
MIT License
362 stars 177 forks source link

IllegalStateException: Cannot have empty result #3720

Open evhub opened 4 months ago

evhub commented 4 months ago

Describe the bug

Server crashed likely due to a player doing something with refined storage autocrafting, and now the server crashes whenever booted.

How can we reproduce this bug or crash?

I'm not sure of the exact circumstances that caused the crash to initially appear, but it is now consistently appearing in my world.

What Minecraft version is this happening on?

Minecraft 1.18.2

What Forge version is this happening on?

47.3.0

What Refined Storage version is this happening on?

1.12.4

Relevant log output

https://gist.github.com/evhub/f8d3b03facd82ce6de7f23d2589ad1ea
Nodrance commented 4 months ago

would it be possible to send a world download? (and modpack)

(I don't work on the mod i just think it could help the people who do)

evhub commented 4 months ago

No, unfortunately. Though I can try to share any other relevant logs. My guess as to what happened is that there was an autocrafting pattern that featured an item that was removed when another mod was removed/updated, rendering the pattern invalid, though that's just a guess. I tried this very dumb simple fix and it seems to make the world bootable again, though then it complains with Error while saving network due to UnsupportedOperationException: Crafting pattern is invalid. I'm hoping that'll make the world workable enough to find and remove the offending pattern, though.