java.lang.NullPointerException

GitHub | lujiren | 2 months ago
  1. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

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