-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Medium
-
Affects Version/s: 6.13.4
-
Component/s: Apps - Team Calendar
-
1
-
Severity 3 - Minor
Environment
Team Calendars 6.0.25
Steps to reproduce
- Import an .ics file that contains Jira events
Expected behaviour
The ICS file should import successfully; or
At least throw an obvious error if it is validating for a valid Jira application link
Actual behaviour
NullPointerException appears in the importing window. Confluence logs show the following:
2019-05-22 11:10:00,000 ERROR [http-nio-8000-exec-1] [extra.calendar3.xwork.ImportSubCalendarAction] execute Unable to import events of type jira-project-releases -- referer: http://localhost:8090/confluence/calendar/mycalendar.action | url: /confluence/plugins/calendar/importsubcalendar.action | traceId: 2d13b245a88aafff | userName: administrator | action: importsubcalendar java.lang.NullPointerException at com.atlassian.confluence.extra.calendar3.calendarstore.AbstractJiraSubCalendarDataStore.toStorageFormat(AbstractJiraSubCalendarDataStore.java:252) at com.atlassian.confluence.extra.calendar3.calendarstore.AbstractCalendarDataStore.save(AbstractCalendarDataStore.java:289) at com.atlassian.confluence.extra.calendar3.calendarstore.CalendarDataStoreCachingDecorator.save(CalendarDataStoreCachingDecorator.java:143) at com.atlassian.confluence.extra.calendar3.calendarstore.DelegatingCalendarDataStore.save(DelegatingCalendarDataStore.java:82) at com.atlassian.confluence.extra.calendar3.DefaultCalendarManager.save(DefaultCalendarManager.java:328) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333) ... ..