-
Bug
-
Resolution: Fixed
-
Low
-
5.5
-
3
-
Severity 3 - Minor
-
10
-
Summary
Within Team Calendar 5.5.0, if a calendar event is updated, the users referenced by that event will not receive an email notification if at least one of them doesn't have a profile picture set.
Environment
- Confluence 6.3.1
- Team Calendar 5.5.0
Steps to Reproduce
- Create a user with no profile picture set.
- Create a calendar.
- Create an event or update an existing event and add the above user to the event.
Expected Results
An email notification should be generated and sent to all users on a calendar event after it is created or updated.
Actual Results
No email notification is sent.
Notes
Within the logs, the following error message appears:
2018-01-22 12:06:14,231 ERROR [AtlassianEvent::CustomizableThreadFactory-3] [atlassian.confluence.event.ConfluenceEventDispatcher] run There was an exception thrown trying to dispatch event [com.atlassian.confluence.extra.calendar3.events.SubCalendarEventCreated[source=com.atlassian.confluence.extra.calendar3.DefaultCalendarManager@716b01c0]] from the invoker [com.atlassian.confluence.event.ConfluenceListenerHandlersConfiguration$TimingListenerHandler$1$1@7af92cd8] -- url: /conf/rest/calendar-services/1.0/calendar/events.json | referer: http://localhost:9641/conf/calendar/mycalendar.action | traceId: 597a0a4b7ab10488 | userName: kimo java.lang.RuntimeException: java.lang.NullPointerException at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:41) at com.atlassian.confluence.event.ConfluenceListenerHandlersConfiguration$TimingListenerHandler$1$1.invoke(ConfluenceListenerHandlersConfiguration.java:69) at com.atlassian.confluence.event.ConfluenceEventDispatcher$VCacheRequestContextRunnableFactory$1.lambda$run$0(ConfluenceEventDispatcher.java:93) ... Caused by: com.atlassian.mail.MailException: java.lang.NullPointerException at com.atlassian.confluence.extra.calendar3.notification.DefaultCalendarNotificationManager$21.doInTransaction(DefaultCalendarNotificationManager.java:2393) at com.atlassian.confluence.extra.calendar3.notification.DefaultCalendarNotificationManager$21.doInTransaction(DefaultCalendarNotificationManager.java:2373) ... Caused by: java.lang.NullPointerException at javax.mail.util.ByteArrayDataSource.<init>(ByteArrayDataSource.java:87) at com.atlassian.confluence.core.DefaultDataSourceFactory.getServletContainerResource(DefaultDataSourceFactory.java:182) at com.atlassian.confluence.core.DefaultDataSourceFactory.getServletContainerResource(DefaultDataSourceFactory.java:155) at com.atlassian.confluence.extra.calendar3.notification.DefaultCalendarNotificationManager.createDefaultProfilePictureDataHandler(DefaultCalendarNotificationManager.java:1531) at com.atlassian.confluence.extra.calendar3.notification.DefaultCalendarNotificationManager.createAvatarDataHandler(DefaultCalendarNotificationManager.java:1457)
Note where the NullPointerException is occurring within createDefaultProfilePictureDataHandler method.
Workaround
Uninstall Team Calendar 5.5.0 and fall back to version 5.3.20.
- is related to
-
CONFSERVER-53188 Some Team Calendar notifications aren't set with a date parse error
- Closed