AE2 Unofficial Extended Life

AE2 Unofficial Extended Life

3M Downloads

AE2 Autocrafting Gunpowder - java.lang.IndexOutOfBoundsException with substitutes active in crafting pattern

Lumpous opened this issue · 1 comments

commented

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)

ae2-uel-v0.56-7c6ceef.jar
forge-1.12.2-14.23.5.2860.jar

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:

  • 4 pulverized coal from Thermal Foundation
  • 5 redstone
    image

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/The-1.12.2-Pack#986

commented

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