java.lang.NullPointerException

Atlassian JIRA | Ajay Sridhar [Atlassian] | 8 years ago
  1. 0

    Adding jars from App Link 1.3 to Confluence/WEB-INF/lib caused confluence to fail during restart with error below. -rw-r--r--@ 1 ricardo ricardo 19541 Nov 27 10:56 sal-api.jar -rw-r--r--@ 1 ricardo ricardo 46644 Nov 27 10:57 sal-core.jar -rw-r--r--@ 1 ricardo ricardo 6497 Nov 27 10:57 sal-spring.jar -rw-r--r--@ 1 ricardo ricardo 65966 Nov 27 10:58 sal-confluence-plugin.jar -rw-r--r--@ 1 ricardo ricardo 4664 Nov 27 11:07 applinks-api.jar -rw-r--r--@ 1 ricardo ricardo 73672 Nov 27 11:07 applinks-core.jar -rw-r--r--@ 1 ricardo ricardo 23635 Nov 27 11:08 applinks-confluence-plugin.jar Mar 5, 2009 12:26:37 PM org.apache.catalina.core.StandardService start INFO: Starting service Tomcat-Standalone Mar 5, 2009 12:26:37 PM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/6.0.14 2009-03-05 12:26:38,462 INFO [main] [com.atlassian.confluence.lifecycle] contextInitialized Starting Confluence 2.10.2 (build #1518) 2009-03-05 12:26:38,579 INFO [main] [beans.factory.xml.XmlBeanDefinitionReader] loadBeanDefinitions Loading XML bean definitions from class path resource [bootstrapContext.xm l] 2009-03-05 12:26:38,994 INFO [main] [beans.factory.xml.XmlBeanDefinitionReader] loadBeanDefinitions Loading XML bean definitions from class path resource [setupContext.xml] 2009-03-05 12:26:40,588 WARN [main] [com.atlassian.config.ApplicationConfig] setApplicationHome Application home does not exist. Creating directory: /Applications/Atlassian/c onfluence/confluence-2.10.2-std/confluence Mar 5, 2009 12:26:40 PM org.apache.catalina.core.ApplicationContext log INFO: org.tuckey.web.filters.urlrewrite.utils.Log ERROR: logLevelConf: null Mar 5, 2009 12:26:40 PM org.apache.catalina.core.ApplicationContext log INFO: org.tuckey.web.filters.urlrewrite.UrlRewriteFilter INFO: loaded (conf ok) Mar 5, 2009 12:26:41 PM org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on http-8080 Mar 5, 2009 12:26:41 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 4206 ms Mar 5, 2009 12:27:01 PM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring root WebApplicationContext Mar 5, 2009 12:29:34 PM org.apache.coyote.http11.Http11Protocol pause INFO: Pausing Coyote HTTP/1.1 on http-8080 Mar 5, 2009 12:29:35 PM org.apache.catalina.core.StandardService stop INFO: Stopping service Tomcat-Standalone Mar 5, 2009 12:29:35 PM org.apache.catalina.core.ApplicationContext log INFO: org.tuckey.web.filters.urlrewrite.UrlRewriteFilter INFO: destroy called log4j:ERROR LogMananger.repositorySelector was null likely due to error in class reloading, using NOPLoggerRepository. Exception in thread "Timer-1" java.lang.NullPointerException at com.mchange.v2.log.log4j.Log4jMLog$Log4jMLogger.isLoggable(Log4jMLog.java:257) at com.mchange.v2.resourcepool.BasicResourcePool$CullTask.run(BasicResourcePool.java:1934) at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462) Mar 5, 2009 12:29:36 PM org.apache.coyote.http11.Http11Protocol destroy INFO: Stopping Coyote HTTP/1.1 on http-8080

    Ecosystem JIRA | 8 years ago | Ricardo DeMatos
    java.lang.NullPointerException
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    If you try to shutdown the Tomcat app the following exception is thrown - {code}Jun 16, 2008 2:35:37 PM org.apache.coyote.http11.Http11BaseProtocol pause INFO: Pausing Coyote HTTP/1.1 on http-8080 Jun 16, 2008 2:35:38 PM org.apache.catalina.core.StandardService stop INFO: Stopping service Catalina Jun 16, 2008 2:35:39 PM org.apache.coyote.http11.Http11BaseProtocol destroy INFO: Stopping Coyote HTTP/1.1 on http-8080 Jun 16, 2008 2:35:39 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent INFO: Failed shutdown of Apache Portable Runtime Exception in thread "Timer-0" java.lang.NullPointerException at com.mchange.v2.log.log4j.Log4jMLog$Log4jMLogger.isLoggable(Log4jMLog.java:257) at com.mchange.v2.resourcepool.BasicResourcePool$CullTask.run(BasicResourcePool.java:1934) at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462) Exception in thread "QuartzScheduler_QuartzSchedulerThread" java.lang.NullPointerException at org.apache.catalina.loader.WebappClassLoader.findResources(WebappClassLoader.java:973) at java.lang.ClassLoader.getResources(ClassLoader.java:1070) at org.apache.commons.logging.LogFactory$4.run(LogFactory.java:1388) at java.security.AccessController.doPrivileged(Native Method) at org.apache.commons.logging.LogFactory.getResources(LogFactory.java:1407) at org.apache.commons.logging.LogFactory.getConfigurationFile(LogFactory.java:1469) at org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:457) at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:685) at org.quartz.core.QuartzSchedulerThread.getLog(QuartzSchedulerThread.java:475) at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:404) Jun 16, 2008 2:35:44 PM org.apache.activemq.broker.BrokerService stop INFO: ActiveMQ Message Broker (bamboo, ID:tui.sydney.atlassian.com-51998-1213590890961-1:0) is shutting down Failed to shut down: java.lang.NullPointerException{code} The activieMQ process remains operational, and Bamboo can't be restarted until the process is killed manually.

    Atlassian JIRA | 8 years ago | Ajay Sridhar [Atlassian]
    java.lang.NullPointerException
  4. 0

    If you try to shutdown the Tomcat app the following exception is thrown - {code}Jun 16, 2008 2:35:37 PM org.apache.coyote.http11.Http11BaseProtocol pause INFO: Pausing Coyote HTTP/1.1 on http-8080 Jun 16, 2008 2:35:38 PM org.apache.catalina.core.StandardService stop INFO: Stopping service Catalina Jun 16, 2008 2:35:39 PM org.apache.coyote.http11.Http11BaseProtocol destroy INFO: Stopping Coyote HTTP/1.1 on http-8080 Jun 16, 2008 2:35:39 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent INFO: Failed shutdown of Apache Portable Runtime Exception in thread "Timer-0" java.lang.NullPointerException at com.mchange.v2.log.log4j.Log4jMLog$Log4jMLogger.isLoggable(Log4jMLog.java:257) at com.mchange.v2.resourcepool.BasicResourcePool$CullTask.run(BasicResourcePool.java:1934) at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462) Exception in thread "QuartzScheduler_QuartzSchedulerThread" java.lang.NullPointerException at org.apache.catalina.loader.WebappClassLoader.findResources(WebappClassLoader.java:973) at java.lang.ClassLoader.getResources(ClassLoader.java:1070) at org.apache.commons.logging.LogFactory$4.run(LogFactory.java:1388) at java.security.AccessController.doPrivileged(Native Method) at org.apache.commons.logging.LogFactory.getResources(LogFactory.java:1407) at org.apache.commons.logging.LogFactory.getConfigurationFile(LogFactory.java:1469) at org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:457) at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:685) at org.quartz.core.QuartzSchedulerThread.getLog(QuartzSchedulerThread.java:475) at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:404) Jun 16, 2008 2:35:44 PM org.apache.activemq.broker.BrokerService stop INFO: ActiveMQ Message Broker (bamboo, ID:tui.sydney.atlassian.com-51998-1213590890961-1:0) is shutting down Failed to shut down: java.lang.NullPointerException{code} The activieMQ process remains operational, and Bamboo can't be restarted until the process is killed manually.

    Atlassian JIRA | 8 years ago | Ajay Sridhar [Atlassian]
    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.mchange.v2.log.log4j.Log4jMLog$Log4jMLogger.isLoggable()
    2. c3p0:JDBC DataSources/Resource Pools
      BasicResourcePool$CullTask.run
      1. com.mchange.v2.log.log4j.Log4jMLog$Log4jMLogger.isLoggable(Log4jMLog.java:257)
      2. com.mchange.v2.resourcepool.BasicResourcePool$CullTask.run(BasicResourcePool.java:1934)
      2 frames
    3. Java RT
      TimerThread.run
      1. java.util.TimerThread.mainLoop(Timer.java:512)
      2. java.util.TimerThread.run(Timer.java:462)
      2 frames