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

Golden Nugget Usage Recipe ArrayIndexOutOfBoundsException #18229

Closed
3 tasks done
r2go-beep opened this issue Dec 5, 2024 · 5 comments · Fixed by #18231
Closed
3 tasks done

Golden Nugget Usage Recipe ArrayIndexOutOfBoundsException #18229

r2go-beep opened this issue Dec 5, 2024 · 5 comments · Fixed by #18231
Labels
Bug: Minor Mod: Binnie Includes Extra Bees, Extra Trees, Botany, Genetics, and Binnie Core Mod: NEI Status: Ready for Developer Issue ready for a developer to pick up and implement

Comments

@r2go-beep
Copy link
Contributor

Your GTNH Discord Username

r2go

Your Pack Version

2.7.0-RC2

Your Server

SP

Java Version

Java 21

Type of Server

None

Your Expectation

Tried to look up usage for a golden nuget.

The Reality

[10:34:06] [NEI-worker-thread-44/ERROR] [NotEnoughItems]: Error while looking up usage recipe
[10:34:06] [NEI-worker-thread-44/ERROR] [NotEnoughItems]: inputId: item
[10:34:06] [NEI-worker-thread-44/ERROR] [NotEnoughItems]: ingredients: [60xitem.goldNugget@0]
[10:34:06] [NEI-worker-thread-44/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: java.lang.ArrayIndexOutOfBoundsException: Index 0 out of bounds for length 0
[10:34:06] [NEI-worker-thread-44/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at Launch//binnie.core.nei.PositionedFluidTank.(PositionedFluidTank.java:36)
[10:34:06] [NEI-worker-thread-44/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at Launch//binnie.core.nei.PositionedFluidTank.(PositionedFluidTank.java:43)
[10:34:06] [NEI-worker-thread-44/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at Launch//binnie.genetics.nei.PolymeriserRecipeHandler$CachedPolymeriserRecipe.(PolymeriserRecipeHandler.java:162)
[10:34:06] [NEI-worker-thread-44/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at Launch//binnie.genetics.nei.PolymeriserRecipeHandler.loadAllRecipes(PolymeriserRecipeHandler.java:72)
[10:34:06] [NEI-worker-thread-44/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at Launch//binnie.genetics.nei.PolymeriserRecipeHandler.loadUsageRecipes(PolymeriserRecipeHandler.java:88)
[10:34:06] [NEI-worker-thread-44/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at Launch//codechicken.nei.recipe.TemplateRecipeHandler.loadUsageRecipes(TemplateRecipeHandler.java:484)
[10:34:06] [NEI-worker-thread-44/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at Launch//binnie.core.nei.RecipeHandlerBase.loadUsageRecipes(RecipeHandlerBase.java:70)
[10:34:06] [NEI-worker-thread-44/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at Launch//codechicken.nei.recipe.TemplateRecipeHandler.getUsageHandler(TemplateRecipeHandler.java:611)
[10:34:06] [NEI-worker-thread-44/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at Launch//codechicken.nei.recipe.TemplateRecipeHandler.getUsageAndCatalystHandler(TemplateRecipeHandler.java:635)
[10:34:06] [NEI-worker-thread-44/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at Launch//codechicken.nei.recipe.GuiUsageRecipe.getUsageOrCatalystHandler(GuiUsageRecipe.java:96)
[10:34:06] [NEI-worker-thread-44/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at Launch//codechicken.nei.recipe.GuiUsageRecipe.lambda$getUsageHandlers$0(GuiUsageRecipe.java:52)
[10:34:06] [NEI-worker-thread-44/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at Launch//codechicken.nei.recipe.RecipeHandlerQuery.lambda$getHandlersWithRecipes$3(RecipeHandlerQuery.java:98)
[10:34:06] [NEI-worker-thread-44/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at java.base/java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
[10:34:06] [NEI-worker-thread-44/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(Unknown Source)
[10:34:06] [NEI-worker-thread-44/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at java.base/java.util.stream.AbstractPipeline.copyInto(Unknown Source)
[10:34:06] [NEI-worker-thread-44/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
[10:34:06] [NEI-worker-thread-44/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at java.base/java.util.stream.ReduceOps$ReduceTask.doLeaf(Unknown Source)
[10:34:06] [NEI-worker-thread-44/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at java.base/java.util.stream.ReduceOps$ReduceTask.doLeaf(Unknown Source)
[10:34:06] [NEI-worker-thread-44/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at java.base/java.util.stream.AbstractTask.compute(Unknown Source)
[10:34:06] [NEI-worker-thread-44/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at java.base/java.util.concurrent.CountedCompleter.exec(Unknown Source)
[10:34:06] [NEI-worker-thread-44/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at java.base/java.util.concurrent.ForkJoinTask.doExec(Unknown Source)
[10:34:06] [NEI-worker-thread-44/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(Unknown Source)
[10:34:06] [NEI-worker-thread-44/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at java.base/java.util.concurrent.ForkJoinPool.scan(Unknown Source)
[10:34:06] [NEI-worker-thread-44/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at java.base/java.util.concurrent.ForkJoinPool.runWorker(Unknown Source)
[10:34:06] [NEI-worker-thread-44/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at java.base/java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)

Your Proposal

Threw error above

Final Checklist

  • I have searched this issue tracker and there is nothing similar already. Posting on a closed issue saying the bug still exists will prompt us to investigate and reopen it once we confirm your report.
  • I can reproduce this problem consistently by follow the exact steps I described above, or this does not need reproducing, e.g. recipe loophole.
  • I have asked other people and they confirm they also have this problem by follow the exact steps I described above, or this does not need reproducing, e.g. recipe loophole.
@r2go-beep r2go-beep added Bug: Minor Status: Triage Issue awaiting triage. Remove once this issue is processed labels Dec 5, 2024
@RAFAEL-SOSA-UH RAFAEL-SOSA-UH added Status: Can't Reproduce Issue cannot be reproduced Crash Mod: NEI and removed Bug: Minor Status: Triage Issue awaiting triage. Remove once this issue is processed labels Dec 5, 2024
@chochem chochem added the Mod: Binnie Includes Extra Bees, Extra Trees, Botany, Genetics, and Binnie Core label Dec 5, 2024
@chochem
Copy link
Member

chochem commented Dec 5, 2024

image

I can reproduce this just fine by clicking uses here on RC3

@chochem chochem added Bug: Minor and removed Status: Can't Reproduce Issue cannot be reproduced Crash labels Dec 5, 2024
@chochem chochem mentioned this issue Dec 5, 2024
@chochem chochem changed the title Golden Nuget Usage Recipe ArrayIndexOutOfBoundsException Golden Nugget Usage Recipe ArrayIndexOutOfBoundsException Dec 5, 2024
@chochem
Copy link
Member

chochem commented Dec 5, 2024

to be precise, you get this in chat:
image

and this in the log:

[16:08:11] [NEI-worker-thread-15/ERROR] [NotEnoughItems/]: inputId: item
[16:08:11] [NEI-worker-thread-15/ERROR] [NotEnoughItems/]: ingredients: [1xitem.goldNugget@0]
[16:08:11] [NEI-worker-thread-15/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:785]: java.lang.ArrayIndexOutOfBoundsException: Index 0 out of bounds for length 0
[16:08:11] [NEI-worker-thread-15/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:785]: 	at Launch//binnie.core.nei.PositionedFluidTank.<init>(PositionedFluidTank.java:36)
[16:08:11] [NEI-worker-thread-15/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:785]: 	at Launch//binnie.core.nei.PositionedFluidTank.<init>(PositionedFluidTank.java:43)
[16:08:11] [NEI-worker-thread-15/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:785]: 	at Launch//binnie.genetics.nei.PolymeriserRecipeHandler$CachedPolymeriserRecipe.<init>(PolymeriserRecipeHandler.java:162)
[16:08:11] [NEI-worker-thread-15/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:785]: 	at Launch//binnie.genetics.nei.PolymeriserRecipeHandler.loadAllRecipes(PolymeriserRecipeHandler.java:72)
[16:08:11] [NEI-worker-thread-15/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:785]: 	at Launch//binnie.genetics.nei.PolymeriserRecipeHandler.loadUsageRecipes(PolymeriserRecipeHandler.java:88)
[16:08:11] [NEI-worker-thread-15/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:785]: 	at Launch//codechicken.nei.recipe.TemplateRecipeHandler.loadUsageRecipes(TemplateRecipeHandler.java:484)
[16:08:11] [NEI-worker-thread-15/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:785]: 	at Launch//binnie.core.nei.RecipeHandlerBase.loadUsageRecipes(RecipeHandlerBase.java:70)
[16:08:11] [NEI-worker-thread-15/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:785]: 	at Launch//codechicken.nei.recipe.TemplateRecipeHandler.getUsageHandler(TemplateRecipeHandler.java:611)
[16:08:11] [NEI-worker-thread-15/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:785]: 	at Launch//codechicken.nei.recipe.TemplateRecipeHandler.getUsageAndCatalystHandler(TemplateRecipeHandler.java:635)
[16:08:11] [NEI-worker-thread-15/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:785]: 	at Launch//codechicken.nei.recipe.GuiUsageRecipe.getUsageOrCatalystHandler(GuiUsageRecipe.java:96)
[16:08:11] [NEI-worker-thread-15/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:785]: 	at Launch//codechicken.nei.recipe.GuiUsageRecipe.lambda$getUsageHandlers$0(GuiUsageRecipe.java:52)
[16:08:11] [NEI-worker-thread-15/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:785]: 	at Launch//codechicken.nei.recipe.RecipeHandlerQuery.lambda$getHandlersWithRecipes$3(RecipeHandlerQuery.java:98)
[16:08:11] [NEI-worker-thread-15/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:785]: 	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
[16:08:11] [NEI-worker-thread-15/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:785]: 	at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1708)
[16:08:11] [NEI-worker-thread-15/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:785]: 	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
[16:08:11] [NEI-worker-thread-15/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:785]: 	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
[16:08:11] [NEI-worker-thread-15/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:785]: 	at java.base/java.util.stream.ReduceOps$ReduceTask.doLeaf(ReduceOps.java:960)
[16:08:11] [NEI-worker-thread-15/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:785]: 	at java.base/java.util.stream.ReduceOps$ReduceTask.doLeaf(ReduceOps.java:934)
[16:08:11] [NEI-worker-thread-15/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:785]: 	at java.base/java.util.stream.AbstractTask.compute(AbstractTask.java:327)
[16:08:11] [NEI-worker-thread-15/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:785]: 	at java.base/java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:754)
[16:08:11] [NEI-worker-thread-15/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:785]: 	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
[16:08:11] [NEI-worker-thread-15/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:785]: 	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
[16:08:11] [NEI-worker-thread-15/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:785]: 	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
[16:08:11] [NEI-worker-thread-15/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:785]: 	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
[16:08:11] [NEI-worker-thread-15/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:785]: 	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)```

@chochem chochem added the Status: Ready for Developer Issue ready for a developer to pick up and implement label Dec 5, 2024
@slprime
Copy link
Member

slprime commented Dec 5, 2024

2 broken recipes (i set custom fluid to see this recipes)
image

binnie.genetics.item.ItemSerum and binnie.genetics.item.ItemSerumArray

@OneEyeMaker
Copy link
Contributor

OneEyeMaker commented Dec 5, 2024

@slprime These recipes aren't broken. Binnie mods use NEI to search for every serum (one is registered for every bee/tree) and use this item to construct recipes. But currently serum and serum array are hidden in NEI, so Binnie mods can't construct any valid recipe.
When you manually modify fluid part of these recipes you just see partially valid recipe.

@OneEyeMaker
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug: Minor Mod: Binnie Includes Extra Bees, Extra Trees, Botany, Genetics, and Binnie Core Mod: NEI Status: Ready for Developer Issue ready for a developer to pick up and implement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants