java.lang.IllegalStateException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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 h3. TEST {noformat} 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) {noformat} h2. 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.
    via by Thiago Ribeiro [Atlassian],
  • 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 h3. TEST {noformat} 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) {noformat} h2. 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.
    via by Thiago Ribeiro [Atlassian],
  • Install UPM 2.0-m through UPM bundled with JIRA 4.4.4-SNAPSHOT, and you get following Exception when the page reloads. The plugin is properly working after install though. Tested locally with atlas-debug running on GreenHopper default branch (5.7.4-SNAPSHOT) {code} INFO] [talledLocalContainer] [ERROR] 2011-11-30 10:38:54,844 pool-2-thread-1 [com.atlassian.upm.PluginInstaller] Failed to install plugin [INFO] [talledLocalContainer] java.lang.IllegalStateException: No implementation has been registered for this tenant, and there's no creator to create it [INFO] [talledLocalContainer] at com.atlassian.multitenant.impl.MultiTenantComponentMapImpl.get(MultiTenantComponentMapImpl.java:118) [INFO] [talledLocalContainer] at com.atlassian.multitenant.impl.MultiTenantComponentMapImpl.get(MultiTenantComponentMapImpl.java:89) [INFO] [talledLocalContainer] at com.atlassian.multitenant.impl.MultiTenantComponentFactoryImpl$AbstractMultiTenantAwareInvocationHandler.invokeInternal(MultiTenantComponentFactoryImpl.java:178) [INFO] [talledLocalContainer] at com.atlassian.multitenant.impl.MultiTenantComponentFactoryImpl$MultiTenantAwareInvocationHandler.invoke(MultiTenantComponentFactoryImpl.java:211) [INFO] [talledLocalContainer] at $Proxy765.logI18nMessage(Unknown Source) [INFO] [talledLocalContainer] at com.atlassian.upm.PluginAccessorAndControllerImpl$1.doInTransaction(PluginAccessorAndControllerImpl.java:89) [INFO] [talledLocalContainer] at com.atlassian.sal.core.transaction.HostContextTransactionTemplate$1.doInTransaction(HostContextTransactionTemplate.java:25) [INFO] [talledLocalContainer] at com.atlassian.jira.DefaultHostContextAccessor.doInTransaction(DefaultHostContextAccessor.java:34) [INFO] [talledLocalContainer] at sun.reflect.GeneratedMethodAccessor237.invoke(Unknown Source) [INFO] [talledLocalContainer] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [INFO] [talledLocalContainer] at java.lang.reflect.Method.invoke(Method.java:597) [INFO] [talledLocalContainer] at com.atlassian.multitenant.impl.MultiTenantComponentFactoryImpl$AbstractMultiTenantAwareInvocationHandler.invokeInternal(MultiTenantComponentFactoryImpl.java:181) [INFO] [talledLocalContainer] at com.atlassian.multitenant.impl.MultiTenantComponentFactoryImpl$MultiTenantAwareInvocationHandler.invoke(MultiTenantComponentFactoryImpl.java:211) [INFO] [talledLocalContainer] at $Proxy235.doInTransaction(Unknown Source) [INFO] [talledLocalContainer] at sun.reflect.GeneratedMethodAccessor237.invoke(Unknown Source) [INFO] [talledLocalContainer] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [INFO] [talledLocalContainer] at java.lang.reflect.Method.invoke(Method.java:597) [INFO] [talledLocalContainer] at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129) [INFO] [talledLocalContainer] at $Proxy235.doInTransaction(Unknown Source) [INFO] [talledLocalContainer] at sun.reflect.GeneratedMethodAccessor237.invoke(Unknown Source) [INFO] [talledLocalContainer] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [INFO] [talledLocalContainer] at java.lang.reflect.Method.invoke(Method.java:597) [INFO] [talledLocalContainer] at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:154) [INFO] [talledLocalContainer] at $Proxy235.doInTransaction(Unknown Source) [INFO] [talledLocalContainer] at com.atlassian.sal.core.transaction.HostContextTransactionTemplate.execute(HostContextTransactionTemplate.java:21) [INFO] [talledLocalContainer] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [INFO] [talledLocalContainer] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [INFO] [talledLocalContainer] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [INFO] [talledLocalContainer] at java.lang.reflect.Method.invoke(Method.java:597) [INFO] [talledLocalContainer] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [INFO] [talledLocalContainer] at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58) [INFO] [talledLocalContainer] at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62) [INFO] [talledLocalContainer] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [INFO] [talledLocalContainer] at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) [INFO] [talledLocalContainer] at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) [INFO] [talledLocalContainer] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [INFO] [talledLocalContainer] at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:56) [INFO] [talledLocalContainer] at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:39) [INFO] [talledLocalContainer] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [INFO] [talledLocalContainer] at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59) [INFO] [talledLocalContainer] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [INFO] [talledLocalContainer] at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) [INFO] [talledLocalContainer] at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) [INFO] [talledLocalContainer] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [INFO] [talledLocalContainer] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [INFO] [talledLocalContainer] at $Proxy769.execute(Unknown Source) [INFO] [talledLocalContainer] at com.atlassian.upm.PluginAccessorAndControllerImpl.installPlugin(PluginAccessorAndControllerImpl.java:65) [INFO] [talledLocalContainer] at com.atlassian.upm.impl.PluginArtifactInstallHandler.installPlugin(PluginArtifactInstallHandler.java:30) [INFO] [talledLocalContainer] at com.atlassian.upm.PluginInstaller.execute(PluginInstaller.java:124) [INFO] [talledLocalContainer] at com.atlassian.upm.PluginInstaller.install(PluginInstaller.java:81) [INFO] [talledLocalContainer] at com.atlassian.upm.rest.resources.install.InstallFromFileTask.executeTask(InstallFromFileTask.java:32) [INFO] [talledLocalContainer] at com.atlassian.upm.rest.resources.install.InstallTask.call(InstallTask.java:30) [INFO] [talledLocalContainer] at com.atlassian.upm.rest.resources.install.InstallTask.call(InstallTask.java:15) [INFO] [talledLocalContainer] at com.atlassian.upm.rest.async.AsynchronousTaskManager$1.call(AsynchronousTaskManager.java:72) [INFO] [talledLocalContainer] at com.atlassian.upm.rest.async.AsynchronousTaskManager$1.call(AsynchronousTaskManager.java:65) [INFO] [talledLocalContainer] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) [INFO] [talledLocalContainer] at java.util.concurrent.FutureTask.run(FutureTask.java:138) [INFO] [talledLocalContainer] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [INFO] [talledLocalContainer] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [INFO] [talledLocalContainer] at java.lang.Thread.run(Thread.java:680) {code}
    via by Michael Ruflin,
    • 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)
    No Bugmate found.