-
Bug
-
Resolution: Fixed
-
Medium
-
TC-6.0.14, TC-6.0.17, TC-6.0.20
-
14
-
Severity 3 - Minor
-
28
-
Environment
- Team Calendars 6.0.x
Steps to reproduce
- Create a calendar;
- Add an event with a participant (in the Who field);
- Export the calendar to .ics;
- Import the .ics file in another instance.
Expected behavior
The calendar is imported with no errors.
Actual behavior
NullPointerException appears in the importing window. Confluence logs show the following:
2018-07-12 16:52:01,080 ERROR [http-nio-8090-exec-2] [extra.calendar3.xwork.ImportSubCalendarAction] execute Unable to import events of type other -- referer: https://confluence.test.com/display/TEST/calendars | url: /plugins/calendar/importsubcalendar.action | traceId: 2902141a06b26b09 | userName: admin | action: importsubcalendar java.lang.NullPointerException at com.atlassian.confluence.extra.calendar3.DefaultActiveObjectsServiceWrapper.createInviteeEntity(DefaultActiveObjectsServiceWrapper.java:159) at com.atlassian.confluence.extra.calendar3.calendarstore.AbstractCalendarDataStore.setSubCalendarContent(AbstractCalendarDataStore.java:1004) at com.atlassian.confluence.extra.calendar3.calendarstore.AbstractPeopleHandlingSubCalendarDataStore.setSubCalendarContent(AbstractPeopleHandlingSubCalendarDataStore.java:111)
In spite of that, all the events are imported correctly with no participants - which is expected since the related user identifier (user_key) doesn't exist in the new instance.
Additional details
This bug seems to be caused by a user checker introduced in TC 6 to fix CONFSERVER-55887
Workaround
- Uninstall Team Calendars 6.0.x in the Confluence instance
- Download Team Calendars version 5.3.20
- Navigate to the Manage apps Page
- Select Upload Apps
- Choose to upload the team-calendars-5.3.20.obr file that was just downloaded in step 2
- Create a new Team Calendar
- Import the ICS file into the newly created Team Calendar
- Once the import is successful, Update the Team calendar to TC 6.0.x (the latest version)
- relates to
-
CONFSERVER-58122 Importing an ics export of a team calendar into Confluence fails with null pointer exception
-
- Closed
-
- mentioned in
-
Page Loading...