Confluence Team Calendar events not displaying in Outlook

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.

 

Summary

Events in Team Calendar are no longer appearing when exporting the calendar to Outlook. The problem happens on both Outlook webmail and Outlook desktop client (Windows and Mac).


Environment

This problem was identified in Confluence server and datacenter version 7.4.7. It could also affect other versions of Confluence.


Diagnosis

Steps to reproduce and diagnose the problem:

  1. Log into the Outlook webmail
  2. Add calendar using Microsoft Outlook (browser) URL from "Subscribe to Team Calendar" calendar app option
  3. Team calendar events aren't displaying.

The following error appears in the atlassian-confluence.log:

2021-03-25 08:33:50,084 ERROR [http-nio-8090-exec-35] [calendar3.rest.ExceptionMappers.GeneralExceptionMapper] getResponseError General exception happen on calendar resources
-- url: /rest/calendar-services/1.0/calendar/export/subcalendar/private/739df8532dd1c492188d2763bd127957bf3b3fad.ics | traceId: 6f1a2c28a5a15778 | userName: anonymous
javax.ws.rs.WebApplicationException: java.lang.NullPointerException
at com.atlassian.confluence.extra.calendar3.rest.resources.ExportResource.lambda$exportCalendarAsIcalendarTextInternal$0(ExportResource.java:133)
at com.sun.jersey.core.impl.provider.entity.StreamingOutputProvider.writeTo(StreamingOutputProvider.java:71)
...
Caused by: java.lang.NullPointerException
at net.fortuna.ical4j.model.PropertyList.getProperty(PropertyList.java:95)
at net.fortuna.ical4j.transform.command.UidUpdate.transform(UidUpdate.java:19)
at net.fortuna.ical4j.transform.AbstractMethodTransformer.transform(AbstractMethodTransformer.java:37)
at com.atlassian.confluence.extra.calendar3.util.CalendarExportTransformer.transform(CalendarExportTransformer.java:85)
at com.atlassian.confluence.extra.calendar3.DefaultICalendarExporter.getTransformedSubCalendarContent(DefaultICalendarExporter.java:285)
at com.atlassian.confluence.extra.calendar3.DefaultICalendarExporter.export(DefaultICalendarExporter.java:105)

If you followed the steps aforementioned and you are seeing the issue described in this KB, then proceed with its resolution.

Cause

The application is facing an unexpected NullPointerException. This error is caused by a corrupted plugin cache.

Solution

Proceed with the solution in How to clear Confluence plugins cache 

Last modified on Apr 1, 2021

Was this helpful?

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