java.lang.NullPointerException

Atlassian JIRA | Brenden Bain [Atlassian] | 6 years 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

    JIRA may fail to start intermittently with a NullPointerException. For example: {quote} [22:21:59][info][talledLocalContainer] 21/03/2011 10:21:59 PM org.apache.coyote.http11.Http11BaseProtocol init [22:21:59][info][talledLocalContainer] INFO: Initializing Coyote HTTP/1.1 on http-8080 [22:21:59][info][talledLocalContainer] 21/03/2011 10:21:59 PM org.apache.catalina.startup.Catalina load [22:21:59][info][talledLocalContainer] INFO: Initialization processed in 420 ms [22:21:59][info][talledLocalContainer] 21/03/2011 10:21:59 PM org.apache.catalina.core.StandardService start [22:21:59][info][talledLocalContainer] INFO: Starting service Catalina [22:21:59][info][talledLocalContainer] 21/03/2011 10:21:59 PM org.apache.catalina.core.StandardEngine start [22:21:59][info][talledLocalContainer] INFO: Starting Servlet Engine: Apache Tomcat/5.5.28 [22:21:59][info][talledLocalContainer] 21/03/2011 10:21:59 PM org.apache.catalina.core.StandardHost start [22:21:59][info][talledLocalContainer] INFO: XML validation disabled [22:22:01][info][talledLocalContainer] 2011-03-21 22:22:01,311 main INFO [atlassian.jira.startup.JiraHomeStartupCheck] Configured jira.home '/opt/bamboo-agent/xml-data/build-dir/JIRAHEAD-CI-PCT/jira-distribution/jira-func-tests-runner/target/jirahome' does not exist. We will create it. [22:22:01][info][talledLocalContainer] 2011-03-21 22:22:01,377 main INFO [atlassian.jira.startup.JiraHomeStartupCheck] The jira.home directory '/opt/bamboo-agent/xml-data/build-dir/JIRAHEAD-CI-PCT/jira-distribution/jira-func-tests-runner/target/jirahome' is validated and locked for exclusive use by this instance. [22:22:02][info][talledLocalContainer] 21/03/2011 10:22:02 PM org.apache.catalina.startup.HostConfig deployWAR [22:22:02][info][talledLocalContainer] INFO: Deploying web application archive cargocpc.war [22:22:02][info][talledLocalContainer] 21/03/2011 10:22:02 PM org.apache.coyote.http11.Http11BaseProtocol start [22:22:02][info][talledLocalContainer] INFO: Starting Coyote HTTP/1.1 on http-8080 [22:22:02][info][talledLocalContainer] 21/03/2011 10:22:02 PM org.apache.catalina.startup.Catalina start [22:22:02][info][talledLocalContainer] INFO: Server startup in 2401 ms [22:22:04][info][talledLocalContainer] Tomcat 5.5.28 started on port [8080] [22:22:05][info][talledLocalContainer] 2011-03-21 22:22:05,224 http-8080-Processor24 ERROR anonymous 1342x1x1 - 127.0.0.1 /secure/admin/debug/logMessage.jsp [atlassian.jira.appconsistency.JiraSetupConfig] java.lang.NullPointerException [22:22:05][info][talledLocalContainer] java.lang.NullPointerException [22:22:05][info][talledLocalContainer] at com.atlassian.jira.ComponentManager.getComponentInstanceOfType(ComponentManager.java:534) [22:22:05][info][talledLocalContainer] at com.atlassian.jira.ComponentManager.getComponent(ComponentManager.java:553) [22:22:05][info][talledLocalContainer] at com.atlassian.jira.appconsistency.JiraSetupConfig.isSetup(JiraSetupConfig.java:52) [22:22:05][info][talledLocalContainer] at com.atlassian.johnson.filters.AbstractJohnsonFilter.doFilter(AbstractJohnsonFilter.java:65) [22:22:05][info][talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) [22:22:05][info][talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) {quote}

    Atlassian JIRA | 6 years ago | Brenden Bain [Atlassian]
    java.lang.NullPointerException
  2. 0

    JIRA may fail to start intermittently with a NullPointerException. For example: {quote} [22:21:59][info][talledLocalContainer] 21/03/2011 10:21:59 PM org.apache.coyote.http11.Http11BaseProtocol init [22:21:59][info][talledLocalContainer] INFO: Initializing Coyote HTTP/1.1 on http-8080 [22:21:59][info][talledLocalContainer] 21/03/2011 10:21:59 PM org.apache.catalina.startup.Catalina load [22:21:59][info][talledLocalContainer] INFO: Initialization processed in 420 ms [22:21:59][info][talledLocalContainer] 21/03/2011 10:21:59 PM org.apache.catalina.core.StandardService start [22:21:59][info][talledLocalContainer] INFO: Starting service Catalina [22:21:59][info][talledLocalContainer] 21/03/2011 10:21:59 PM org.apache.catalina.core.StandardEngine start [22:21:59][info][talledLocalContainer] INFO: Starting Servlet Engine: Apache Tomcat/5.5.28 [22:21:59][info][talledLocalContainer] 21/03/2011 10:21:59 PM org.apache.catalina.core.StandardHost start [22:21:59][info][talledLocalContainer] INFO: XML validation disabled [22:22:01][info][talledLocalContainer] 2011-03-21 22:22:01,311 main INFO [atlassian.jira.startup.JiraHomeStartupCheck] Configured jira.home '/opt/bamboo-agent/xml-data/build-dir/JIRAHEAD-CI-PCT/jira-distribution/jira-func-tests-runner/target/jirahome' does not exist. We will create it. [22:22:01][info][talledLocalContainer] 2011-03-21 22:22:01,377 main INFO [atlassian.jira.startup.JiraHomeStartupCheck] The jira.home directory '/opt/bamboo-agent/xml-data/build-dir/JIRAHEAD-CI-PCT/jira-distribution/jira-func-tests-runner/target/jirahome' is validated and locked for exclusive use by this instance. [22:22:02][info][talledLocalContainer] 21/03/2011 10:22:02 PM org.apache.catalina.startup.HostConfig deployWAR [22:22:02][info][talledLocalContainer] INFO: Deploying web application archive cargocpc.war [22:22:02][info][talledLocalContainer] 21/03/2011 10:22:02 PM org.apache.coyote.http11.Http11BaseProtocol start [22:22:02][info][talledLocalContainer] INFO: Starting Coyote HTTP/1.1 on http-8080 [22:22:02][info][talledLocalContainer] 21/03/2011 10:22:02 PM org.apache.catalina.startup.Catalina start [22:22:02][info][talledLocalContainer] INFO: Server startup in 2401 ms [22:22:04][info][talledLocalContainer] Tomcat 5.5.28 started on port [8080] [22:22:05][info][talledLocalContainer] 2011-03-21 22:22:05,224 http-8080-Processor24 ERROR anonymous 1342x1x1 - 127.0.0.1 /secure/admin/debug/logMessage.jsp [atlassian.jira.appconsistency.JiraSetupConfig] java.lang.NullPointerException [22:22:05][info][talledLocalContainer] java.lang.NullPointerException [22:22:05][info][talledLocalContainer] at com.atlassian.jira.ComponentManager.getComponentInstanceOfType(ComponentManager.java:534) [22:22:05][info][talledLocalContainer] at com.atlassian.jira.ComponentManager.getComponent(ComponentManager.java:553) [22:22:05][info][talledLocalContainer] at com.atlassian.jira.appconsistency.JiraSetupConfig.isSetup(JiraSetupConfig.java:52) [22:22:05][info][talledLocalContainer] at com.atlassian.johnson.filters.AbstractJohnsonFilter.doFilter(AbstractJohnsonFilter.java:65) [22:22:05][info][talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) [22:22:05][info][talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) {quote}

    Atlassian JIRA | 6 years ago | Brenden Bain [Atlassian]
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.atlassian.jira.ComponentManager.getComponentInstanceOfType()
    2. com.atlassian.jira
      JiraSetupConfig.isSetup
      1. com.atlassian.jira.ComponentManager.getComponentInstanceOfType(ComponentManager.java:534)
      2. com.atlassian.jira.ComponentManager.getComponent(ComponentManager.java:553)
      3. com.atlassian.jira.appconsistency.JiraSetupConfig.isSetup(JiraSetupConfig.java:52)
      3 frames
    3. com.atlassian.johnson
      AbstractJohnsonFilter.doFilter
      1. com.atlassian.johnson.filters.AbstractJohnsonFilter.doFilter(AbstractJohnsonFilter.java:65)
      1 frame
    4. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      2 frames