java.lang.NullPointerException

Oracle Community | 3004 | 1 decade 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

    URGENT: Exception crashes server, why?

    Oracle Community | 1 decade ago | 3004
    java.lang.NullPointerException
  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
  3. 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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Cloud Foundry v2 in Grails

    Stack Overflow | 3 years ago | angelo087
    java.lang.NullPointerException: Cannot invoke method getAt() on null object
  6. 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 com.solarmetric.kodo.runtime.PersistenceManagerImpl.getObjectByIdFilter()
    2. com.solarmetric.kodo
      LazyResultList.get
      1. com.solarmetric.kodo.runtime.PersistenceManagerImpl.getObjectByIdFilter(PersistenceManagerImpl.java:997)
      2. com.solarmetric.kodo.runtime.PersistenceManagerImpl.getObjectById(PersistenceManagerImpl.java:905)
      3. com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.createFromResultSet(JDBCStoreManager.java:772)
      4. com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager$2.getResultObject(JDBCStoreManager.java:727)
      5. com.solarmetric.kodo.impl.jdbc.runtime.LazyResultList.instantiateRow(LazyResultList.java:177)
      6. com.solarmetric.kodo.impl.jdbc.runtime.LazyResultList.get(LazyResultList.java:139)
      6 frames
    3. Java RT
      AbstractList$Itr.next
      1. java.util.AbstractList$Itr.next(AbstractList.java:416)
      1 frame
    4. com.solarmetric.kodo
      ResultListIterator.next
      1. com.solarmetric.kodo.runtime.objectprovider.ResultListIterator.next(ResultListIterator.java:49)
      1 frame
    5. Serp
      MultiIterator.next
      1. serp.util.LookaheadIterator.setNext(LookaheadIterator.java:133)
      2. serp.util.LookaheadIterator.next(LookaheadIterator.java:58)
      3. serp.util.MultiIterator.next(MultiIterator.java:33)
      3 frames
    6. com.solarmetric.kodo
      QueryImpl.execute
      1. com.solarmetric.kodo.runtime.ExtentImpl$TransactionAwareIterator.next(ExtentImpl.java:227)
      2. com.solarmetric.kodo.query.QueryImpl.execute(QueryImpl.java:857)
      3. com.solarmetric.kodo.query.QueryImpl.executeWithMap(QueryImpl.java:818)
      4. com.solarmetric.kodo.query.QueryImpl.execute(QueryImpl.java:595)
      4 frames
    7. com.ewarna.pdm
      BasicQuery.getByAdvancedFormula
      1. com.ewarna.pdm.sessions.BasicQuery.getByAdvancedFormula(BasicQuery.java:144)
      2. com.ewarna.pdm.sessions.BasicQuery.getByAdvancedFormula(BasicQuery.java:65)
      3. com.ewarna.pdm.sessions.BasicQuery.getByAdvancedFormula(BasicQuery.java:52)
      3 frames
    8. com.ewarna.handlers
      SharedInfoHandler$2.execute
      1. com.ewarna.handlers.storage.SharedInfoHandler.getSharedFolder(SharedInfoHandler.java:448)
      2. com.ewarna.handlers.storage.SharedInfoHandler.getSharedFolder(SharedInfoHandler.java:385)
      3. com.ewarna.handlers.storage.SharedInfoHandler.shareEntity(SharedInfoHandler.java:220)
      4. com.ewarna.handlers.storage.SharedInfoHandler.access$300(SharedInfoHandler.java:44)
      5. com.ewarna.handlers.storage.SharedInfoHandler$2.execute(SharedInfoHandler.java:171)
      5 frames
    9. com.ewarna.pdm
      JDOCallBackExecutor.execute
      1. com.ewarna.pdm.sessions.JDOCallBackExecutor.execute(JDOCallBackExecutor.java:40)
      1 frame
    10. com.ewarna.handlers
      SharedInfoHandler.shareEntity
      1. com.ewarna.handlers.storage.SharedInfoHandler.shareEntity(SharedInfoHandler.java:193)
      1 frame
    11. com.ewarna.pdm
      SoapShareImpl.shareFolder
      1. com.ewarna.pdm.soap.sharing.SoapShareImpl.shareFolder(SoapShareImpl.java:154)
      1 frame
    12. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:324)
      4 frames
    13. org.apache.soap
      RPCRouterServlet.doPost
      1. org.apache.soap.server.RPCRouter.invoke(RPCRouter.java:146)
      2. org.apache.soap.providers.RPCJavaProvider.invoke(RPCJavaProvider.java:129)
      3. org.apache.soap.server.http.RPCRouterServlet.doPost(RPCRouterServlet.java:354)
      3 frames
    14. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      2 frames
    15. Glassfish Core
      ContainerBase.invoke
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
      4. org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
      5. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
      6. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
      7. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      8. org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
      9. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
      10. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
      11. org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2396)
      12. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
      13. org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
      14. org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
      15. org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
      16. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
      17. org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
      18. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
      19. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
      20. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
      21. org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
      22. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
      23. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
      23 frames
    16. org.apache.coyote
      CoyoteAdapter.service
      1. org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
      1 frame
    17. Grizzly HTTP
      TcpWorkerThread.runIt
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405)
      2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:380)
      3. org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508)
      3 frames
    18. Tomcat Util
      ThreadPool$ControlRunnable.run
      1. org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:533)
      1 frame
    19. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:536)
      1 frame