java.lang.NullPointerException

GitHub | Nentify | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 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
  2. 0

    J2ME (Java) - Null Pointer Exception caught in Display Class

    Stack Overflow | 6 years ago | Tom
    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
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Cloud Foundry v2 in Grails

    Stack Overflow | 3 years ago | angelo087
    java.lang.NullPointerException: Cannot invoke method getAt() on null object
  5. 0

    NullPointerException in MIDlet with left soft key

    Stack Overflow | 6 years ago | berry120
    java.lang.NullPointerException: 0 at javax.microedition.lcdui.Display$ChameleonTunnel.callItemListener(), bci=57 at com.sun.midp.chameleon.layers.SoftButtonLayer.processCommand(), bci=57 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 minetweaker.mods.jei.JEI$JEIHideItemAction.apply()
    2. minetweaker.mods.jei
      JEI$JEIHideItemAction.apply
      1. minetweaker.mods.jei.JEI$JEIHideItemAction.apply(JEI.java:47)
      1 frame
    3. minetweaker.runtime
      MTTweaker.apply
      1. minetweaker.runtime.MTTweaker.apply(MTTweaker.java:65)
      1 frame
    4. minetweaker
      MineTweakerAPI.apply
      1. minetweaker.MineTweakerAPI.apply(MineTweakerAPI.java:176)
      1 frame
    5. minetweaker.mods.jei
      JEI.hide
      1. minetweaker.mods.jei.JEI.hide(JEI.java:35)
      1 frame
    6. Unknown
      __ZenMain__.run
      1. Tekkify.__script__(tekkify.zs:150)
      2. __ZenMain__.run(tekkify.zs)
      2 frames
    7. minetweaker.runtime
      MTTweaker.load
      1. minetweaker.runtime.MTTweaker.load(MTTweaker.java:161)
      1 frame
    8. minetweaker
      MineTweakerImplementationAPI.onServerStart
      1. minetweaker.MineTweakerImplementationAPI.reload(MineTweakerImplementationAPI.java:682)
      2. minetweaker.MineTweakerImplementationAPI.onServerStart(MineTweakerImplementationAPI.java:591)
      2 frames
    9. minetweaker.mc1102
      MineTweakerMod.onServerStarting
      1. minetweaker.mc1102.MineTweakerMod.onServerStarting(MineTweakerMod.java:160)
      1 frame
    10. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    11. MC Forge
      FMLModContainer.handleModStateEvent
      1. net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:595)
      1 frame
    12. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      3. java.lang.reflect.Method.invoke(Unknown Source)
      3 frames
    13. Guava
      EventBus.post
      1. com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
      2. com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
      3. com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
      4. com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
      5. com.google.common.eventbus.EventBus.post(EventBus.java:275)
      5 frames
    14. MC Forge
      LoadController.propogateStateMessage
      1. net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:239)
      2. net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:217)
      2 frames
    15. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    16. Guava
      EventBus.post
      1. com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
      2. com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
      3. com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
      4. com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
      5. com.google.common.eventbus.EventBus.post(EventBus.java:275)
      5 frames
    17. MC Forge
      FMLCommonHandler.handleServerStarting
      1. net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:142)
      2. net.minecraftforge.fml.common.Loader.serverStarting(Loader.java:838)
      3. net.minecraftforge.fml.common.FMLCommonHandler.handleServerStarting(FMLCommonHandler.java:292)
      3 frames
    18. MC Server
      MinecraftServer.run
      1. net.minecraft.server.integrated.IntegratedServer.func_71197_b(IntegratedServer.java:122)
      2. net.minecraft.server.MinecraftServer.run(MinecraftServer.java:431)
      2 frames
    19. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame