java.lang.ArrayIndexOutOfBoundsException: 42

GitHub | JustJinxed | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ArrayIndexOutOfBoundsException

      42

      at net.minecraft.item.Item$ToolMaterial.func_150995_f()
    2. Minecraft
      ItemSword.func_82789_a
      1. net.minecraft.item.Item$ToolMaterial.func_150995_f(Item.java:1390)
      2. net.minecraft.item.Item$ToolMaterial.getRepairItemStack(Item.java:1413)
      3. net.minecraft.item.ItemSword.func_82789_a(ItemSword.java:104)
      3 frames
    3. vazkii.botania.common
      RegenIvyRecipe.func_77569_a
      1. vazkii.botania.common.crafting.recipe.RegenIvyRecipe.func_77569_a(RegenIvyRecipe.java:46)
      1 frame
    4. net.minecraft.item
      CraftingManager.func_82787_a
      1. net.minecraft.item.crafting.CraftingManager.func_82787_a(CraftingManager.java:323)
      1 frame
    5. Minecraft
      Container.func_75144_a
      1. net.minecraft.inventory.ContainerWorkbench.func_75130_a(SourceFile:53)
      2. net.minecraft.inventory.InventoryCrafting.func_70299_a(SourceFile:81)
      3. net.minecraft.inventory.Slot.func_75215_d(Slot.java:77)
      4. net.minecraft.inventory.Container.func_75144_a(SourceFile:222)
      4 frames
    6. MC Client
      PlayerControllerMP.func_78753_a
      1. net.minecraft.client.multiplayer.PlayerControllerMP.func_78753_a(PlayerControllerMP.java:419)
      1 frame
    7. codechicken.nei.guihook
      GuiContainerManager.handleSlotClick
      1. codechicken.nei.guihook.GuiContainerManager.handleSlotClick(GuiContainerManager.java:504)
      1 frame
    8. MC Client
      GuiContainer.public_func_146984_a
      1. net.minecraft.client.gui.inventory.GuiContainer.func_146984_a(GuiContainer.java:638)
      2. net.minecraft.client.gui.inventory.GuiContainer.public_func_146984_a(GuiContainer.java)
      2 frames
    9. codechicken.nei.guihook
      GuiContainerManager.handleMouseClick
      1. codechicken.nei.guihook.DefaultSlotClickHandler.callHandleMouseClick(DefaultSlotClickHandler.java)
      2. codechicken.nei.guihook.DefaultSlotClickHandler.handleSlotClick(DefaultSlotClickHandler.java:17)
      3. codechicken.nei.guihook.GuiContainerManager.handleMouseClick(GuiContainerManager.java:453)
      3 frames
    10. MC Client
      Main.main
      1. net.minecraft.client.gui.inventory.GuiContainer.managerHandleMouseClick(GuiContainer.java)
      2. net.minecraft.client.gui.inventory.GuiContainer.func_146286_b(GuiContainer.java:607)
      3. net.minecraft.client.gui.GuiScreen.func_146274_d(GuiScreen.java:306)
      4. net.minecraft.client.gui.inventory.GuiContainer.func_146274_d(GuiContainer.java)
      5. net.minecraft.client.gui.GuiScreen.func_146269_k(GuiScreen.java:268)
      6. net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1628)
      7. net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:961)
      8. net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:887)
      9. net.minecraft.client.main.Main.main(SourceFile:148)
      9 frames
    11. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    12. Minecraft
      Launch.main
      1. net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
      2. net.minecraft.launchwrapper.Launch.main(Launch.java:28)
      2 frames