-
Bug
-
Resolution: Fixed
-
Low
-
6.7.2, 6.10.1, 6.10.2, 6.11.2, 6.6.17, 6.12.4, TC-6.0.46
-
None
-
6
-
Severity 2 - Major
-
8
-
Issue Summary
Updating Team Calendar to version 6.0.46 causes it to be disabled and won't be able to enable it. When clicking on enable, it will show an error like the following:
On the logs, it will produce the following error:
2019-11-21 18:33:52,771 ERROR [ThreadPoolAsyncTaskExecutor::Thread 22] [plugin.osgi.factory.OsgiPlugin] onPluginContainerFailed Unable to start the plugin container for plugin 'com.atlassian.confluence.extra.team-calendars' org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'mailSummaryRenderer' defined in URL [bundle://228.0:0/META-INF/spring/spring-components.xml]: Unsatisfied dependency expressed through constructor argument with index 6 of type [com.atlassian.confluence.extra.calendar3.CalendarSettingsManager]: Ambiguous constructor argument types - did you specify the correct bean references as constructor arguments? at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:735) at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:185) 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)
Steps to Reproduce
- Run Confluence 6.10.2
- Go to Manage add-ons (General Configuration > Manage add-ons)
- Install/Update Team Calendar to version 6.0.46
Expected Results
Team Calendar should be working normally.
Actual Results
Team Calendar is disabled and won't be able to be enabled anymore.
The bug does not affect Confluence 6.13.x and above.
Workaround
As a workaround, Team Calendar needs to be downgraded to version 6.0.45.
- Uninstall Team Calendar 6.0.46
- Download Team Calendar 6.0.45
- Install the Team Calendar by file upload
- Team Calendar will work as usual