java.lang.IllegalArgumentException: No services with name 'User Counter Service' exist.

Atlassian JIRA | Jeff Turner (Unused account) | 8 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

    Importing an onjira.com JIRA backup, I got the error: 2009-02-06 08:01:17,545 TP-Processor12 ERROR [sal.core.upgrade.PluginUpgrader] Upgrade failed: No services with name 'User Counter Service' exist. java.lang.IllegalArgumentException: No services with name 'User Counter Service' exist. at com.atlassian.jira.service.DefaultServiceManager.removeServiceByName(DefaultServiceManager.java:120) at com.atlassian.jira.upgrade.UpgradeTo_v35.doUpgrade(UpgradeTo_v35.java:25) at com.atlassian.sal.core.upgrade.PluginUpgrader.doUpgrade(PluginUpgrader.java:83) at com.atlassian.sal.core.upgrade.PluginUpgrader.upgrade(PluginUpgrader.java:64) at com.atlassian.sal.core.upgrade.DefaultPluginUpgradeManager.upgradeInternal(DefaultPluginUpgradeManager.java:91) at com.atlassian.sal.core.upgrade.DefaultPluginUpgradeManager$1.doInTransaction(DefaultPluginUpgradeManager.java:62) at com.atlassian.sal.core.transaction.NoOpTransactionTemplate.execute(NoOpTransactionTemplate.java:14) at com.atlassian.sal.core.upgrade.DefaultPluginUpgradeManager.upgrade(DefaultPluginUpgradeManager.java:58) at com.atlassian.sal.core.upgrade.DefaultPluginUpgradeManager.onStart(DefaultPluginUpgradeManager.java:103) at com.atlassian.sal.core.lifecycle.DefaultLifecycleManager.notifyOnStart(DefaultLifecycleManager.java:42) at com.atlassian.sal.core.lifecycle.DefaultLifecycleManager.start(DefaultLifecycleManager.java:22) at com.atlassian.studio.navigation.StudioNavbarInformationRetriever.getStudioNavbarInformation(StudioNavbarInformationRetriever.java:33) at com.atlassian.studio.DefaultStudioHelper.getStudioNavbarInformation(DefaultStudioHelper.java:203) at com.atlassian.studio.DefaultStudioHelper.createVelocityParameters(DefaultStudioHelper.java:83) at com.atlassian.studio.topnav.StudioPluggableTopNavigation.getHtml(StudioPluggableTopNavigation.java:22) at org.apache.jsp.decorators.admin_jsp._jspService(admin_jsp.java:295) ... 2009-02-06 08:01:17,741 TP-Processor12 INFO [sal.core.upgrade.PluginUpgrader] Plugin com.atlassian.studio.theme.jira upgrade completed. Current version is: 34 2009-02-06 08:01:17,741 TP-Processor12 ERROR [sal.core.upgrade.DefaultPluginUpgradeManager] Upgrade error: upgrade.unexpected.exception: java.lang.IllegalArgumentException: No services with name 'User Counter Service' exist., Please can we make this upgrade task not fail if the service isn't present.

    Atlassian JIRA | 8 years ago | Jeff Turner (Unused account)
    java.lang.IllegalArgumentException: No services with name 'User Counter Service' exist.

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      No services with name 'User Counter Service' exist.

      at com.atlassian.jira.service.DefaultServiceManager.removeServiceByName()
    2. com.atlassian.jira
      UpgradeTo_v35.doUpgrade
      1. com.atlassian.jira.service.DefaultServiceManager.removeServiceByName(DefaultServiceManager.java:120)
      2. com.atlassian.jira.upgrade.UpgradeTo_v35.doUpgrade(UpgradeTo_v35.java:25)
      2 frames
    3. com.atlassian.sal
      DefaultLifecycleManager.start
      1. com.atlassian.sal.core.upgrade.PluginUpgrader.doUpgrade(PluginUpgrader.java:83)
      2. com.atlassian.sal.core.upgrade.PluginUpgrader.upgrade(PluginUpgrader.java:64)
      3. com.atlassian.sal.core.upgrade.DefaultPluginUpgradeManager.upgradeInternal(DefaultPluginUpgradeManager.java:91)
      4. com.atlassian.sal.core.upgrade.DefaultPluginUpgradeManager$1.doInTransaction(DefaultPluginUpgradeManager.java:62)
      5. com.atlassian.sal.core.transaction.NoOpTransactionTemplate.execute(NoOpTransactionTemplate.java:14)
      6. com.atlassian.sal.core.upgrade.DefaultPluginUpgradeManager.upgrade(DefaultPluginUpgradeManager.java:58)
      7. com.atlassian.sal.core.upgrade.DefaultPluginUpgradeManager.onStart(DefaultPluginUpgradeManager.java:103)
      8. com.atlassian.sal.core.lifecycle.DefaultLifecycleManager.notifyOnStart(DefaultLifecycleManager.java:42)
      9. com.atlassian.sal.core.lifecycle.DefaultLifecycleManager.start(DefaultLifecycleManager.java:22)
      9 frames
    4. com.atlassian.studio
      StudioPluggableTopNavigation.getHtml
      1. com.atlassian.studio.navigation.StudioNavbarInformationRetriever.getStudioNavbarInformation(StudioNavbarInformationRetriever.java:33)
      2. com.atlassian.studio.DefaultStudioHelper.getStudioNavbarInformation(DefaultStudioHelper.java:203)
      3. com.atlassian.studio.DefaultStudioHelper.createVelocityParameters(DefaultStudioHelper.java:83)
      4. com.atlassian.studio.topnav.StudioPluggableTopNavigation.getHtml(StudioPluggableTopNavigation.java:22)
      4 frames
    5. org.apache.jsp
      admin_jsp._jspService
      1. org.apache.jsp.decorators.admin_jsp._jspService(admin_jsp.java:295)
      1 frame