java.lang.IllegalStateException: Method invoked on module descriptor after it was destroyed. This is only legal for some methods on AbstractModuleDescriptor.

Atlassian JIRA | Thiago Ribeiro [Atlassian] | 4 years ago
  1. 0

    [GHS-5991] GH 6.0.3 upgrade causes exception - Atlassian JIRA

    atlassian.com | 1 year ago
    java.lang.IllegalStateException: Method invoked on module descriptor after it was destroyed. This is only legal for some methods on AbstractModuleDescriptor.
  2. 0

    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.

    Atlassian JIRA | 4 years ago | Thiago Ribeiro [Atlassian]
    java.lang.IllegalStateException: Method invoked on module descriptor after it was destroyed. This is only legal for some methods on AbstractModuleDescriptor.
  3. 0

    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.

    Atlassian JIRA | 4 years ago | Thiago Ribeiro [Atlassian]
    java.lang.IllegalStateException: Method invoked on module descriptor after it was destroyed. This is only legal for some methods on AbstractModuleDescriptor.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    As seen during a JAC outage (see stack trace below). Apparently plugins and multitenancy disagree on the plugin state. Plugins tells us it's there, but when we try to use it the multitenancy tells us that it isn't available. The condition is apparently permanent. It would be a good thing to figure out why this happens in the first place, but in the meantime the I18nBean should intercept the failures instead of letting them take out the cache entirely. If the plug-in is gone, then us not getting its translations is the right answer anyway. I'm led to understand that this has been seen before and handled much the same way. My guess is that this was triggered by the conversion to using Google caches, which wrap the IllegalStateException in an UncheckedExecutionException. That's silly and unhelpful and is probably contributing to the problem. {noformat} 2012-11-12 18:19:01,544 StreamsCompletionService::thread-9671 ERROR anonymous 957x5545060x9 - 78.47.84.21,172.16.3.44 /rest/activity-stream/1.0/config [atlassian.streams. com.google.common.util.concurrent.UncheckedExecutionException: java.lang.IllegalStateException: Method invoked on module descriptor after it was destroyed. This is only l at com.google.common.cache.CustomConcurrentHashMap$ComputedUncheckedException.get(CustomConcurrentHashMap.java:3305) at com.google.common.cache.CustomConcurrentHashMap$ComputingValueReference.compute(CustomConcurrentHashMap.java:3441) at com.google.common.cache.CustomConcurrentHashMap$Segment.compute(CustomConcurrentHashMap.java:2322) at com.google.common.cache.CustomConcurrentHashMap$Segment.getOrCompute(CustomConcurrentHashMap.java:2291) at com.google.common.cache.CustomConcurrentHashMap.getOrCompute(CustomConcurrentHashMap.java:3802) at com.google.common.cache.ComputingCache.get(ComputingCache.java:46) at com.google.common.cache.AbstractCache.getUnchecked(AbstractCache.java:49) at com.atlassian.jira.web.bean.I18nBean$CachingFactory.getInstance(I18nBean.java:245) at com.atlassian.jira.web.bean.I18nBean$AccessorFactory.getInstance(I18nBean.java:145) at sun.reflect.GeneratedMethodAccessor164.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.atlassian.multitenant.impl.MultiTenantComponentFactoryImpl$AbstractMultiTenantAwareInvocationHandler.invokeInternal(MultiTenantComponentFactoryImpl.java:181) at com.atlassian.multitenant.impl.MultiTenantComponentFactoryImpl$MultiTenantAwareInvocationHandler.invoke(MultiTenantComponentFactoryImpl.java:211) at $Proxy37.getInstance(Unknown Source) at sun.reflect.GeneratedMethodAccessor164.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129) at $Proxy37.getInstance(Unknown Source) at sun.reflect.GeneratedMethodAccessor164.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:154) at $Proxy37.getInstance(Unknown Source) at com.atlassian.jira.i18n.JiraI18nResolver.resolveText(JiraI18nResolver.java:38) at com.atlassian.jira.i18n.AbstractI18nResolver.getText(AbstractI18nResolver.java:41) at sun.reflect.GeneratedMethodAccessor362.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58) at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:56) at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:39) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy1617.getText(Unknown Source) at com.atlassian.jira.plugins.dvcs.streams.DvcsStreamsActivityProvider$2.call(DvcsStreamsActivityProvider.java:249) at com.atlassian.jira.plugins.dvcs.streams.DvcsStreamsActivityProvider$2.call(DvcsStreamsActivityProvider.java:234) at com.atlassian.streams.internal.LocalActivityProvider$FeedFetcher.doInTransaction(LocalActivityProvider.java:201) at com.atlassian.streams.internal.LocalActivityProvider$FeedFetcher.doInTransaction(LocalActivityProvider.java:184) at com.atlassian.sal.core.transaction.HostContextTransactionTemplate$1.doInTransaction(HostContextTransactionTemplate.java:25) at com.atlassian.jira.DefaultHostContextAccessor.doInTransaction(DefaultHostContextAccessor.java:34) at sun.reflect.GeneratedMethodAccessor264.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.atlassian.multitenant.impl.MultiTenantComponentFactoryImpl$AbstractMultiTenantAwareInvocationHandler.invokeInternal(MultiTenantComponentFactoryImpl.java:181) at com.atlassian.multitenant.impl.MultiTenantComponentFactoryImpl$MultiTenantAwareInvocationHandler.invoke(MultiTenantComponentFactoryImpl.java:211) at $Proxy306.doInTransaction(Unknown Source) at sun.reflect.GeneratedMethodAccessor264.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129) at $Proxy306.doInTransaction(Unknown Source) at sun.reflect.GeneratedMethodAccessor264.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:154) at $Proxy306.doInTransaction(Unknown Source) at com.atlassian.sal.core.transaction.HostContextTransactionTemplate.execute(HostContextTransactionTemplate.java:21) at sun.reflect.GeneratedMethodAccessor297.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58) at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:56) at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:39) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy1525.execute(Unknown Source) at com.atlassian.streams.internal.LocalActivityProvider$1$1.get(LocalActivityProvider.java:125) at com.atlassian.streams.internal.LocalActivityProvider$1$1.get(LocalActivityProvider.java:122) at com.atlassian.streams.jira.JiraSessionManager.withSession(JiraSessionManager.java:19) at com.atlassian.streams.common.SwitchingSessionManager.withSession(SwitchingSessionManager.java:30) at sun.reflect.GeneratedMethodAccessor1507.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58) at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:56) at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:39) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy1530.withSession(Unknown Source) at com.atlassian.streams.internal.LocalActivityProvider$1.call(LocalActivityProvider.java:121) at com.atlassian.streams.internal.LocalActivityProvider$1.call(LocalActivityProvider.java:117) at com.atlassian.streams.internal.FeedBuilder$ToFeedCallable$1.call(FeedBuilder.java:115) at com.atlassian.streams.internal.FeedBuilder$ToFeedCallable$1.call(FeedBuilder.java:110) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at com.atlassian.util.concurrent.LimitedExecutor$Runner.run(LimitedExecutor.java:96) at com.atlassian.sal.core.executor.ThreadLocalDelegateRunnable.run(ThreadLocalDelegateRunnable.java:34) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: 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.language.LanguageModuleDescriptorImpl$$EnhancerByCGLIB$$f0586a1d.getResourceBundleName(<generated>) at com.atlassian.jira.web.bean.BackingI18n.loadV2LanguagePackBundles(BackingI18n.java:434) at com.atlassian.jira.web.bean.BackingI18n.loadV1AndV2LanguagePacksAndPluginsBundles(BackingI18n.java:378) at com.atlassian.jira.web.bean.BackingI18n.<init>(BackingI18n.java:120) at com.atlassian.jira.web.bean.I18nBean$CachingFactory$2.load(I18nBean.java:190) at com.atlassian.jira.web.bean.I18nBean$CachingFactory$2.load(I18nBean.java:186) at com.google.common.cache.CustomConcurrentHashMap$ComputingValueReference.compute(CustomConcurrentHashMap.java:3426) ... 126 more {noformat}

    Atlassian JIRA | 4 years ago | Chris Fuller
    com.google.common.util.concurrent.UncheckedExecutionException: java.lang.IllegalStateException: Method invoked on module descriptor after it was destroyed. This is only l
  6. 0

    Soemthing must be holding a reference to CustomFieldSearcherModuleDescriptor {noformat} 2011-08-01 00:23:04,691 http-172.16.3.44-9080-Processor84 ERROR anonymous 23x2603676x10 - /secure/IssueNavigator.jspa [webwork.util.ValueStack] METHOD: "searcherEditHtml", exception: 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.customfield.CustomFieldSearcherModuleDescriptorImpl$$EnhancerByCGLIB$$b56565bf.getSearchHtml(<generated>) at com.atlassian.jira.issue.customfields.searchers.renderer.CustomFieldRenderer.getEditHtml(CustomFieldRenderer.java:74) at com.atlassian.jira.issue.customfields.searchers.renderer.CustomFieldRenderer.getEditHtml(CustomFieldRenderer.java:54) at com.atlassian.jira.web.action.issue.IssueNavigator.getSearcherEditHtml(IssueNavigator.java:1527) at sun.reflect.GeneratedMethodAccessor695.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:70) at webwork.util.InjectionUtils.invoke(InjectionUtils.java:56) at webwork.util.ValueStack.findValue(ValueStack.java:514) at webwork.util.ValueStack.findValue(ValueStack.java:213) at webwork.view.taglib.WebWorkBodyTagSupport.findValue(WebWorkBodyTagSupport.java:62) at webwork.view.taglib.BasicPropertyTag.doStartTag(BasicPropertyTag.java:54) at org.apache.jsp.includes.navigator.filter_002dform_jsp._jspx_meth_ww_005fproperty_005f4(filter_002dform_jsp.java:1296) at org.apache.jsp.includes.navigator.filter_002dform_jsp._jspService(filter_002dform_jsp.java:272) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77) {noformat}

    Atlassian JIRA | 5 years ago | Matt "Spuddy" Quail
    java.lang.IllegalStateException: Method invoked on module descriptor after it was destroyed. This is only legal for some methods on AbstractModuleDescriptor.

    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.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()
    2. com.atlassian.multitenant
      MultiTenantModuleDescriptorFactory$LifecycleInterceptor$TenantInterceptor.intercept
      1. com.atlassian.multitenant.plugins.MultiTenantModuleDescriptorFactory$LifecycleInterceptor$TenantInterceptor.intercept(MultiTenantModuleDescriptorFactory.java:342)
      1 frame
    3. com.atlassian.jira
      WebworkModuleDescriptor$$EnhancerByCGLIB$$c9708a51.getImpl
      1. com.atlassian.jira.plugin.webwork.WebworkModuleDescriptor$$EnhancerByCGLIB$$c9708a51.getImpl(<generated>)
      1 frame
    4. webwork.config
      DelegatingConfiguration.getImpl
      1. webwork.config.DelegatingConfiguration.getImpl(DelegatingConfiguration.java:50)
      1 frame