Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Lumpous opened this issue Oct 13, 2024 · 1 comment

Comments

@Lumpous
Copy link

Lumpous commented Oct 13, 2024

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

@Lumpous
Copy link
Author

Lumpous commented Oct 14, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant