java.lang.NullPointerException

Oracle Community | Kevan Gelling | 6 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

    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 | 2 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.raptor.navigator.db.xml.NavigatorDescriptor.<init>()
    2. oracle.dbtools.raptor
      NavigatorHook$Listener.listenerAttached
      1. oracle.dbtools.raptor.navigator.db.xml.NavigatorDescriptor.<init>(NavigatorDescriptor.java:46)
      2. oracle.dbtools.raptor.navigator.db.xml.NavigatorDescriptor.createDescriptor(NavigatorDescriptor.java:28)
      3. oracle.dbtools.raptor.navigator.db.xml.NavigatorHook.createDescriptor(NavigatorHook.java:349)
      4. oracle.dbtools.raptor.navigator.db.xml.NavigatorHook.processURL(NavigatorHook.java:324)
      5. oracle.dbtools.raptor.navigator.db.xml.NavigatorHook.access$100(NavigatorHook.java:49)
      6. oracle.dbtools.raptor.navigator.db.xml.NavigatorHook$Listener.processDescriptors(NavigatorHook.java:130)
      7. oracle.dbtools.raptor.navigator.db.xml.NavigatorHook$Listener.listenerAttached(NavigatorHook.java:102)
      7 frames
    3. oracle.ide.extension
      HashStructureHook.addHashStructureHookListener
      1. oracle.ide.extension.HashStructureHook._fireListenerAttachedEvent(HashStructureHook.java:318)
      2. oracle.ide.extension.HashStructureHook.addHashStructureHookListener(HashStructureHook.java:242)
      2 frames
    4. oracle.dbtools.raptor
      Connections.getConnection
      1. oracle.dbtools.raptor.navigator.db.xml.NavigatorHook.initListener(NavigatorHook.java:185)
      2. oracle.dbtools.raptor.navigator.db.xml.NavigatorHook.getNavigatorDescriptors(NavigatorHook.java:225)
      3. oracle.dbtools.raptor.navigator.db.xml.NavigatorHook.fetchConnectionTypes(NavigatorHook.java:309)
      4. oracle.dbtools.raptor.navigator.db.xml.NavigatorHook.getConnectionType(NavigatorHook.java:276)
      5. oracle.dbtools.raptor.navigator.db.xml.NavigatorHook.getConnectionType(NavigatorHook.java:257)
      6. oracle.dbtools.raptor.navigator.ObjectFactoryRegistry.createFactory(ObjectFactoryRegistry.java:164)
      7. oracle.dbtools.raptor.navigator.ObjectFactoryRegistry.getFactory(ObjectFactoryRegistry.java:153)
      8. oracle.dbtools.raptor.navigator.ObjectFactory.getFactory(ObjectFactory.java:51)
      9. oracle.dbtools.raptor.navigator.db.xml.ConnectionTypeDetails.getTypeDetails(ConnectionTypeDetails.java:137)
      10. oracle.dbtools.raptor.InitializeConnectionListener.initConnection(InitializeConnectionListener.java:92)
      11. oracle.dbtools.raptor.InitializeConnectionListener$1.initializeConnection(InitializeConnectionListener.java:50)
      12. oracle.dbtools.raptor.utils.Connections.initializeConnection(Connections.java:1964)
      13. oracle.dbtools.raptor.utils.Connections.access$100(Connections.java:64)
      14. oracle.dbtools.raptor.utils.Connections$ConnectionInfo.getDatabase(Connections.java:330)
      15. oracle.dbtools.raptor.utils.Connections.getConnection(Connections.java:1201)
      16. oracle.dbtools.raptor.utils.Connections.getConnection(Connections.java:1187)
      16 frames
    5. oracle.dbtools.unit_test
      RootFolder$3.doWork
      1. oracle.dbtools.unit_test.UtRepositoryManager.setPrivateConnection(UtRepositoryManager.java:307)
      2. oracle.dbtools.unit_test.UtRepositoryManager.openConnectionNoChecks(UtRepositoryManager.java:240)
      3. oracle.dbtools.unit_test.UtAddin.openRepository(UtAddin.java:139)
      4. oracle.dbtools.unit_test.navigator.nodes.RootFolder$3.doWork(RootFolder.java:276)
      5. oracle.dbtools.unit_test.navigator.nodes.RootFolder$3.doWork(RootFolder.java:237)
      5 frames
    6. oracle.dbtools.raptor
      RaptorTask.call
      1. oracle.dbtools.raptor.backgroundTask.RaptorTask.call(RaptorTask.java:193)
      1 frame
    7. Java RT
      FutureTask.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      1 frame
    8. oracle.dbtools.raptor
      RaptorTaskManager$RaptorFutureTask.run
      1. oracle.dbtools.raptor.backgroundTask.RaptorTaskManager$RaptorFutureTask.run(RaptorTaskManager.java:629)
      1 frame
    9. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      5. java.lang.Thread.run(Thread.java:745)
      5 frames