com.atlassian.jira.config.ConfigurationException: Could not configure listeners: java.lang.NullPointerException

Atlassian JIRA | Ian Pojman | 1 decade ago
  1. 0

    Jira runs fine, but in resin's (2.1.2) stdout.log file, about every minute there's a stack trace that is as follows: This is with a fresh install of Jira 2.1 Pro, on a Debian Linux box running resin2.1.2. Jira can still send mails, or at least the test email functionality still works. 2003-06-04 07:43:50,080 ERROR [atlassian.jira.config.ConfigFactory] Could not getConfig() com.atlassian.jira.config.ConfigurationException: Could not configure listeners: Could not create service named: Mail Queue Service: com.atlassian.jira.service.ServiceException: Could not find class: com.atlassian.jira.service.services.mail.MailQueueService: java.lang.ClassNotFoundException: com.atlassian.jira.service.services.mail.MailQueueService: com.atlassian.jira.config.ConfigurationException: Could not create service named: Mail Queue Service: com.atlassian.jira.service.ServiceException: Could not find class: com.atlassian.jira.service.services.mail.MailQueueService: java.lang.ClassNotFoundException: com.atlassian.jira.service.services.mail.MailQueueService at com.atlassian.jira.config.DefaultConfig.loadServices(DefaultConfig.java:201) at com.atlassian.jira.config.DefaultConfig.<init>(DefaultConfig.java:50) at com.atlassian.jira.config.ConfigFactory.getConfig(ConfigFactory.java:26) at com.atlassian.jira.service.ServiceRunner.runServices(ServiceRunner.java:35) at com.atlassian.jira.service.JiraTimerTask.run(JiraTimerTask.java:34) at java.util.TimerThread.mainLoop(Timer.java:435) at java.util.TimerThread.run(Timer.java:385) Root cause: com.atlassian.jira.config.ConfigurationException: Could not create service named: Mail Queue Service: com.atlassian.jira.service.ServiceException: Could not find class: com.atlassian.jira.service.services.mail.MailQueueService: java.lang.ClassNotFoundException: com.atlassian.jira.service.services.mail.MailQueueService at com.atlassian.jira.config.DefaultConfig.loadServices(DefaultConfig.java:194) at com.atlassian.jira.config.DefaultConfig.<init>(DefaultConfig.java:50) at com.atlassian.jira.config.ConfigFactory.getConfig(ConfigFactory.java:26) at com.atlassian.jira.service.ServiceRunner.runServices(ServiceRunner.java:35) at com.atlassian.jira.service.JiraTimerTask.run(JiraTimerTask.java:34) at java.util.TimerThread.mainLoop(Timer.java:435) at java.util.TimerThread.run(Timer.java:385) Root cause: com.atlassian.jira.service.ServiceException: Could not find class: com.atlassian.jira.service.services.mail.MailQueueService: java.lang.ClassNotFoundException: com.atlassian.jira.service.services.mail.MailQueueService at com.atlassian.jira.service.ServiceFactory.getService(ServiceFactory.java:33) at com.atlassian.jira.config.DefaultConfig.loadServices(DefaultConfig.java:185) at com.atlassian.jira.config.DefaultConfig.<init>(DefaultConfig.java:50) at com.atlassian.jira.config.ConfigFactory.getConfig(ConfigFactory.java:26) at com.atlassian.jira.service.ServiceRunner.runServices(ServiceRunner.java:35) at com.atlassian.jira.service.JiraTimerTask.run(JiraTimerTask.java:34) at java.util.TimerThread.mainLoop(Timer.java:435) at java.util.TimerThread.run(Timer.java:385) Root cause: java.lang.ClassNotFoundException: com.atlassian.jira.service.services.mail.MailQueueService at com.caucho.util.DynamicClassLoader.loadClass(DynamicClassLoader.java:530) at java.lang.ClassLoader.loadClass(ClassLoader.java:253) at com.atlassian.jira.util.ClassLoaderUtils.loadClass(ClassLoaderUtils.java:41) at com.atlassian.jira.service.ServiceFactory.getService(ServiceFactory.java:23) at com.atlassian.jira.config.DefaultConfig.loadServices(DefaultConfig.java:185) at com.atlassian.jira.config.DefaultConfig.<init>(DefaultConfig.java:50) at com.atlassian.jira.config.ConfigFactory.getConfig(ConfigFactory.java:26) at com.atlassian.jira.service.ServiceRunner.runServices(ServiceRunner.java:35) at com.atlassian.jira.service.JiraTimerTask.run(JiraTimerTask.java:34) at java.util.TimerThread.mainLoop(Timer.java:435) at java.util.TimerThread.run(Timer.java:385)

    Atlassian JIRA | 1 decade ago | jon moses
    com.atlassian.jira.config.ConfigurationException: Could not configure listeners: Could not create service named: Mail Queue Service: com.atlassian.jira.service.ServiceException: Could not find class: com.atlassian.jira.service.services.mail.MailQueueService: java.lang.ClassNotFoundException: com.atlassian.jira.service.services.mail.MailQueueService: com.atlassian.jira.config.ConfigurationException: Could not create service named: Mail Queue Service: com.atlassian.jira.service.ServiceException: Could not find class: com.atlassian.jira.service.services.mail.MailQueueService: java.lang.ClassNotFoundException: com.atlassian.jira.service.services.mail.MailQueueService
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Jira runs fine, but in resin's (2.1.2) stdout.log file, about every minute there's a stack trace that is as follows: This is with a fresh install of Jira 2.1 Pro, on a Debian Linux box running resin2.1.2. Jira can still send mails, or at least the test email functionality still works. 2003-06-04 07:43:50,080 ERROR [atlassian.jira.config.ConfigFactory] Could not getConfig() com.atlassian.jira.config.ConfigurationException: Could not configure listeners: Could not create service named: Mail Queue Service: com.atlassian.jira.service.ServiceException: Could not find class: com.atlassian.jira.service.services.mail.MailQueueService: java.lang.ClassNotFoundException: com.atlassian.jira.service.services.mail.MailQueueService: com.atlassian.jira.config.ConfigurationException: Could not create service named: Mail Queue Service: com.atlassian.jira.service.ServiceException: Could not find class: com.atlassian.jira.service.services.mail.MailQueueService: java.lang.ClassNotFoundException: com.atlassian.jira.service.services.mail.MailQueueService at com.atlassian.jira.config.DefaultConfig.loadServices(DefaultConfig.java:201) at com.atlassian.jira.config.DefaultConfig.<init>(DefaultConfig.java:50) at com.atlassian.jira.config.ConfigFactory.getConfig(ConfigFactory.java:26) at com.atlassian.jira.service.ServiceRunner.runServices(ServiceRunner.java:35) at com.atlassian.jira.service.JiraTimerTask.run(JiraTimerTask.java:34) at java.util.TimerThread.mainLoop(Timer.java:435) at java.util.TimerThread.run(Timer.java:385) Root cause: com.atlassian.jira.config.ConfigurationException: Could not create service named: Mail Queue Service: com.atlassian.jira.service.ServiceException: Could not find class: com.atlassian.jira.service.services.mail.MailQueueService: java.lang.ClassNotFoundException: com.atlassian.jira.service.services.mail.MailQueueService at com.atlassian.jira.config.DefaultConfig.loadServices(DefaultConfig.java:194) at com.atlassian.jira.config.DefaultConfig.<init>(DefaultConfig.java:50) at com.atlassian.jira.config.ConfigFactory.getConfig(ConfigFactory.java:26) at com.atlassian.jira.service.ServiceRunner.runServices(ServiceRunner.java:35) at com.atlassian.jira.service.JiraTimerTask.run(JiraTimerTask.java:34) at java.util.TimerThread.mainLoop(Timer.java:435) at java.util.TimerThread.run(Timer.java:385) Root cause: com.atlassian.jira.service.ServiceException: Could not find class: com.atlassian.jira.service.services.mail.MailQueueService: java.lang.ClassNotFoundException: com.atlassian.jira.service.services.mail.MailQueueService at com.atlassian.jira.service.ServiceFactory.getService(ServiceFactory.java:33) at com.atlassian.jira.config.DefaultConfig.loadServices(DefaultConfig.java:185) at com.atlassian.jira.config.DefaultConfig.<init>(DefaultConfig.java:50) at com.atlassian.jira.config.ConfigFactory.getConfig(ConfigFactory.java:26) at com.atlassian.jira.service.ServiceRunner.runServices(ServiceRunner.java:35) at com.atlassian.jira.service.JiraTimerTask.run(JiraTimerTask.java:34) at java.util.TimerThread.mainLoop(Timer.java:435) at java.util.TimerThread.run(Timer.java:385) Root cause: java.lang.ClassNotFoundException: com.atlassian.jira.service.services.mail.MailQueueService at com.caucho.util.DynamicClassLoader.loadClass(DynamicClassLoader.java:530) at java.lang.ClassLoader.loadClass(ClassLoader.java:253) at com.atlassian.jira.util.ClassLoaderUtils.loadClass(ClassLoaderUtils.java:41) at com.atlassian.jira.service.ServiceFactory.getService(ServiceFactory.java:23) at com.atlassian.jira.config.DefaultConfig.loadServices(DefaultConfig.java:185) at com.atlassian.jira.config.DefaultConfig.<init>(DefaultConfig.java:50) at com.atlassian.jira.config.ConfigFactory.getConfig(ConfigFactory.java:26) at com.atlassian.jira.service.ServiceRunner.runServices(ServiceRunner.java:35) at com.atlassian.jira.service.JiraTimerTask.run(JiraTimerTask.java:34) at java.util.TimerThread.mainLoop(Timer.java:435) at java.util.TimerThread.run(Timer.java:385)

    Atlassian JIRA | 1 decade ago | jon moses
    com.atlassian.jira.config.ConfigurationException: Could not create service named: Mail Queue Service: com.atlassian.jira.service.ServiceException: Could not find class: com.atlassian.jira.service.services.mail.MailQueueService: java.lang.ClassNotFoundException: com.atlassian.jira.service.services.mail.MailQueueService

    Root Cause Analysis

    1. com.atlassian.jira.config.ConfigurationException

      Could not configure listeners: java.lang.NullPointerException

      at com.atlassian.jira.config.DefaultConfig.loadListeners()
    2. com.atlassian.jira
      LoadTimer.contextInitialized
      1. com.atlassian.jira.config.DefaultConfig.loadListeners(DefaultConfig.java:138)
      2. com.atlassian.jira.config.DefaultConfig.<init>(DefaultConfig.java:49)
      3. com.atlassian.jira.config.ConfigFactory.getConfig(ConfigFactory.java:26)
      4. com.atlassian.jira.service.LoadTimer.contextInitialized(LoadTimer.java:73)
      4 frames
    3. Glassfish Core
      StandardContext.listenerStart
      1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3197)
      1 frame