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. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 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

    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 com.sun.jdo.spi.persistence.support.sqlstore.SQLStateManager.updatePersistent()
    2. com.sun.jdo
      TransactionImpl.beforeCompletion
      1. com.sun.jdo.spi.persistence.support.sqlstore.SQLStateManager.updatePersistent(Unknown Source)
      2. com.sun.jdo.spi.persistence.support.sqlstore.impl.PersistenceManagerImpl.beforeCompletion(Unknown Source)
      3. com.sun.jdo.spi.persistence.support.sqlstore.impl.TransactionImpl.notifyBeforeCompletion(Unknown Source)
      4. com.sun.jdo.spi.persistence.support.sqlstore.impl.TransactionImpl.commitBefore(Unknown Source)
      5. com.sun.jdo.spi.persistence.support.sqlstore.impl.TransactionImpl.beforeCompletion(Unknown Source)
      5 frames
    3. Embedded GlassFish Web
      ContainerSynchronization.beforeCompletion
      1. com.sun.ejb.containers.ContainerSynchronization.beforeCompletion(Unknown Source)
      1 frame
    4. com.sun.enterprise
      J2EETransactionManagerOpt.commit
      1. com.sun.enterprise.distributedtx.J2EETransaction.commit(Unknown Source)
      2. com.sun.enterprise.distributedtx.J2EETransactionManagerOpt.commit(Unknown Source)
      2 frames
    5. Embedded GlassFish Web
      BaseContainer.postInvoke
      1. com.sun.ejb.containers.BaseContainer.completeNewTx(Unknown Source)
      2. com.sun.ejb.containers.BaseContainer.postInvokeTx(Unknown Source)
      3. com.sun.ejb.containers.BaseContainer.postInvoke(Unknown Source)
      3 frames
    6. com.siptech.pdf
      _ConfigSessionBean_EJBObjectImpl_Tie._invoke
      1. com.siptech.pdf.ejb.config.session.ConfigSessionBean_EJBObjectImpl.setCountry(ConfigSessionBean_EJBObjectImpl.java:558)
      2. com.siptech.pdf.ejb.config.session._ConfigSessionBean_EJBObjectImpl_Tie._invoke(Unknown Source)
      2 frames
    7. com.sun.corba
      RequestProcessor.process
      1. com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatchToServant(Unknown Source)
      2. com.sun.corba.ee.internal.POA.GenericPOAServerSC.internalDispatch(Unknown Source)
      3. com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatch(Unknown Source)
      4. com.sun.corba.ee.internal.iiop.ORB.process(Unknown Source)
      5. com.sun.corba.ee.internal.iiop.RequestProcessor.process(Unknown Source)
      5 frames
    8. com.iplanet.ias
      FastThreadPool$ThreadPoolThread.run
      1. com.iplanet.ias.corba.ee.internal.iiop.ServicableWrapper.service(Unknown Source)
      2. com.iplanet.ias.util.threadpool.FastThreadPool$ThreadPoolThread.run(Unknown Source)
      2 frames
    9. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:536)
      1 frame