shedaniel / RoughlyEnoughItems

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

[Bug] Crash on inventory open #1721

Open sargeow opened 2 months ago

sargeow commented 2 months ago

What happened?

If you have just freshly loaded into a world REI starts its load, in that instance whilst it is loading if you open your inventory you are guaranteed a crash. this may be a result of mythic metals as well so i have given them the same information just incase. let me know what the cause is.

CRASH: crash-2024-09-02_15.33.58-client.txt

LOG: latest.log

Thank you for doing what you do.

What mod loaders are you seeing the problem on?

Fabric

What do you think this bug is of?

Relevant log output

---- Minecraft Crash Report ----
// You should try our sister game, Minceraft!

Time: 2024-09-02 15:33:58
Description: Rendering screen

java.lang.NoSuchMethodError: 'java.lang.Object org.apache.commons.lang3.ArrayUtils.get(java.lang.Object[], int)'
    at me.shedaniel.rei.plugin.client.runtime.SearchFilterPrepareWatcher.provide(SearchFilterPrepareWatcher.java:54)
    at me.shedaniel.rei.impl.client.gui.widget.search.OverlaySearchField.lambda$drawHint$3(OverlaySearchField.java:164)
    at me.shedaniel.rei.api.common.util.CollectionUtils.flatMap(CollectionUtils.java:174)
    at me.shedaniel.rei.impl.client.gui.widget.search.OverlaySearchField.drawHint(OverlaySearchField.java:163)
    at me.shedaniel.rei.impl.client.gui.widget.search.OverlaySearchField.laterRender(OverlaySearchField.java:150)
    at me.shedaniel.rei.impl.client.gui.ScreenOverlayImpl.lateRender(ScreenOverlayImpl.java:302)
    at me.shedaniel.rei.impl.client.registry.screen.ScreenRegistryImpl$5.lateRender(ScreenRegistryImpl.java:384)
    at me.shedaniel.rei.impl.client.registry.screen.DefaultScreenOverlayRenderer.lambda$onApplied$6(DefaultScreenOverlayRenderer.java:102)
    at me.shedaniel.rei.impl.client.registry.screen.DefaultScreenOverlayRenderer.lambda$new$2(DefaultScreenOverlayRenderer.java:66)
    at net.minecraft.class_465.handler$bcd000$architectury$renderForeground(class_465.java:2726)
    at net.minecraft.class_465.method_25394(class_465.java:129)
    at nourl.mythicmetalsdecorations.client.MythicChestScreen.method_25394(MythicChestScreen.java:118)
    at net.minecraft.class_437.method_47413(class_437.java:110)
    at net.minecraft.class_757.mixinextras$bridge$method_47413$351(class_757.java)
    at net.minecraft.class_757.wrapOperation$ioj000$konkrete$wrapRenderScreenKonkrete(class_757.java:18128)
    at net.minecraft.class_757.method_3192(class_757.java:945)
    at net.minecraft.class_310.method_1523(class_310.java:1219)
    at net.minecraft.class_310.method_1514(class_310.java:802)
    at net.minecraft.client.main.Main.main(Main.java:250)
    at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:470)
    at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
    at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)

A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Thread: Render thread
Stacktrace:
    at me.shedaniel.rei.plugin.client.runtime.SearchFilterPrepareWatcher.provide(SearchFilterPrepareWatcher.java:54)
    at me.shedaniel.rei.impl.client.gui.widget.search.OverlaySearchField.lambda$drawHint$3(OverlaySearchField.java:164)
    at me.shedaniel.rei.api.common.util.CollectionUtils.flatMap(CollectionUtils.java:174)
    at me.shedaniel.rei.impl.client.gui.widget.search.OverlaySearchField.drawHint(OverlaySearchField.java:163)
    at me.shedaniel.rei.impl.client.gui.widget.search.OverlaySearchField.laterRender(OverlaySearchField.java:150)
    at me.shedaniel.rei.impl.client.gui.ScreenOverlayImpl.lateRender(ScreenOverlayImpl.java:302)
    at me.shedaniel.rei.impl.client.registry.screen.ScreenRegistryImpl$5.lateRender(ScreenRegistryImpl.java:384)
    at me.shedaniel.rei.impl.client.registry.screen.DefaultScreenOverlayRenderer.lambda$onApplied$6(DefaultScreenOverlayRenderer.java:102)
    at me.shedaniel.rei.impl.client.registry.screen.DefaultScreenOverlayRenderer.lambda$new$2(DefaultScreenOverlayRenderer.java:66)
    at net.minecraft.class_465.handler$bcd000$architectury$renderForeground(class_465.java:2726)
    at net.minecraft.class_465.method_25394(class_465.java:129)
    at nourl.mythicmetalsdecorations.client.MythicChestScreen.method_25394(MythicChestScreen.java:118)
    at net.minecraft.class_437.method_47413(class_437.java:110)
    at net.minecraft.class_757.mixinextras$bridge$method_47413$351(class_757.java)
    at net.minecraft.class_757.wrapOperation$ioj000$konkrete$wrapRenderScreenKonkrete(class_757.java:18128)

-- Screen render details --
Details:
    Screen name: nourl.mythicmetalsdecorations.client.MythicChestScreen
    Mouse location: Scaled: (480, 252). Absolute: (960.000000, 504.000000)
    Screen size: Scaled: (960, 505). Absolute: (1920, 1009). Scale factor of 2.000000
Stacktrace:
    at net.minecraft.class_757.method_3192(class_757.java:945)
    at net.minecraft.class_310.method_1523(class_310.java:1219)
    at net.minecraft.class_310.method_1514(class_310.java:802)
    at net.minecraft.client.main.Main.main(Main.java:250)
    at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:470)
    at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
    at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)

Anything else?

i figure its REI and mythic metals not liking eachother but it seems like REI is the cause. im probably wrong.

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.