-
Bug
-
Resolution: Fixed
-
Medium
-
6.0.1, 6.0.2, 6.0.3, 6.0.6
-
None
-
6
-
While upgrading GH to 6.0.3 the process fails and kills JIRA:
Test done on JIRA 5.1.3 and from GH 6.0.1 to 6.0.3
TEST
2012-09-19 13:57:45,885 Spring executor 16 ERROR admin 835x228x1 zk0tc7 127.0.0.1 /rest/plugins/1.0/ [greenhopper.plugin.sampledata.JiraImportersPluginInstallerImpl] Duplicate plugin found (installed version is the same or older) and could not be unloaded: 'com.atlassian.jira.plugins.jira-importers-plugin' com.atlassian.plugin.PluginParseException: Duplicate plugin found (installed version is the same or older) and could not be unloaded: 'com.atlassian.jira.plugins.jira-importers-plugin' at com.atlassian.plugin.manager.DefaultPluginManager.addPlugins(DefaultPluginManager.java:691) at com.atlassian.plugin.manager.DefaultPluginManager.scanForNewPlugins(DefaultPluginManager.java:459) Caused by: com.atlassian.plugin.PluginException: Cannot remove an enabled plugin at com.atlassian.plugin.loaders.ScanningPluginLoader.removePlugin(ScanningPluginLoader.java:198) at com.atlassian.plugin.manager.DefaultPluginManager.removePluginFromLoader(DefaultPluginManager.java:619) 2012-09-19 13:57:45,905 Spring executor 16 WARN admin 835x228x1 zk0tc7 127.0.0.1 /rest/plugins/1.0/ [com.atlassian.greenhopper.Launcher] Could not install jira importers plugin at minimum version ErrorCollection[errors=[ErrorCollection.ErrorItem[contextId=<null>,messageKey=gh.sampledata.could.not.install.jim,params={},type=error]],reasons=[SERVER_ERROR]] 2012-09-19 13:57:46,851 pool-3-thread-1 ERROR admin 835x228x1 zk0tc7 127.0.0.1 /rest/plugins/1.0/ [atlassian.plugin.manager.DefaultPluginManager] There was an error loading the descriptor 'Bug Import Id' of plugin 'com.atlassian.jira.plugins.jira-importers-plugin'. Disabling. java.lang.IllegalStateException: No implementation has been registered for this tenant, and there's no creator to create it at com.atlassian.multitenant.impl.MultiTenantComponentMapImpl.get(MultiTenantComponentMapImpl.java:118) at com.atlassian.multitenant.impl.MultiTenantComponentMapImpl.get(MultiTenantComponentMapImpl.java:89) 2012-09-19 13:57:46,985 pool-3-thread-1 ERROR admin 835x228x1 zk0tc7 127.0.0.1 /rest/plugins/1.0/ [com.atlassian.upm.PluginInstaller] Failed to install plugin java.lang.IllegalStateException: No implementation has been registered for this tenant, and there's no creator to create it at com.atlassian.multitenant.impl.MultiTenantComponentMapImpl.get(MultiTenantComponentMapImpl.java:118) at com.atlassian.multitenant.impl.MultiTenantComponentMapImpl.get(MultiTenantComponentMapImpl.java:89) 2012-09-19 13:57:47,023 pool-3-thread-1 WARN admin 835x228x1 zk0tc7 127.0.0.1 /rest/plugins/1.0/ [rest.resources.install.InstallTask] Unexpected error in install task java.lang.RuntimeException: java.lang.IllegalStateException: No implementation has been registered for this tenant, and there's no creator to create it at com.atlassian.upm.PluginInstaller.execute(PluginInstaller.java:166) at com.atlassian.upm.PluginInstaller.install(PluginInstaller.java:81) Caused by: java.lang.IllegalStateException: No implementation has been registered for this tenant, and there's no creator to create it at com.atlassian.multitenant.impl.MultiTenantComponentMapImpl.get(MultiTenantComponentMapImpl.java:118) at com.atlassian.multitenant.impl.MultiTenantComponentMapImpl.get(MultiTenantComponentMapImpl.java:89) 2012-09-19 14:15:25,311 http-8080-1 ERROR admin 855x1249x1 zk0tc7 127.0.0.1 /secure/admin/WebSudoAuthenticate!default.jspa [jira.web.dispatcher.JiraWebworkActionDispatcher] Exception thrown from action 'WebSudoAuthenticate!default', returning 404 java.lang.IllegalStateException: Method invoked on module descriptor after it was destroyed. This is only legal for some methods on AbstractModuleDescriptor. at com.atlassian.multitenant.plugins.MultiTenantModuleDescriptorFactory$LifecycleInterceptor$TenantInterceptor.intercept(MultiTenantModuleDescriptorFactory.java:342) at com.atlassian.jira.plugin.webwork.WebworkModuleDescriptor$$EnhancerByCGLIB$$c9708a51.getImpl(<generated>) at webwork.config.DelegatingConfiguration.getImpl(DelegatingConfiguration.java:50) 2012-09-19 14:15:29,860 http-8080-1 ERROR admin 855x1251x1 zk0tc7 127.0.0.1 /secure/admin/WebSudoAuthenticate!default.jspa [jira.web.dispatcher.JiraWebworkActionDispatcher] Exception thrown from action 'WebSudoAuthenticate!default', returning 404 java.lang.IllegalStateException: Method invoked on module descriptor after it was destroyed. This is only legal for some methods on AbstractModuleDescriptor. at com.atlassian.multitenant.plugins.MultiTenantModuleDescriptorFactory$LifecycleInterceptor$TenantInterceptor.intercept(MultiTenantModuleDescriptorFactory.java:342) at com.atlassian.jira.plugin.webwork.WebworkModuleDescriptor$$EnhancerByCGLIB$$c9708a51.getImpl(<generated>) at webwork.config.DelegatingConfiguration.getImpl(DelegatingConfiguration.java:50) 2012-09-19 14:15:35,049 http-8080-1 ERROR admin 855x1253x1 zk0tc7 127.0.0.1 /secure/MyJiraHome.jspa [jira.web.dispatcher.JiraWebworkActionDispatcher] Exception thrown from action 'MyJiraHome', returning 404 java.lang.IllegalStateException: Method invoked on module descriptor after it was destroyed. This is only legal for some methods on AbstractModuleDescriptor. at com.atlassian.multitenant.plugins.MultiTenantModuleDescriptorFactory$LifecycleInterceptor$TenantInterceptor.intercept(MultiTenantModuleDescriptorFactory.java:342) at com.atlassian.jira.plugin.webwork.WebworkModuleDescriptor$$EnhancerByCGLIB$$c9708a51.getImpl(<generated>) at webwork.config.DelegatingConfiguration.getImpl(DelegatingConfiguration.java:50)
WORKAROUND
Make sure your JIRA instance is down and restart it.
You will notice that your upgrade is completed and GH 6.0.3 is already running.