java.lang.NullPointerException

This exception has no message.

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web123904

  • via Terracotta by unnutz, 11 months ago
    This exception has no message.
  • This exception has no message.
  • This exception has no message.
  • Stack trace

    • java.lang.NullPointerException at mymod.EventHandler.onFoodEaten(EventHandler.java:174)[EventHandler.class:?] at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_103_BlockHarvestEventHandler_onFoodEaten_FoodEaten.invoke(.dynamic)[?:?] at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)[ASMEventHandler.class:?] at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:130)[EventBus.class:?] at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:99)[EventBus.class:?] at squeek.applecore.asm.Hooks.onPostFoodStatsAdded(Hooks.java:128)[AppleCore-mc1.10.2-2.0.1.jar:?] at net.minecraft.util.FoodStats.func_151686_a(SourceFile:33)[abb.class:?] at net.minecraft.item.ItemFood.func_77654_b(SourceFile:46)[adt.class:?] at net.minecraft.item.ItemStack.func_77950_b(ItemStack.java:168)[adz.class:?] at net.minecraft.entity.EntityLivingBase.func_71036_o(EntityLivingBase.java:2612)[sf.class:?] at net.minecraft.entity.player.EntityPlayerMP.func_71036_o(EntityPlayerMP.java:1002)[lu.class:?] at net.minecraft.entity.EntityLivingBase.func_184608_ct(EntityLivingBase.java:2512)[sf.class:?] at net.minecraft.entity.EntityLivingBase.func_70071_h_(EntityLivingBase.java:1939)[sf.class:?] at net.minecraft.entity.player.EntityPlayer.func_70071_h_(EntityPlayer.java:233)[zs.class:?] at net.minecraft.entity.player.EntityPlayerMP.func_71127_g(EntityPlayerMP.java:303)[lu.class:?] at net.minecraft.network.NetHandlerPlayServer.redirect$onPlayerTick$0(NetHandlerPlayServer.java:225)[me.class:?] at net.minecraft.network.NetHandlerPlayServer.func_73660_a(NetHandlerPlayServer.java:162)[me.class:?] at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher$1.func_73660_a(NetworkDispatcher.java:213)[NetworkDispatcher$1.class:?] at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:287)[eo.class:?] at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:180)[md.class:?] at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:732)[MinecraftServer.class:?] at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:387)[ld.class:?] at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613)[MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471)[MinecraftServer.class:?] at java.lang.Thread.run(Unknown Source)[?:1.8.0_101]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.