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

Filling recipes with GT machines is broken with GTNH 2.7.0-beta2 and JEC 1.7.10-4.2, logs are filled with exceptions with jecalculation present in the stack trace #545

Open
NeveHanter opened this issue Oct 11, 2024 · 0 comments

Comments

@NeveHanter
Copy link

NeveHanter commented Oct 11, 2024

As I'm not sure which one is the culprit here, JustEnoughCalculation or NEI, I'm submitting JEC's cross-issue here.

GTHN 2.7.0-beta2 running on Java 21 with Java 17-21 ZIP installation with added Dynamic Surroundings and Just Enough Calculation mods.

I'm attaching the fml-client-latest.log but also pasting these exceptions in nearly verbatim form for future reference.

I've also noticed that fluids are inserted as items or something else that I need to correct afterwards?
image

This one is being thrown when I try filling the recipe in calculator:

[jecalculation/]: Exception when handling recipe: gregtech.nei.GTNEIDefaultHandler
java.lang.NullPointerException: Cannot invoke "java.lang.Class.isInstance(Object)" because "me.towdium.jecalculation.nei.adapter.GregTech.gtDefault" is null
	at Launch//me.towdium.jecalculation.nei.adapter.GregTech.handleRecipe(GregTech.java:99)
	at Launch//me.towdium.jecalculation.nei.Adapter.handleRecipe(Adapter.java:97)
	at Launch//me.towdium.jecalculation.nei.JecaOverlayHandler.convertRecipe(JecaOverlayHandler.java:56)
	at Launch//me.towdium.jecalculation.nei.JecaOverlayHandler.overlayRecipe(JecaOverlayHandler.java:43)
	at Launch//codechicken.nei.recipe.GuiOverlayButton.overlayRecipe(GuiOverlayButton.java:281)
	at Launch//codechicken.nei.recipe.GuiOverlayButton.func_146118_a(GuiOverlayButton.java:184)
	at Launch//net.minecraft.client.gui.GuiScreen.func_146286_b(GuiScreen.java:237)
	at Launch//net.minecraft.client.gui.inventory.GuiContainer.func_146286_b(GuiContainer.java:471)
	at Launch//net.minecraft.client.gui.GuiScreen.func_146274_d(GuiScreen.java:306)
	at Launch//net.minecraft.client.gui.inventory.GuiContainer.func_146274_d(GuiContainer.java)
	at Launch//net.minecraft.client.gui.GuiScreen.redirect$bfb000$modularui2$modularui$injectMouseInputEvent(GuiScreen.java:2035)
	at Launch//net.minecraft.client.gui.GuiScreen.func_146269_k(GuiScreen.java:268)
	at Launch//net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1640)
	at Launch//net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:973)
	at Launch//net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:5110)
	at Launch//net.minecraft.client.main.Main.main(SourceFile:148)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at System//net.minecraft.launchwrapper.Launch.rfb$realLaunch(Launch.java:250)
	at System//net.minecraft.launchwrapper.Launch.launch(Launch.java:35)
	at System//net.minecraft.launchwrapper.Launch.main(Launch.java:60)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at com.gtnewhorizons.retrofuturabootstrap.Main.main(Main.java:207)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at System//org.polymc.impl.OneSixLauncher.invokeMain(OneSixLauncher.java:104)
	at System//org.polymc.impl.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:176)
	at System//org.polymc.impl.OneSixLauncher.launch(OneSixLauncher.java:186)
	at System//org.polymc.EntryPoint.listen(EntryPoint.java:144)
	at System//org.polymc.EntryPoint.main(EntryPoint.java:74)

And these are present in the log:

java.lang.ClassNotFoundException: Class bytes are null for gregapi.NEI_RecipeMap (gregapi.NEI_RecipeMap, gregapi.NEI_RecipeMap)
	at System//net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:325)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:593)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:526)
	at java.base/java.lang.Class.forName0(Native Method)
	at java.base/java.lang.Class.forName(Class.java:421)
	at java.base/java.lang.Class.forName(Class.java:412)
	at Launch//me.towdium.jecalculation.nei.adapter.GregTech6.<clinit>(GregTech6.java:65)
	at Launch//me.towdium.jecalculation.nei.Adapter.init(Adapter.java:52)
	at Launch//me.towdium.jecalculation.nei.NEICalculatorConfig.loadConfig(NEICalculatorConfig.java:20)
	at Launch//codechicken.nei.NEIClientConfig$15.lambda$run$0(NEIClientConfig.java:665)
	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
	at java.base/java.util.HashMap$KeySpliterator.forEachRemaining(HashMap.java:1715)
	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
	at java.base/java.util.stream.ForEachOps$ForEachTask.compute(ForEachOps.java:291)
	at java.base/java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:754)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)
java.lang.ClassNotFoundException: Class bytes are null for gregtech.api.util.GTPP_Recipe$GTPP_Recipe_Map (gregtech.api.util.GTPP_Recipe$GTPP_Recipe_Map, gregtech.api.util.GTPP_Recipe$GTPP_Recipe_Map)
	at System//net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:325)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:593)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:526)
	at java.base/java.lang.Class.forName0(Native Method)
	at java.base/java.lang.Class.forName(Class.java:421)
	at java.base/java.lang.Class.forName(Class.java:412)
	at Launch//me.towdium.jecalculation.nei.adapter.GregTech.reflectGetRecipeMapNEIName(GregTech.java:59)
	at Launch//me.towdium.jecalculation.nei.adapter.GTPP.getAllOverlayIdentifier(GTPP.java:57)
	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
	at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1708)
	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
	at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682)
	at Launch//me.towdium.jecalculation.nei.NEICalculatorConfig.loadConfig(NEICalculatorConfig.java:30)
	at Launch//codechicken.nei.NEIClientConfig$15.lambda$run$0(NEIClientConfig.java:665)
	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
	at java.base/java.util.HashMap$KeySpliterator.forEachRemaining(HashMap.java:1715)
	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
	at java.base/java.util.stream.ForEachOps$ForEachTask.compute(ForEachOps.java:291)
	at java.base/java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:754)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)
java.lang.ClassNotFoundException: Class bytes are null for gregtech.api.util.GTPP_Recipe$GTPP_Recipe_Map_Internal (gregtech.api.util.GTPP_Recipe$GTPP_Recipe_Map_Internal, gregtech.api.util.GTPP_Recipe$GTPP_Recipe_Map_Internal)
	at System//net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:325)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:593)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:526)
	at java.base/java.lang.Class.forName0(Native Method)
	at java.base/java.lang.Class.forName(Class.java:421)
	at java.base/java.lang.Class.forName(Class.java:412)
	at Launch//me.towdium.jecalculation.nei.adapter.GregTech.reflectGetRecipeMapNEIName(GregTech.java:59)
	at Launch//me.towdium.jecalculation.nei.adapter.GTPP.getAllOverlayIdentifier(GTPP.java:60)
	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
	at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1708)
	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
	at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682)
	at Launch//me.towdium.jecalculation.nei.NEICalculatorConfig.loadConfig(NEICalculatorConfig.java:30)
	at Launch//codechicken.nei.NEIClientConfig$15.lambda$run$0(NEIClientConfig.java:665)
	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
	at java.base/java.util.HashMap$KeySpliterator.forEachRemaining(HashMap.java:1715)
	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
	at java.base/java.util.stream.ForEachOps$ForEachTask.compute(ForEachOps.java:291)
	at java.base/java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:754)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)
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