java.lang.NullPointerException

Oracle Community | 807581 | 1 decade ago
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException

    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.sql.generator.UpdateQueryPlan.addConstraint()
    2. com.sun.jdo
      TransactionImpl.beforeCompletion
      1. com.sun.jdo.spi.persistence.support.sqlstore.sql.generator.UpdateQueryPlan.addConstraint(UpdateQueryPlan.java:202)
      2. com.sun.jdo.spi.persistence.support.sqlstore.sql.generator.UpdateQueryPlan.addBasetableConstraint(UpdateQueryPlan.java:257)
      3. com.sun.jdo.spi.persistence.support.sqlstore.sql.generator.UpdateQueryPlan.processStatements(UpdateQueryPlan.java:321)
      4. com.sun.jdo.spi.persistence.support.sqlstore.sql.generator.UpdateQueryPlan.build(UpdateQueryPlan.java:188)
      5. com.sun.jdo.spi.persistence.support.sqlstore.model.ClassDesc.getUpdateQueryPlanForUpdate(ClassDesc.java:2070)
      6. com.sun.jdo.spi.persistence.support.sqlstore.model.ClassDesc.getUpdateQueryPlan(ClassDesc.java:2032)
      7. com.sun.jdo.spi.persistence.support.sqlstore.SQLStoreManager.executeBatch(SQLStoreManager.java:1546)
      8. com.sun.jdo.spi.persistence.support.sqlstore.SQLStateManager.updatePersistent(SQLStateManager.java:997)
      9. com.sun.jdo.spi.persistence.support.sqlstore.impl.PersistenceManagerImpl.beforeCompletion(PersistenceManagerImpl.java:1251)
      10. com.sun.jdo.spi.persistence.support.sqlstore.impl.TransactionImpl.notifyBeforeCompletion(TransactionImpl.java:1115)
      11. com.sun.jdo.spi.persistence.support.sqlstore.impl.TransactionImpl.commitBefore(TransactionImpl.java:743)
      12. com.sun.jdo.spi.persistence.support.sqlstore.impl.TransactionImpl.beforeCompletion(TransactionImpl.java:646)
      12 frames
    3. Embedded GlassFish Web
      ContainerSynchronization.beforeCompletion
      1. com.sun.ejb.containers.ContainerSynchronization.beforeCompletion(ContainerSynchronization.java:105)
      1 frame
    4. com.sun.enterprise
      J2EETransactionManagerOpt.commit
      1. com.sun.enterprise.distributedtx.J2EETransaction.commit(J2EETransaction.java:183)
      2. com.sun.enterprise.distributedtx.J2EETransactionManagerOpt.commit(J2EETransactionManagerOpt.java:310)
      2 frames
    5. Embedded GlassFish Web
      BaseContainer.postInvoke
      1. com.sun.ejb.containers.BaseContainer.completeNewTx(BaseContainer.java:1786)
      2. com.sun.ejb.containers.BaseContainer.postInvokeTx(BaseContainer.java:1585)
      3. com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:510)
      3 frames
    6. com.putnaminv.car
      CompositeAction.execute
      1. com.putnaminv.car.ejb.services.compositemanager.CompositeManagerBean_EJBObjectImpl.updateComposite(CompositeManagerBean_EJBObjectImpl.java:104)
      2. com.putnaminv.car.ejb.services.compositemanager._CompositeManager_Stub.updateComposite(Unknown Source)
      3. com.putnaminv.car.web.action.CompositeAction.updateComposite(CompositeAction.java:231)
      4. com.putnaminv.car.web.action.CompositeAction.execute(CompositeAction.java:114)
      4 frames
    7. struts
      ActionServlet.doGet
      1. org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:446)
      2. org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:266)
      3. org.apache.struts.action.ActionServlet.process(ActionServlet.java:1292)
      4. org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492)
      4 frames
    8. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      2 frames
    9. Glassfish Core
      StandardWrapperValve$1.run
      1. org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:720)
      2. org.apache.catalina.core.StandardWrapperValve.access$000(StandardWrapperValve.java:118)
      3. org.apache.catalina.core.StandardWrapperValve$1.run(StandardWrapperValve.java:278)
      3 frames
    10. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    11. Glassfish Core
      StandardPipeline.invoke
      1. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:274)
      2. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
      3. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
      4. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
      5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:203)
      6. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
      6 frames
    12. com.iplanet.ias
      WebContainer.service
      1. com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:157)
      2. com.iplanet.ias.web.WebContainer.service(WebContainer.java:598)
      2 frames