java.lang.NullPointerException

Oracle Community | 807581 | 1 decade 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 | 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 gem.purchasing.ejb.ecx.members.EcxMembersEBEJB_1077136325_ConcreteImpl.jdoLookupPersistenceManagerFactory()
    2. gem.purchasing.ejb
      EcxMembersEBEJB_1077136325_ConcreteImpl.setEntityContext
      1. gem.purchasing.ejb.ecx.members.EcxMembersEBEJB_1077136325_ConcreteImpl.jdoLookupPersistenceManagerFactory(EcxMembersEBEJB_1077136325_ConcreteImpl.java:694)
      2. gem.purchasing.ejb.ecx.members.EcxMembersEBEJB_1077136325_ConcreteImpl.setEntityContext(EcxMembersEBEJB_1077136325_ConcreteImpl.java:724)
      2 frames
    3. Embedded GlassFish Web
      BaseContainer.preInvoke
      1. com.sun.ejb.containers.EntityContainer$EntityContextFactory.create(EntityContainer.java:2599)
      2. com.sun.ejb.containers.util.pool.NonBlockingPool.getObject(NonBlockingPool.java:176)
      3. com.sun.ejb.containers.util.pool.NonBlockingPool.getObject(NonBlockingPool.java:133)
      4. com.sun.ejb.containers.EntityContainer.getPooledEJB(EntityContainer.java:1896)
      5. com.sun.ejb.containers.EntityContainer.getContext(EntityContainer.java:560)
      6. com.sun.ejb.containers.BaseContainer.preInvoke(BaseContainer.java:452)
      6 frames
    4. gem.purchasing.ejb
      _EcxMembersEBHome_Stub.create
      1. gem.purchasing.ejb.ecx.members.EcxMembersEBEJB_1077136325_ConcreteImpl_RemoteHomeImpl.create(EcxMembersEBEJB_1077136325_ConcreteImpl_RemoteHomeImpl.java:24)
      2. gem.purchasing.ejb.ecx.members._EcxMembersEBHome_Stub.create(Unknown Source)
      2 frames
    5. gem.purchasing.util
      DlcuPersistenceHelper.insertEcxData
      1. gem.purchasing.util.ecx.EcxSupplierDefaultPopulate.create(EcxSupplierDefaultPopulate.java:189)
      2. gem.purchasing.util.ldapservices.DlcuPersistenceHelper.insertEcxData(DlcuPersistenceHelper.java:997)
      2 frames
    6. gem.purchasing.ejb
      _ValidatorEJB_EJBObjectImpl_Tie._invoke
      1. gem.purchasing.ejb.ldapservices.ValidatorEJB.sendToMapper(ValidatorEJB.java:981)
      2. gem.purchasing.ejb.ldapservices.ValidatorEJB_EJBObjectImpl.sendToMapper(ValidatorEJB_EJBObjectImpl.java:112)
      3. gem.purchasing.ejb.ldapservices._ValidatorEJB_EJBObjectImpl_Tie._invoke(Unknown Source)
      3 frames
    7. com.sun.corba
      RequestProcessor.process
      1. com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatchToServant(GenericPOAServerSC.java:569)
      2. com.sun.corba.ee.internal.POA.GenericPOAServerSC.internalDispatch(GenericPOAServerSC.java:211)
      3. com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatch(GenericPOAServerSC.java:113)
      4. com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:275)
      5. com.sun.corba.ee.internal.iiop.RequestProcessor.process(RequestProcessor.java:83)
      5 frames
    8. com.iplanet.ias
      FastThreadPool$ThreadPoolThread.run
      1. com.iplanet.ias.corba.ee.internal.iiop.ServicableWrapper.service(ServicableWrapper.java:25)
      2. com.iplanet.ias.util.threadpool.FastThreadPool$ThreadPoolThread.run(FastThreadPool.java:283)
      2 frames
    9. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:536)
      1 frame