Team Calendars throw error 500 right after an upgrade to Confluence version 7

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform Notice: Server and Data Center Only - This article only applies to Atlassian products on the server and data center platforms.

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

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. 

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+).

  1. Log in to Confluence as a System Administrator
  2. Go to Manage Apps
  3. Locate the Team Calendar app
  4. Upgrade to the latest compatible version by clicking on the "Upgrade" button


Last modified on May 31, 2021

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.