Team Calendars throw error 500 right after an upgrade to Confluence version 7
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. 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
Problem
After upgrading Confluence from 6.x to 7.x, Team Calendar stops working and throws an error 500 on the banner:

The following appears in the atlassian-confluence.log
1
2
3
4
5
6
7
8
2021-05-16 00:00:00,000 ERROR [https-jsse-nio-8443-exec-42 url:/rest/calendar-...tching/status.json username:user1] [common.error.jersey.ThrowableExceptionMapper] toResponse Uncaught exception thrown by REST service: 'com.atlassian.confluence.mail.notification.Notification com.atlassian.confluence.mail.notification.NotificationManager.getNotificationByUserAndPage(com.atlassian.user.User, com.atlassian.confluence.pages.AbstractPage)'
-- referer: https://confluence/display/TEST/Test+Page | url: /rest/calendar-services/1.0/calendar/subcalendars/watching/status.json | traceId: 030d1147135daad4 | userName: user1
java.lang.NoSuchMethodError: 'com.atlassian.confluence.mail.notification.Notification com.atlassian.confluence.mail.notification.NotificationManager.getNotificationByUserAndPage(com.atlassian.user.User, com.atlassian.confluence.pages.AbstractPage)'
at com.atlassian.confluence.extra.calendar3.DefaultCalendarManager.isWatchingViaContent(DefaultCalendarManager.java:2161)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
Diagnosis
Environment
Confluence version 7.x or above
Team Calendar version 6.02x
Cause
The current Team Calendar version is not compatible with the newly upgraded Confluence version.
Solution
Resolution
According to Team Calendars Version History, TC 6.0.2x is compatible with Confluence Server 5.10.7 - 6.14.3. After upgrading Confluence to 7.x, you'll have to update the Team Calendar app to a compatible version (6.0.47+).
Log in to Confluence as a System Administrator
Go to Manage Apps
Locate the Team Calendar app
Upgrade to the latest compatible version by clicking on the "Upgrade" button
Was this helpful?