java.lang.NullPointerException

Atlassian JIRA | Terence Kearns | 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

    followed instruction in readme.txt C:\java\jira-pro-2.4.1\bin>startup Using CATALINA_BASE: C:\java\tomcat\4.1.27 Using CATALINA_HOME: C:\java\tomcat\4.1.27 Using CATALINA_TMPDIR: C:\java\tomcat\4.1.27\temp Using JAVA_HOME: C:\java\sdk\1.4.1_01 C:\java\jira-pro-2.4.1\bin> OK, so nothig went into C:\java\tomcat\4.1.27\webapps so manually coppied C:\java\jira-pro-2.4.1\atlassian-jira directory to C:\java\tomcat\4.1.27\webapps\atlassian-jira started the app using tomacat app manager... I get the following JIRA error page 2003-11-06 21:26:46 Error Database Could not connect to database. on re-start, tomcat gives... root cause java.lang.NullPointerException at org.ofbiz.core.entity.jdbc.SQLProcessor.getConnection(SQLProcessor.java:238) at org.ofbiz.core.entity.jdbc.SQLProcessor.prepareStatement(SQLProcessor.java:283) at org.ofbiz.core.entity.GenericDAO.selectListIteratorByCondition(GenericDAO.java:1024) at org.ofbiz.core.entity.GenericDAO.selectByAnd(GenericDAO.java:595) at org.ofbiz.core.entity.GenericHelperDAO.findByAnd(GenericHelperDAO.java:134) at org.ofbiz.core.entity.GenericDelegator.findByAnd(GenericDelegator.java:782) at org.ofbiz.core.entity.GenericDelegator.findByAnd(GenericDelegator.java:767) at org.ofbiz.core.entity.GenericDelegator.findByAnd(GenericDelegator.java:744) at com.opensymphony.module.propertyset.ofbiz.OFBizPropertySet.getKeys(OFBizPropertySet.java:191) at com.opensymphony.module.propertyset.AbstractPropertySet.getKeys(AbstractPropertySet.java:314) at com.opensymphony.module.propertyset.PropertySetCloner.cloneProperties(PropertySetCloner.java:105) at com.opensymphony.module.propertyset.PropertySetManager.clone(PropertySetManager.java:31) at com.opensymphony.module.propertyset.cached.CachingPropertySet.init(CachingPropertySet.java:63) at com.opensymphony.module.propertyset.PropertySetManager.getInstance(PropertySetManager.java:14) at com.atlassian.jira.config.properties.PropertiesManager.loadPropertySet(PropertiesManager.java:84) at com.atlassian.jira.config.properties.PropertiesManager.(PropertiesManager.java:30) at com.atlassian.jira.config.properties.PropertiesManager.getInstance(PropertiesManager.java:40) at com.atlassian.jira.config.properties.ApplicationProperties.getPropertiesManager(ApplicationProperties.java:38) at com.atlassian.jira.config.properties.ApplicationProperties.getString(ApplicationProperties.java:63) at com.atlassian.jira.config.webwork.ApplicationPropertiesConfiguration.getImpl(ApplicationPropertiesConfiguration.java:35) at webwork.config.DelegatingConfiguration.getImpl(DelegatingConfiguration.java:43) at com.atlassian.jira.config.webwork.JiraConfiguration.getImpl(JiraConfiguration.java:42) at webwork.config.Configuration.get(Configuration.java:42) at webwork.config.Configuration.getString(Configuration.java:52) at webwork.dispatcher.ServletDispatcher.init(ServletDispatcher.java:89) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:935) at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:668) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2416) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:601) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619) at java.lang.Thread.run(Thread.java:536)

    Atlassian JIRA | 1 decade ago | Terence Kearns
    java.lang.NullPointerException
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    system Error in jira tomcat

    linuxquestions.org | 9 months ago
    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 org.ofbiz.core.entity.jdbc.SQLProcessor.getConnection()
    2. org.ofbiz.core
      GenericDelegator.findByAnd
      1. org.ofbiz.core.entity.jdbc.SQLProcessor.getConnection(SQLProcessor.java:238)
      2. org.ofbiz.core.entity.jdbc.SQLProcessor.prepareStatement(SQLProcessor.java:283)
      3. org.ofbiz.core.entity.GenericDAO.selectListIteratorByCondition(GenericDAO.java:1024)
      4. org.ofbiz.core.entity.GenericDAO.selectByAnd(GenericDAO.java:595)
      5. org.ofbiz.core.entity.GenericHelperDAO.findByAnd(GenericHelperDAO.java:134)
      6. org.ofbiz.core.entity.GenericDelegator.findByAnd(GenericDelegator.java:782)
      7. org.ofbiz.core.entity.GenericDelegator.findByAnd(GenericDelegator.java:767)
      8. org.ofbiz.core.entity.GenericDelegator.findByAnd(GenericDelegator.java:744)
      8 frames
    3. com.opensymphony.module
      PropertySetManager.getInstance
      1. com.opensymphony.module.propertyset.ofbiz.OFBizPropertySet.getKeys(OFBizPropertySet.java:191)
      2. com.opensymphony.module.propertyset.AbstractPropertySet.getKeys(AbstractPropertySet.java:314)
      3. com.opensymphony.module.propertyset.PropertySetCloner.cloneProperties(PropertySetCloner.java:105)
      4. com.opensymphony.module.propertyset.PropertySetManager.clone(PropertySetManager.java:31)
      5. com.opensymphony.module.propertyset.cached.CachingPropertySet.init(CachingPropertySet.java:63)
      6. com.opensymphony.module.propertyset.PropertySetManager.getInstance(PropertySetManager.java:14)
      6 frames
    4. com.atlassian.jira
      ApplicationPropertiesConfiguration.getImpl
      1. com.atlassian.jira.config.properties.PropertiesManager.loadPropertySet(PropertiesManager.java:84)
      2. com.atlassian.jira.config.properties.PropertiesManager.<init>(PropertiesManager.java:30)
      3. com.atlassian.jira.config.properties.PropertiesManager.getInstance(PropertiesManager.java:40)
      4. com.atlassian.jira.config.properties.ApplicationProperties.getPropertiesManager(ApplicationProperties.java:38)
      5. com.atlassian.jira.config.properties.ApplicationProperties.getString(ApplicationProperties.java:63)
      6. com.atlassian.jira.config.webwork.ApplicationPropertiesConfiguration.getImpl(ApplicationPropertiesConfiguration.java:35)
      6 frames
    5. webwork.config
      DelegatingConfiguration.getImpl
      1. webwork.config.DelegatingConfiguration.getImpl(DelegatingConfiguration.java:43)
      1 frame
    6. com.atlassian.jira
      JiraConfiguration.getImpl
      1. com.atlassian.jira.config.webwork.JiraConfiguration.getImpl(JiraConfiguration.java:42)
      1 frame
    7. webwork.config
      Configuration.getString
      1. webwork.config.Configuration.get(Configuration.java:42)
      2. webwork.config.Configuration.getString(Configuration.java:52)
      2 frames
    8. webwork.dispatcher
      ServletDispatcher.init
      1. webwork.dispatcher.ServletDispatcher.init(ServletDispatcher.java:89)
      1 frame
    9. Glassfish Core
      ContainerBase.invoke
      1. org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:935)
      2. org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:668)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
      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:2416)
      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:171)
      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
    10. org.apache.coyote
      CoyoteAdapter.service
      1. org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
      1 frame
    11. Grizzly HTTP
      TcpWorkerThread.runIt
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:601)
      2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
      3. org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
      3 frames
    12. Tomcat Util
      ThreadPool$ControlRunnable.run
      1. org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
      1 frame
    13. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:536)
      1 frame