java.lang.NullPointerException

GitHub | Siigari | 5 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.
  1. 0

    Error feedback

    GitHub | 7 months ago | 5igm
    java.util.concurrent.ExecutionException: net.minecraft.util.ReportedException: Ticking player
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Error feedback

    GitHub | 7 months ago | 5igm
    java.util.concurrent.ExecutionException: net.minecraft.util.ReportedException: Ticking player
  4. 0

    Getting a nullpointer exception when switching displayables in J2ME

    Stack Overflow | 6 years ago | Pallinder
    java.lang.NullPointerException: 0 at javax.microedition.lcdui.Display$ChameleonTunnel.callScreenListener(), bci=46 at com.sun.midp.chameleon.layers.SoftButtonLayer.processCommand(), bci=74 at com.sun.midp.chameleon.layers.SoftButtonLayer.soft1(), bci=37 at com.sun.midp.chameleon.layers.SoftButtonLayer.keyInput(), bci=36 at com.sun.midp.chameleon.CWindow.keyInput(), bci=38 at javax.microedition.lcdui.Display$DisplayEventConsumerImpl.handleKeyEvent(), bci=17 at com.sun.midp.lcdui.DisplayEventListener.process(), bci=277 at com.sun.midp.events.EventQueue.run(), bci=179

    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 squeek.spiceoflife.foodtracker.FoodHistory.get()
    2. squeek.spiceoflife.foodtracker
      FoodModifier.getFoodValues
      1. squeek.spiceoflife.foodtracker.FoodHistory.get(FoodHistory.java:244)[FoodHistory.class:?]
      2. squeek.spiceoflife.foodtracker.FoodModifier.getFoodModifier(FoodModifier.java:120)[FoodModifier.class:?]
      3. squeek.spiceoflife.foodtracker.FoodModifier.getFoodValues(FoodModifier.java:36)[FoodModifier.class:?]
      3 frames
    3. MC Forge
      EventBus.post
      1. net.minecraftforge.fml.common.eventhandler.ASMEventHandler_809_FoodModifier_getFoodValues_GetPlayerFoodValues.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.api_impl
      AppleCoreAccessorMutatorImpl.getFoodValuesForPlayer
      1. squeek.applecore.api_impl.AppleCoreAccessorMutatorImpl.getFoodValuesForPlayer(AppleCoreAccessorMutatorImpl.java:93)[AppleCoreAccessorMutatorImpl.class:?]
      1 frame
    5. squeek.applecore.asm
      Hooks.onFoodStatsAdded
      1. squeek.applecore.asm.Hooks.onFoodStatsAdded(Hooks.java:123)[AppleCore-mc1.10.2-2.0.1.jar:?]
      1 frame
    6. net.minecraft.util
      FoodStats.func_151686_a
      1. net.minecraft.util.FoodStats.func_151686_a(SourceFile:32)[abb.class:?]
      1 frame
    7. 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$zgo000(NetHandlerPlayServer.java:225)[me.class:?]
      10. net.minecraft.network.NetHandlerPlayServer.func_73660_a(NetHandlerPlayServer.java:162)[me.class:?]
      10 frames
    8. 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
    9. 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
    10. 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
    11. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)[?:1.8.0_91]
      1 frame