java.lang.NullPointerException: Unexpected error

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

java.lang.NullPointerException: Unexpected error
at net.minecraftforge.items.ItemHandlerHelper.giveItemToPlayer(ItemHandlerHelper.java:160)
at net.minecraftforge.items.ItemHandlerHelper.giveItemToPlayer(ItemHandlerHelper.java:148)
at vazkii.botania.common.item.ItemCraftingHalo.consumeFromInventory(ItemCraftingHalo.java:215)
at vazkii.botania.common.item.ItemCraftingHalo.consumeRecipeIngredients(ItemCraftingHalo.java:197)
at vazkii.botania.common.item.ItemCraftingHalo.canCraft(ItemCraftingHalo.java:176)
at vazkii.botania.common.item.ItemCraftingHalo.renderRecipe(ItemCraftingHalo.java:590)
at vazkii.botania.common.item.ItemCraftingHalo.renderHUD(ItemCraftingHalo.java:552)
at vazkii.botania.client.core.handler.HUDHandler.onDrawScreenPost(HUDHandler.java:146)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_421_HUDHandler_onDrawScreenPost_Post.invoke(.dynamic)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:68)
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:159)
at net.minecraftforge.client.GuiIngameForge.post(GuiIngameForge.java:878)
at net.minecraft.client.renderer.EntityRenderer.func_181560_a(EntityRenderer.java:1368)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1076)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:371)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.