java.lang.NullPointerException

Oracle Community | Torsten Kleiber | 2 years 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 oracle.dbtools.crest.swingui.editor.UDPLibrariesPersistence.load()
    2. oracle.dbtools.crest
      DataModelerAddin.initialize
      1. oracle.dbtools.crest.swingui.editor.UDPLibrariesPersistence.load(UDPLibrariesPersistence.java:220)
      2. oracle.dbtools.crest.model.design.DesignSet.createElement(DesignSet.java:56)
      3. oracle.dbtools.crest.swingui.ApplicationView.addDesign(ApplicationView.java:2497)
      4. oracle.dbtools.crest.swingui.ApplicationView.<init>(ApplicationView.java:435)
      5. oracle.dbtools.crest.swingui.ApplicationView.<init>(ApplicationView.java:389)
      6. oracle.dbtools.crest.swingui.ApplicationView.getInstance(ApplicationView.java:2258)
      7. oracle.dbtools.crest.fcp.DataModelerAddin.initialize(DataModelerAddin.java:553)
      7 frames
    3. oracle.ideimpl.extension
      AddinManagerImpl.initProductAndUserAddins
      1. oracle.ideimpl.extension.AddinManagerImpl.initializeAddin(AddinManagerImpl.java:496)
      2. oracle.ideimpl.extension.AddinManagerImpl.initializeAddin(AddinManagerImpl.java:483)
      3. oracle.ideimpl.extension.AddinManagerImpl.initializeAddins(AddinManagerImpl.java:299)
      4. oracle.ideimpl.extension.AddinManagerImpl.initProductAndUserAddins(AddinManagerImpl.java:160)
      5. oracle.ideimpl.extension.AddinManagerImpl.initProductAndUserAddins(AddinManagerImpl.java:143)
      5 frames
    4. oracle.ide
      Ide.startup
      1. oracle.ide.IdeCore.initProductAndUserAddinsAndActionRegistry(IdeCore.java:2294)
      2. oracle.ide.IdeCore.startupImpl(IdeCore.java:1817)
      3. oracle.ide.Ide.startup(Ide.java:772)
      3 frames
    5. oracle.ide.osgi
      Activator.start
      1. oracle.ide.osgi.Activator.start(Activator.java:209)
      1 frame
    6. Eclipse OSGi
      BundleContextImpl$1.run
      1. org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
      1 frame
    7. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    8. Eclipse OSGi
      EquinoxLauncher.start
      1. org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)
      2. org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
      3. org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
      4. org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:390)
      5. org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1176)
      6. org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559)
      7. org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544)
      8. org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457)
      9. org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
      10. org.eclipse.osgi.framework.internal.core.EquinoxLauncher.internalStart(EquinoxLauncher.java:271)
      11. org.eclipse.osgi.framework.internal.core.EquinoxLauncher.start(EquinoxLauncher.java:241)
      11 frames
    9. Eclipse OSGi
      Equinox.start
      1. org.eclipse.osgi.launch.Equinox.start(Equinox.java:258)
      1 frame
    10. org.netbeans.core
      Netigso.start
      1. org.netbeans.core.netigso.Netigso.start(Netigso.java:191)
      1 frame
    11. org.netbeans
      ModuleManager.enable
      1. org.netbeans.NetigsoHandle.startFramework(NetigsoHandle.java:209)
      2. org.netbeans.ModuleManager.enable(ModuleManager.java:1352)
      3. org.netbeans.ModuleManager.enable(ModuleManager.java:1156)
      3 frames
    12. org.netbeans.core
      TopThreadGroup.run
      1. org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:340)
      2. org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:276)
      3. org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:301)
      4. org.netbeans.core.startup.Main.getModuleSystem(Main.java:181)
      5. org.netbeans.core.startup.Main.getModuleSystem(Main.java:150)
      6. org.netbeans.core.startup.Main.start(Main.java:307)
      7. org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:123)
      7 frames
    13. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame