Crash when saving an empty recipe
KindarConrath opened this issue · 10 comments
I'll create a more detailed report later, but I crashed my game when I edited a recipe, deleted everything and hit save.
+1 crash with the same issue, Save button was not disabled.
@ClockwiseGear Thanks! Got it.
Can you provide some steps to reproduce the issue?
This has just happened to me as well. If bdd66e7 is included in the most recent version of JEC on Curse, the issue appears to be unresolved.
I had populated a recipe with the JEI +
button, realised that it had cycled to the next recipe, then started to remove the items from the grid. After clearing the last item from the recipe, I (accidentally) clicked the Save
button. The game then froze for a few seconds and exited with the following message:
The game crashed whilst updating screen events
Error: java.lang.IllegalArgumentException: Invalid recipe
Full crash report: crash-2019-06-25_01.32.02-client.txt
Thanks for report!
The fix should have been pushed to curse. To clarify, this crash happens when the player attempts to save a recipe with empty input or output list. The "save" button should be disabled when any of them is empty to prevent such behavior. So can you further describe steps to reproduce it?