Roughly Enough Items Fabric/Forge/NeoForge (REI)

Roughly Enough Items Fabric/Forge/NeoForge (REI)

43M Downloads

[Bug] Log spam when viewing recipe/use

dodgycoffee opened this issue ยท 0 comments

commented

What happened?

When you view a recipe/use of any item, the console SPAMS java.lang.IndexOutOfBoundsException errors at an insane rate. The error itself is very unhelpful and gives no insight into what is triggering it, but it happens every single time.

Once you leave the recipe view, the errors immediately stop. no errors trigger when just looking through item list or any other time during gameplay.

Minecraft: 1.20.1
Fabric: 0.16.14

What mod loaders are you seeing the problem on?

Fabric

What do you think this bug is of?

  • Visual
  • Recipe Lookup
  • Cheat Mode
  • Plugin Integration / JEI Plugin Compatibility
  • Others

Relevant log output

at net.minecraft.class_310.method_1514(class_310.java:802) ~[client-intermediary.jar:?]
	at net.minecraft.client.main.Main.main(Main.java:250) ~[fabric-loader-0.16.14-1.20.1.jar:?]
	at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:480) ~[fabric-loader-0.16.14.jar:?]
	at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) ~[fabric-loader-0.16.14.jar:?]
	at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) ~[fabric-loader-0.16.14.jar:?]
[15:00:47] [Render thread/ERROR]:Error executing task on Client
java.lang.IndexOutOfBoundsException: Index 59 out of bounds for length 54
	at jdk.internal.util.Preconditions.outOfBounds(Unknown Source) ~[?:?]
	at jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Unknown Source) ~[?:?]
	at jdk.internal.util.Preconditions.checkIndex(Unknown Source) ~[?:?]
	at java.util.Objects.checkIndex(Unknown Source) ~[?:?]
	at java.util.ArrayList.get(Unknown Source) ~[?:?]
	at net.minecraft.class_2371.get(class_2371.java:47) ~[client-intermediary.jar:?]
	at net.minecraft.class_1703.method_7611(class_1703.java:287) ~[client-intermediary.jar:?]
	at net.minecraft.class_1703.method_7619(class_1703.java:591) ~[client-intermediary.jar:?]
	at net.minecraft.class_634.method_11109(class_634.java:1232) ~[client-intermediary.jar:?]
	at net.minecraft.class_2653.method_11451(class_2653.java:41) ~[client-intermediary.jar:?]
	at net.minecraft.class_2653.method_11054(class_2653.java:8) ~[client-intermediary.jar:?]
	at net.minecraft.class_2600.method_11072(class_2600.java:22) ~[client-intermediary.jar:?]
	at net.minecraft.class_1255.method_18859(class_1255.java:156) ~[client-intermediary.jar:?]
	at net.minecraft.class_4093.method_18859(class_4093.java:23) ~[client-intermediary.jar:?]
	at net.minecraft.class_1255.method_16075(class_1255.java:130) ~[client-intermediary.jar:?]
	at net.minecraft.class_1255.method_5383(class_1255.java:115) ~[client-intermediary.jar:?]
	at net.minecraft.class_310.method_1523(class_310.java:1175) ~[client-intermediary.jar:?]
	at net.minecraft.class_310.method_1514(class_310.java:802) ~[client-intermediary.jar:?]
	at net.minecraft.client.main.Main.main(Main.java:250) ~[fabric-loader-0.16.14-1.20.1.jar:?]
	at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:480) ~[fabric-loader-0.16.14.jar:?]
	at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) ~[fabric-loader-0.16.14.jar:?]
	at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) ~[fabric-loader-0.16.14.jar:?]

Anything else?

The log above spams those same lines over and over and over again. Over 3 dozen repeats of the "block" within about 1 second.

[15:07:04] [Render thread/DEBUG] [REI] Created search filter with "test" using Default
[15:07:04] [Render thread/DEBUG] [REI] Starting Search: "test" with 11390 stacks, shouldAsync: true on Render thread
[15:07:04] [Render thread/DEBUG] [REI] Async Search: 29 partitions for "test"
[15:07:04] [REI-AsyncSearchManager-4/TRACE] [REI] Search "test" Used [Thread[REI-AsyncSearchManager-4,10,main]]: 3.142 ms
[15:07:04] [REI-AsyncSearchManager-4/TRACE] [REI] Search "test" Used and Applied [Thread[REI-AsyncSearchManager-4,10,main]]: 3.243 ms
[15:07:07] [Render thread/TRACE] [REI] Built Recipe View in 18.37 ms for 0 categories, 1 recipes for, 0 usages for and 2 live recipe generators.

That is all of the line in the rei.log file before and after triggering a recipe. Nothing shows up in there, or in rei errors log (empty file). It doesn't crash but the spam is crazy.

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.

  • Yes, and I did not use any paste services other than GitHub Gists.

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

  • Yes