{"action":"opened","issue":{"url":"https://api.github.com/repos/aidancbrady/Mekanism/issues/2954","labels_url":"https://api.github.com/repos/aidancbrady/Mekanism/issues/2954/labels{/name}","comments_url":"https://api.github.com/repos/aidancbrady/Mekanism/issues/2954/comments","events_url":"https://api.github.com/repos/aidancbrady/Mekanism/issues/2954/events","html_url":"https://github.com/aidancbrady/Mekanism/issues/2954","id":105408754,"number":2954,"title":"Crash on NEI examination of recipies","user":{"login":"Syndaryl","id":8820565,"avatar_url":"https://avatars.githubusercontent.com/u/8820565?v=3","gravatar_id":"","url":"https://api.github.com/users/Syndaryl","html_url":"https://github.com/Syndaryl","followers_url":"https://api.github.com/users/Syndaryl/followers","following_url":"https://api.github.com/users/Syndaryl/following{/other_user}","gists_url":"https://api.github.com/users/Syndaryl/gists{/gist_id}","starred_url":"https://api.github.com/users/Syndaryl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Syndaryl/subscriptions","organizations_url":"https://api.github.com/users/Syndaryl/orgs","repos_url":"https://api.github.com/users/Syndaryl/repos","events_url":"https://api.github.com/users/Syndaryl/events{/privacy}","received_events_url":"https://api.github.com/users/Syndaryl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-08T15:42:19Z","updated_at":"2015-09-08T15:42:19Z","closed_at":null,"body":"MEKANISM-1.7.10-8.1.7.252\r\nMEKANISMGENERATORS-1.7.10-8.1.7.252\r\nMEKANISMTOOLS-1.7.10-8.1.7.252\r\n\r\nWhen I try to look at the recipe of any item via NEI, Minecraft crashes. It looks like somewhere in there, the MachineRecipeHandler is trying an invalid cast.\r\n\r\nI'm using the latest version of the Resonant Rise modpack (just updated from ATLauncher).\r\n\r\n    [08/9/2015 11:28:31 AM] [11:28:31] [Client thread/FATAL]: Reported exception thrown!\r\n    [08/9/2015 11:28:31 AM] net.minecraft.util.ReportedException: Updating screen events\r\n    [08/9/2015 11:28:31 AM] \tat net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1654) ~[bao.class:?]\r\n    [08/9/2015 11:28:31 AM] \tat net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:973) ~[bao.class:?]\r\n    [08/9/2015 11:28:31 AM] \tat net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:898) [bao.class:?]\r\n    [08/9/2015 11:28:31 AM] \tat net.minecraft.client.main.Main.main(SourceFile:148) [Main.class:?]\r\n    [08/9/2015 11:28:31 AM] \tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51]\r\n    [08/9/2015 11:28:31 AM] \tat sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_51]\r\n    [08/9/2015 11:28:31 AM] \tat sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_51]\r\n    [08/9/2015 11:28:31 AM] \tat java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_51]\r\n    [08/9/2015 11:28:31 AM] \tat net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?]\r\n    [08/9/2015 11:28:31 AM] \tat net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?]\r\n    [08/9/2015 11:28:31 AM] Caused by: java.lang.ClassCastException: net.minecraft.item.ItemStack cannot be cast to mekanism.common.recipe.machines.BasicMachineRecipe\r\n    [08/9/2015 11:28:31 AM] \tat mekanism.client.nei.MachineRecipeHandler.loadUsageRecipes(MachineRecipeHandler.java:124) ~[MachineRecipeHandler.class:?]\r\n    [08/9/2015 11:28:31 AM] \tat codechicken.nei.recipe.TemplateRecipeHandler.loadUsageRecipes(TemplateRecipeHandler.java:346) ~[TemplateRecipeHandler.class:?]\r\n    [08/9/2015 11:28:31 AM] \tat codechicken.nei.recipe.TemplateRecipeHandler.getUsageHandler(TemplateRecipeHandler.java:471) ~[TemplateRecipeHandler.class:?]\r\n    [08/9/2015 11:28:31 AM] \tat codechicken.nei.recipe.GuiUsageRecipe.openRecipeGui(GuiUsageRecipe.java:20) ~[GuiUsageRecipe.class:?]\r\n    [08/9/2015 11:28:31 AM] \tat codechicken.nei.recipe.RecipeItemInputHandler.lastKeyTyped(RecipeItemInputHandler.java:20) ~[RecipeItemInputHandler.class:?]\r\n    [08/9/2015 11:28:31 AM] \tat codechicken.nei.guihook.GuiContainerManager.lastKeyTyped(GuiContainerManager.java:307) ~[GuiContainerManager.class:?]\r\n    [08/9/2015 11:28:31 AM] \tat net.minecraft.client.gui.inventory.GuiContainer.func_73869_a(GuiContainer.java) ~[bex.class:?]\r\n    [08/9/2015 11:28:31 AM] \tat net.minecraft.client.gui.inventory.GuiContainer.public_func_73869_a(GuiContainer.java) ~[bex.class:?]\r\n    [08/9/2015 11:28:31 AM] \tat codechicken.nei.guihook.GuiContainerManager.callKeyTyped(GuiContainerManager.java) ~[GuiContainerManager.class:?]\r\n    [08/9/2015 11:28:31 AM] \tat codechicken.nei.guihook.GuiContainerManager.keyTyped(GuiContainerManager.java:475) ~[GuiContainerManager.class:?]\r\n    [08/9/2015 11:28:31 AM] \tat codechicken.nei.guihook.GuiContainerManager.handleKeyboardInput(GuiContainerManager.java:465) ~[GuiContainerManager.class:?]\r\n    [08/9/2015 11:28:31 AM] \tat net.minecraft.client.gui.inventory.GuiContainer.func_146282_l(GuiContainer.java) ~[bex.class:?]\r\n    [08/9/2015 11:28:31 AM] \tat net.minecraft.client.gui.GuiScreen.func_146269_k(GuiScreen.java:276) ~[bdw.class:?]\r\n    [08/9/2015 11:28:31 AM] \tat net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1640) ~[bao.class:?]\r\n    [08/9/2015 11:28:31 AM] \t... 9 more\r\n    [08/9/2015 11:28:31 AM] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:func_71377_b:349]: ---- Minecraft Crash Report ----\r\n    [08/9/2015 11:28:31 AM] // This is a token for 1 free hug. Redeem at your nearest Mojangsta: [~~HUG~~]\r\n    [08/9/2015 11:28:31 AM] \r\n    [08/9/2015 11:28:31 AM] Time: 9/8/15 11:28 AM\r\n    [08/9/2015 11:28:31 AM] Description: Updating screen events\r\n    [08/9/2015 11:28:31 AM] \r\n    [08/9/2015 11:28:31 AM] java.lang.ClassCastException: net.minecraft.item.ItemStack cannot be cast to mekanism.common.recipe.machines.BasicMachineRecipe\r\n    [08/9/2015 11:28:31 AM] \tat mekanism.client.nei.MachineRecipeHandler.loadUsageRecipes(MachineRecipeHandler.java:124)\r\n    [08/9/2015 11:28:31 AM] \tat codechicken.nei.recipe.TemplateRecipeHandler.loadUsageRecipes(TemplateRecipeHandler.java:346)\r\n    [08/9/2015 11:28:31 AM] \tat codechicken.nei.recipe.TemplateRecipeHandler.getUsageHandler(TemplateRecipeHandler.java:471)\r\n    [08/9/2015 11:28:31 AM] \tat codechicken.nei.recipe.GuiUsageRecipe.openRecipeGui(GuiUsageRecipe.java:20)\r\n    [08/9/2015 11:28:31 AM] \tat codechicken.nei.recipe.RecipeItemInputHandler.lastKeyTyped(RecipeItemInputHandler.java:20)\r\n    [08/9/2015 11:28:31 AM] \tat codechicken.nei.guihook.GuiContainerManager.lastKeyTyped(GuiContainerManager.java:307)\r\n    [08/9/2015 11:28:31 AM] \tat net.minecraft.client.gui.inventory.GuiContainer.func_73869_a(GuiContainer.java)\r\n    [08/9/2015 11:28:31 AM] \tat net.minecraft.client.gui.inventory.GuiContainer.public_func_73869_a(GuiContainer.java)\r\n    [08/9/2015 11:28:31 AM] \tat codechicken.nei.guihook.GuiContainerManager.callKeyTyped(GuiContainerManager.java)\r\n    [08/9/2015 11:28:31 AM] \tat codechicken.nei.guihook.GuiContainerManager.keyTyped(GuiContainerManager.java:475)\r\n    [08/9/2015 11:28:31 AM] \tat codechicken.nei.guihook.GuiContainerManager.handleKeyboardInput(GuiContainerManager.java:465)\r\n    [08/9/2015 11:28:31 AM] \tat net.minecraft.client.gui.inventory.GuiContainer.func_146282_l(GuiContainer.java)\r\n    [08/9/2015 11:28:31 AM] \tat net.minecraft.client.gui.GuiScreen.func_146269_k(GuiScreen.java:276)\r\n    [08/9/2015 11:28:31 AM] \tat net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1640)\r\n    [08/9/2015 11:28:31 AM] \tat net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:973)\r\n    [08/9/2015 11:28:31 AM] \tat net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:898)\r\n    [08/9/2015 11:28:31 AM] \tat net.minecraft.client.main.Main.main(SourceFile:148)\r\n    [08/9/2015 11:28:31 AM] \tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n    [08/9/2015 11:28:31 AM] \tat sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)\r\n    [08/9/2015 11:28:31 AM] \tat sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)\r\n    [08/9/2015 11:28:31 AM] \tat java.lang.reflect.Method.invoke(Unknown Source)\r\n    [08/9/2015 11:28:31 AM] \tat net.minecraft.launchwrapper.Launch.launch(Launch.java:135)\r\n    [08/9/2015 11:28:31 AM] \tat net.minecraft.launchwrapper.Launch.main(Launch.java:28)\r\n    [08/9/2015 11:28:31 AM] \r\n    [08/9/2015 11:28:31 AM] \r\n    [08/9/2015 11:28:31 AM] A detailed walkthrough of the error, its code path and all known details is as follows:\r\n    [08/9/2015 11:28:31 AM] ---------------------------------------------------------------------------------------\r\n    [08/9/2015 11:28:31 AM] \r\n    [08/9/2015 11:28:31 AM] -- Head --\r\n    [08/9/2015 11:28:31 AM] Stacktrace:\r\n    [08/9/2015 11:28:31 AM] \tat mekanism.client.nei.MachineRecipeHandler.loadUsageRecipes(MachineRecipeHandler.java:124)\r\n    [08/9/2015 11:28:31 AM] \tat codechicken.nei.recipe.TemplateRecipeHandler.loadUsageRecipes(TemplateRecipeHandler.java:346)\r\n    [08/9/2015 11:28:31 AM] \tat codechicken.nei.recipe.TemplateRecipeHandler.getUsageHandler(TemplateRecipeHandler.java:471)\r\n    [08/9/2015 11:28:31 AM] \tat codechicken.nei.recipe.GuiUsageRecipe.openRecipeGui(GuiUsageRecipe.java:20)\r\n    [08/9/2015 11:28:31 AM] \tat codechicken.nei.recipe.RecipeItemInputHandler.lastKeyTyped(RecipeItemInputHandler.java:20)\r\n    [08/9/2015 11:28:31 AM] \tat codechicken.nei.guihook.GuiContainerManager.lastKeyTyped(GuiContainerManager.java:307)\r\n    [08/9/2015 11:28:31 AM] \tat net.minecraft.client.gui.inventory.GuiContainer.func_73869_a(GuiContainer.java)\r\n    [08/9/2015 11:28:31 AM] \tat net.minecraft.client.gui.inventory.GuiContainer.public_func_73869_a(GuiContainer.java)\r\n    [08/9/2015 11:28:31 AM] \tat codechicken.nei.guihook.GuiContainerManager.callKeyTyped(GuiContainerManager.java)\r\n    [08/9/2015 11:28:31 AM] \tat codechicken.nei.guihook.GuiContainerManager.keyTyped(GuiContainerManager.java:475)\r\n    [08/9/2015 11:28:31 AM] \tat codechicken.nei.guihook.GuiContainerManager.handleKeyboardInput(GuiContainerManager.java:465)\r\n    [08/9/2015 11:28:31 AM] \tat net.minecraft.client.gui.inventory.GuiContainer.func_146282_l(GuiContainer.java)\r\n    [08/9/2015 11:28:31 AM] \tat net.minecraft.client.gui.GuiScreen.func_146269_k(GuiScreen.java:276)\r\n    [08/9/2015 11:28:31 AM] \r\n    [08/9/2015 11:28:31 AM] -- Affected screen --\r\n    [08/9/2015 11:28:31 AM] Details:\r\n    [08/9/2015 11:28:31 AM] \tScreen name: net.minecraft.client.gui.inventory.GuiChest"}}