xJon / The-1.12.2-Pack

A Minecraft modpack
https://the-1122-pack.com
43 stars 7 forks source link

AE2 Autocrafting Gunpowder - java.lang.IndexOutOfBoundsException #986

Open Lumpous opened 3 days ago

Lumpous commented 3 days ago

Was this bug reported before?

Please provide a link to your crash report or latest.log, if relevant

No response

If you have any, please provide a list of additional mods

No response

Please describe the issue you are experiencing

Current modpackversion: 1.6.4 Java on local PC: java version "1.8.0_381" Java(TM) SE Runtime Environment (build 1.8.0_381-b09) Java HotSpot(TM) 64-Bit Server VM (build 25.381-b09, mixed mode)

Java on Server: openjdk version "1.8.0_422" OpenJDK Runtime Environment (build 1.8.0_422-8u422-b05-1~22.04-b05) OpenJDK 64-Bit Server VM (build 25.422-b05, mixed mode)

Only tested in MP - can reproduce on every try


Wanted to craft some gunpowder using AE2 Autocrafting but received a errormessage in clients chat. (nothing of that message is visible in any serverlog). [22:36:55] [Client thread/INFO] [STDOUT]: [vazkii.chatflow.handler.MessageMeddler:onMessageReceived:24]: Error: java.util.concurrent.ExecutionException: java.lang.IllegalStateException: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 [22:36:55] [Client thread/INFO] [net.minecraft.client.gui.GuiNewChat]: [CHAT] Error: java.util.concurrent.ExecutionException: java.lang.IllegalStateException: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

The pattern is using the recipe:

Upon further inspecting, the recipe was set to use substitutes: image Removed all pulverized charcoal to check if that's the cause, but issue occured again. Fresh restart of client and server made no change and the errormessage reappeared when substitutes was enabled in recipe.

Removed the "use substitutes" from the pattern and crafting worked like a charm.

latest.log - Errormessage in line 9156 and 9157 debug.log

xJon commented 3 days ago

Are you sure there was no error in the server log? That's really weird. What happens when you try on Singleplayer?

Lumpous commented 3 days ago

Are you sure there was no error in the server log? That's really weird. What happens when you try on Singleplayer?

Confirmed - neither debug.log nor latest.log have any entry like that. SP not tested yet - might try next day.

Lumpous commented 3 days ago

Issue can reproduced in SP also - allowing substitutes caues the same error.

xJon commented 3 days ago

@Lumpous Is there a more detailed error in the log when in Singleplayer? Or the same, minimally descriptive error?

Lumpous commented 3 days ago

The message in local debug.log is the same short, not explanatory one without any further details.

[18:17:02] [Client thread/DEBUG] [mousetweaks]: You have selected a new slot, it's slot number is 0 [18:17:02] [Client thread/DEBUG] [mousetweaks]: You have selected a new slot, it's slot number is 0 [18:17:02] [Client thread/DEBUG] [mousetweaks]: You have just opened GuiCraftAmount. [18:17:02] [Client thread/DEBUG] [mousetweaks]: Handler: IMTModGuiContainer2Handler; MT is enabled; wheel tweak is disabled. [18:17:03] [Client thread/DEBUG] [mousetweaks]: You have just opened GuiCraftConfirm. [18:17:03] [Client thread/DEBUG] [mousetweaks]: Handler: IMTModGuiContainer2Handler; MT is enabled; wheel tweak is disabled. [18:17:03] [Client thread/INFO] [STDOUT]: [vazkii.chatflow.handler.MessageMeddler:onMessageReceived:24]: Error: java.util.concurrent.ExecutionException: java.lang.IllegalStateException: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 [18:17:03] [Client thread/INFO] [net.minecraft.client.gui.GuiNewChat]: [CHAT] Error: java.util.concurrent.ExecutionException: java.lang.IllegalStateException: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 [18:17:06] [Client thread/DEBUG] [mousetweaks]: You have just opened GuiChat. [18:17:06] [Client thread/DEBUG] [mousetweaks]: No valid handler found; MT is disabled. [18:17:14] [Server thread/DEBUG] [FML]: Gathering id map for writing to world save New Modded World [18:17:57] [Client thread/DEBUG] [mousetweaks]: You have just opened GuiIngameMenu. [18:17:57] [Client thread/DEBUG] [mousetweaks]: No valid handler found; MT is disabled.