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 #986

Open
1 task done
Lumpous opened this issue Oct 13, 2024 · 5 comments
Open
1 task done

AE2 Autocrafting Gunpowder - java.lang.IndexOutOfBoundsException #986

Lumpous opened this issue Oct 13, 2024 · 5 comments
Labels
minor bug Something is slightly not working properly mod issue This should be resolved by the mod

Comments

@Lumpous
Copy link

Lumpous commented Oct 13, 2024

Was this bug reported before?

  • No, it was not.

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:

  • 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

@Lumpous Lumpous added the auto: bug This bug report hasn't been looked at yet label Oct 13, 2024
@xJon
Copy link
Owner

xJon commented Oct 13, 2024

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

@xJon xJon added mod issue This should be resolved by the mod minor bug Something is slightly not working properly and removed auto: bug This bug report hasn't been looked at yet labels Oct 13, 2024
@Lumpous
Copy link
Author

Lumpous commented Oct 13, 2024

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
Copy link
Author

Lumpous commented Oct 14, 2024

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

@xJon
Copy link
Owner

xJon commented Oct 14, 2024

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

@Lumpous
Copy link
Author

Lumpous commented Oct 14, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor bug Something is slightly not working properly mod issue This should be resolved by the mod
Projects
None yet
Development

No branches or pull requests

2 participants