-
Bug
-
Resolution: Fixed
-
Low
-
JCMA - 1.9.12
-
4
-
Severity 2 - Major
-
68
Issue Summary
Jira Cloud Migration Assistant 1.9.13 fails to start when installed on Jira 7.6.3 without Jira Software installed.
Steps to Reproduce
- Install Jira Service Management 3.9.3 (Jira 7.6.3) without installing Jira Software
- Install the Jira Cloud Migration Assistant app
Expected Results
The Jira Cloud Migration Assistant should start.
Actual Results
Jira shows the error This app failed to enable. Refer to the logs for more information.
The below exception is thrown in the atlassian-jira.log file:
2023-08-24 00:00:00,000 ThreadPoolAsyncTaskExecutor::Thread 54 ERROR username 123x4567x8 1234abc 10.10.2.100 /rest/plugins/1.0/com.atlassian.jira.migration.jira-migration-plugin-key [c.a.p.osgi.factory.OsgiPlugin] Unable to start the plugin container for plugin 'com.atlassian.jira.migration.jira-migration-plugin' org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'fx3PluginClient' defined in URL [bundle://225.0:1/com/atlassian/jira/migration/fx3/Fx3PluginClient.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.atlassian.jira.migration.fx3.Fx3PluginClient]: Constructor threw exception; nested exception is java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask@7d41ae1b rejected from java.util.concurrent.ScheduledThreadPoolExecutor@6768d555[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0] at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:275) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1143) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1046) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:772) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:839) at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:60) at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:325) at org.eclipse.gemini.blueprint.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85) at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:290) at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:137) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.atlassian.jira.migration.fx3.Fx3PluginClient]: Constructor threw exception; nested exception is java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask@7d41ae1b rejected from java.util.concurrent.ScheduledThreadPoolExecutor@6768d555[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0] at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:163) at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:122) at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:267) ... 18 more Caused by: java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask@7d41ae1b rejected from java.util.concurrent.ScheduledThreadPoolExecutor@6768d555[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0] at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:830) at java.util.concurrent.ScheduledThreadPoolExecutor.delayedExecute(ScheduledThreadPoolExecutor.java:326) at java.util.concurrent.ScheduledThreadPoolExecutor.scheduleAtFixedRate(ScheduledThreadPoolExecutor.java:573) at com.atlassian.fx3.Fx3Client$Companion.init(Fx3Client.kt:50) at com.atlassian.jira.migration.fx3.Fx3PluginClient.<init>(Fx3PluginClient.kt:20) ... 3 filtered at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147) ... 20 more
Workaround
Install Jira Software, then uninstall and reinstall JCMA.