-
Notifications
You must be signed in to change notification settings - Fork 14
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
Crash when looking something up in NEI "ExceptionInInitializerError" #1185
Comments
While trying to pin it down - it seems to be related to the fabrication recipes much like the hanging when gregtech is installed. Maybe a quick possible workaround would be to add an option to remove the fabrication recipes from NEI? You maybe could even add an ingame item that is used to calculate the costs for something. |
I solved the issue: It happens when KAMI is disabled on the server. I would suggest, that in line 150 in the File FabricationRecipes.java there should be a check not only for ThaumicTinkerer, but also if KAMI is enabled. Disabling KAMI seems like mandatory for me, as the items are utterly overpowered and can easily break the world. |
I do not know if I can check that. But I can check if the item is null. |
That seems like a good approach. Maybe that would be a good fail-save for every case? That might happen for other mods as well, and it would be nice if that would not induce a crash. |
Can you help me out with this one? I get a similar crash, it occurs when I tried to look up uses for an item (recipes seem to work) UPDATE: I temporarily disabled GregTech (for the sake of loading times) and the issue was gone. Here´s the log: [11:28:49] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:func_71377_b:349]: ---- Minecraft Crash Report ---- Time: 12/5/16 11:28 AM java.lang.ExceptionInInitializerError A detailed walkthrough of the error, its code path and all known details is as follows:-- Head -- -- Affected screen -- -- Affected level -- -- System Details --
[11:28:49] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:func_71377_b:359]: #@!@# Game crashed! Crash report saved to: #@!@# C:\Games\Feed the Beast\FTBInfinity\minecraft\crash-reports\crash-2016-12-05_11.28.49-client.txt |
Also getting above error. |
I was coming here to post about this but I see it's already been reported. Here's my crash report if it might help; with only the relevant mods, and latest as of DragonAPI 17b: |
Not sure why this is still open; it is almost certainly fixed, especially given the lack of similar reports - or experiences during my own playthroughs - since 2019 or so. |
As already mentioned here #1180, I can no longer use NEI. it used to work, but now everytime i want to look up a recipe, it crashes with the following (do note i have gregtech, and i had also the Issue in the past about the long hang when first looking something up, but now it directly crashes, and the report seems to only mention Chromaticraft and dragonAPI):
java.lang.ExceptionInInitializerError at Reika.ChromatiCraft.ModInterface.NEI.FabricatorHandler.loadCraftingRecipes(FabricatorHandler.java:122) at codechicken.nei.recipe.TemplateRecipeHandler.loadCraftingRecipes(TemplateRecipeHandler.java:331) at Reika.ChromatiCraft.ModInterface.NEI.FabricatorHandler.loadCraftingRecipes(FabricatorHandler.java:109) at codechicken.nei.recipe.TemplateRecipeHandler.getRecipeHandler(TemplateRecipeHandler.java:466) at codechicken.nei.recipe.GuiCraftingRecipe.openRecipeGui(GuiCraftingRecipe.java:20) at codechicken.nei.ItemPanel.mouseUp(ItemPanel.java:258) at codechicken.nei.LayoutManager.onMouseUp(LayoutManager.java:166) at codechicken.nei.guihook.GuiContainerManager.mouseUp(GuiContainerManager.java:365) at codechicken.nei.guihook.GuiContainerManager.overrideMouseUp(GuiContainerManager.java:357) at net.minecraft.client.gui.inventory.GuiContainer.func_146286_b(GuiContainer.java) at net.minecraft.client.gui.GuiScreen.func_146274_d(GuiScreen.java:306) at net.minecraft.client.gui.inventory.GuiContainer.func_146274_d(GuiContainer.java) at net.minecraft.client.gui.GuiScreen.func_146269_k(GuiScreen.java:268) at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1640) at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:973) at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:898) at net.minecraft.client.main.Main.main(SourceFile:148) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) Caused by: Reika.DragonAPI.Exception.MisuseException: DragonAPI or one of its subclasses or methods was used incorrectly! The current error was caused by the following: You cannot key a null itemstack! at Reika.DragonAPI.Instantiable.Data.KeyedItemStack.<init>(KeyedItemStack.java:41) at Reika.ChromatiCraft.Auxiliary.RecipeManagers.FabricationRecipes.addRecipe(FabricationRecipes.java:194) at Reika.ChromatiCraft.Auxiliary.RecipeManagers.FabricationRecipes.<init>(FabricationRecipes.java:161) at Reika.ChromatiCraft.Auxiliary.RecipeManagers.FabricationRecipes.<clinit>(FabricationRecipes.java:38) ... 23 more
Full crash report:
crash-2016-11-01_06.28.42-client.txt
The text was updated successfully, but these errors were encountered: