shedaniel / RoughlyEnoughItems

Clean and Configurable. Your recipe viewer mod for 1.13+.
Other
326 stars 65 forks source link

[Bug] REI crashes when immediately viewing inventory if REI has not yet fully initialized #1682

Open lexi-the-cute opened 2 months ago

lexi-the-cute commented 2 months ago

What happened?

basically, this crash error gets spit out when joining a server while cheat mode is enabled and then immediately viewing your inventory or another menu with rei pulled up (without clicking on something else)

java.lang.NoSuchMethodError: 'java.lang.Object org.apache.commons.lang3.ArrayUtils.get(java.lang.Object[], int)'

What mod loaders are you seeing the problem on?

Fabric

What do you think this bug is of?

Relevant log output

https://gist.github.com/lexi-the-cute/b9366d6cc3fc109c3dd53c6847d8fcf6

Anything else?

No response

By submitting this issue, I have included the necessary logs by pasting the contents into the correct location or attaching the file as an upload.

By submitting this issue, I have confirmed my REI and REI's dependencies are up to date.

lexi-the-cute commented 1 month ago

The crash came back, this time without cheating being enabled and I can't find a workaround. https://mclo.gs/YN3cAR9

lexi-the-cute commented 1 month ago

The crash always happens when this REI not yet fully initialized screen comes up when opening the inventory

Screenshot_20240717_091302

lexi-the-cute commented 1 month ago

at least turning on cached rendering helps speed up the initialization so one is less likely to open the inventory fast enough to cause the crash