java.lang.NullPointerException: This exception has no message.

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by Siigari
, 1 year ago
This exception has no message.
via GitHub by cosmicdan
, 10 months ago
This exception has no message.
via GitHub by 5igm
, 1 year ago
This exception has no message.
via GitHub by 5igm
, 1 year ago
This exception has no message.
java.lang.NullPointerException:
at squeek.spiceoflife.foodtracker.FoodHistory.get(FoodHistory.java:244)
at squeek.spiceoflife.foodtracker.FoodModifier.getFoodModifier(FoodModifier.java:120)
at squeek.spiceoflife.foodtracker.FoodModifier.getFoodValues(FoodModifier.java:36)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_809_FoodModifier_getFoodValues_GetPlayerFoodValues.invoke(.dynamic)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:130)
at squeek.applecore.api_impl.AppleCoreAccessorMutatorImpl.getFoodValuesForPlayer(AppleCoreAccessorMutatorImpl.java:93)
at squeek.applecore.asm.Hooks.onFoodStatsAdded(Hooks.java:123)
at net.minecraft.util.FoodStats.func_151686_a(SourceFile:32)
at net.minecraft.item.ItemFood.func_77654_b(SourceFile:46)
at net.minecraft.item.ItemStack.func_77950_b(ItemStack.java:168)
at net.minecraft.entity.EntityLivingBase.func_71036_o(EntityLivingBase.java:2612)
at net.minecraft.entity.player.EntityPlayerMP.func_71036_o(EntityPlayerMP.java:1002)
at net.minecraft.entity.EntityLivingBase.func_184608_ct(EntityLivingBase.java:2512)
at net.minecraft.entity.EntityLivingBase.func_70071_h_(EntityLivingBase.java:1939)
at net.minecraft.entity.player.EntityPlayer.func_70071_h_(EntityPlayer.java:233)
at net.minecraft.entity.player.EntityPlayerMP.func_71127_g(EntityPlayerMP.java:303)
at net.minecraft.network.NetHandlerPlayServer.redirect$onPlayerTick$zgo000(NetHandlerPlayServer.java:225)
at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:287)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:732)
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:387)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471)
at java.lang.Thread.run(Unknown Source)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

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