Team Calendars plugin will not start after being upgraded to version 6.0.26 on Confluence 6.0.1
Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Summary
After upgrading Team Calendars to version 6.0.26 (which supports Confluence Server 5.10.7 - 6.14.3), the Team Calendars plugin will not start
Environment
6.0.1 - Reached End of Life
Diagnosis
The following will appear in the application logs:
2018-07-19 12:33:55,001 ERROR [UpmAsynchronousTaskManager:thread-2] [atlassian.plugin.manager.DefaultPluginManager] enableConfiguredPluginModule There was an error loading the descriptor 'Watch Dog Job Config' of plugin 'com.atlassian.confluence.extra.team-calendars'. Disabling.
-- url: /rest/plugins/1.0/ | referer: http://confluence.internal/plugins/servlet/upm?source=side_nav_manage_addons | traceId: 673dc2f2e51a3da7 | userName: user
java.lang.NullPointerException
at com.atlassian.confluence.plugin.descriptor.JobConfigModuleDescriptor.getJobRunner(JobConfigModuleDescriptor.java:331)
at com.atlassian.confluence.plugin.descriptor.JobConfigModuleDescriptor.scheduleUnmanagedJob(JobConfigModuleDescriptor.java:310)
at com.atlassian.confluence.plugin.descriptor.JobConfigModuleDescriptor.enabled(JobConfigModuleDescriptor.java:275)
at com.atlassian.plugin.manager.DefaultPluginManager.notifyModuleEnabled(DefaultPluginManager.java:1991)
...
Cause
Root cause is unknown at this time but has only been observed to affect very old versions of both Confluence and Team Calendars
Solution
There are 2 ways to address this error:
- (Recommended)
Upgrade the end-of-life Confluence version 6.0.1 to a modern, supported version in order to be able to install the latest version of Universal Plugin Manager and the latest version of Team Calendars. These 2 addons together (if running Confluence Data Center) will change Team Calendar's behavior to become a free addon as opposed to a paid-for licensed one; if running on Confluence Server (non-DC), Team Calendars will still need to be licensed with a valid license key
or
- (If you cannot upgrade Confluence or cannot upgrade immediately)
Despite Team Calendars version 6.0.26 stating it is compatible with Confluence 6.0.1, under certain conditions it can still throw the error above and refuse to enable.Install Team Calendars version 6.0.14 instead in these circumstances and it will install and enable successfully
Note: Confluence 6.0.1 is end of life and no longer eligible for support. No further development resources will be spent to uncover the root cause of this issue in EOL versions of Team Calendars, Confluence and associated addons.
Upgrading Team Calendars to its initially highest stable version (which may be version 6.0.14 rather than 6.0.26), then upgrading Confluence, then upgrading Team Calendars again this time to latest is the recommended way to address this condition.