java.lang.NullPointerException

GitHub | kwpugh | 9 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Getting a nullpointer exception when switching displayables in J2ME

    Stack Overflow | 7 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 net.minecraft.command.CommandBase.compareTo()
    2. net.minecraft.command
      CommandBase.compareTo
      1. net.minecraft.command.CommandBase.compareTo(CommandBase.java:740)[j.class:?]
      2. net.minecraft.command.CommandBase.compareTo(CommandBase.java:28)[j.class:?]
      2 frames
    3. com.matthewprenger.helpfixer
      HelpFixer.onServerStarted
      1. com.matthewprenger.helpfixer.HelpFixer.validCompareTo(HelpFixer.java:93)[HelpFixer.class:1.4.15]
      2. com.matthewprenger.helpfixer.HelpFixer.onServerStarted(HelpFixer.java:77)[HelpFixer.class:1.4.15]
      2 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[?:1.8.0_91]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[?:1.8.0_91]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[?:1.8.0_91]
      4. java.lang.reflect.Method.invoke(Method.java:498)[?:1.8.0_91]
      4 frames
    5. MC Forge
      FMLModContainer.handleModStateEvent
      1. net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:595)[FMLModContainer.class:?]
      1 frame
    6. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)[?:?]
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[?:1.8.0_91]
      3. java.lang.reflect.Method.invoke(Method.java:498)[?:1.8.0_91]
      3 frames
    7. Guava
      EventBus.post
      1. com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)[minecraft_server.1.10.2.jar:?]
      2. com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)[minecraft_server.1.10.2.jar:?]
      3. com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)[minecraft_server.1.10.2.jar:?]
      4. com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)[minecraft_server.1.10.2.jar:?]
      5. com.google.common.eventbus.EventBus.post(EventBus.java:275)[minecraft_server.1.10.2.jar:?]
      5 frames
    8. MC Forge
      LoadController.propogateStateMessage
      1. net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:239)[LoadController.class:?]
      2. net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:217)[LoadController.class:?]
      2 frames
    9. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[?:1.8.0_91]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[?:1.8.0_91]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[?:1.8.0_91]
      4. java.lang.reflect.Method.invoke(Method.java:498)[?:1.8.0_91]
      4 frames
    10. Guava
      EventBus.post
      1. com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)[minecraft_server.1.10.2.jar:?]
      2. com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)[minecraft_server.1.10.2.jar:?]
      3. com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)[minecraft_server.1.10.2.jar:?]
      4. com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)[minecraft_server.1.10.2.jar:?]
      5. com.google.common.eventbus.EventBus.post(EventBus.java:275)[minecraft_server.1.10.2.jar:?]
      5 frames
    11. MC Forge
      FMLCommonHandler.handleServerStarted
      1. net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:142)[LoadController.class:?]
      2. net.minecraftforge.fml.common.Loader.serverStarted(Loader.java:851)[Loader.class:?]
      3. net.minecraftforge.fml.common.FMLCommonHandler.handleServerStarted(FMLCommonHandler.java:297)[FMLCommonHandler.class:?]
      3 frames
    12. MC Server
      MinecraftServer.run
      1. net.minecraft.server.MinecraftServer.run(MinecraftServer.java:433)[MinecraftServer.class:?]
      1 frame
    13. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)[?:1.8.0_91]
      1 frame