java.lang.NullPointerException: Unexpected error

GitHub | JosEffigy | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.lang.NullPointerException

    Unexpected error

    at net.minecraftforge.items.ItemHandlerHelper.giveItemToPlayer()
  2. net.minecraftforge.items
    ItemHandlerHelper.giveItemToPlayer
    1. net.minecraftforge.items.ItemHandlerHelper.giveItemToPlayer(ItemHandlerHelper.java:160)
    2. net.minecraftforge.items.ItemHandlerHelper.giveItemToPlayer(ItemHandlerHelper.java:148)
    2 frames
  3. vazkii.botania.common
    ItemCraftingHalo.renderHUD
    1. vazkii.botania.common.item.ItemCraftingHalo.consumeFromInventory(ItemCraftingHalo.java:215)
    2. vazkii.botania.common.item.ItemCraftingHalo.consumeRecipeIngredients(ItemCraftingHalo.java:197)
    3. vazkii.botania.common.item.ItemCraftingHalo.canCraft(ItemCraftingHalo.java:176)
    4. vazkii.botania.common.item.ItemCraftingHalo.renderRecipe(ItemCraftingHalo.java:590)
    5. vazkii.botania.common.item.ItemCraftingHalo.renderHUD(ItemCraftingHalo.java:552)
    5 frames
  4. vazkii.botania.client
    HUDHandler.onDrawScreenPost
    1. vazkii.botania.client.core.handler.HUDHandler.onDrawScreenPost(HUDHandler.java:146)
    1 frame
  5. MC Forge
    GuiIngameForge.func_175180_a
    1. net.minecraftforge.fml.common.eventhandler.ASMEventHandler_421_HUDHandler_onDrawScreenPost_Post.invoke(.dynamic)
    2. net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:68)
    3. net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:159)
    4. net.minecraftforge.client.GuiIngameForge.post(GuiIngameForge.java:878)
    5. net.minecraftforge.client.GuiIngameForge.func_175180_a(GuiIngameForge.java:204)
    5 frames
  6. MC Client
    Main.main
    1. net.minecraft.client.renderer.EntityRenderer.func_181560_a(EntityRenderer.java:1368)
    2. net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1076)
    3. net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:371)
    4. net.minecraft.client.main.Main.main(SourceFile:124)
    4 frames
  7. 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
  8. Minecraft
    Launch.main
    1. net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    2. net.minecraft.launchwrapper.Launch.main(Launch.java:28)
    2 frames