Confluence Email Notification and Daily Email Update does not work
Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Problem
The Confluence notification and daily update email is not being sent.
The following appears in the atlassian-confluence.log
2015-05-06 00:00:31,486 ERROR [scheduler_Worker-2] [confluence.mail.jobs.DefaultDailyReportManager] queueDailyReportEmail Failed to create daily report for user USER_A
java.lang.NullPointerException
at javax.mail.util.ByteArrayDataSource.<init>(ByteArrayDataSource.java:87)
at com.atlassian.confluence.core.DefaultDataSourceFactory.getServletContainerResource(DefaultDataSourceFactory.java:213)
at com.atlassian.confluence.core.DefaultDataSourceFactory.getServletContainerResource(DefaultDataSourceFactory.java:180)
at com.atlassian.confluence.mail.jobs.DefaultDailyReportManager.attachProfileImage(DefaultDailyReportManager.java:241)
at com.atlassian.confluence.mail.jobs.DefaultDailyReportManager.queueDailyReportEmail(DefaultDailyReportManager.java:132)
at com.atlassian.confluence.mail.jobs.DefaultDailyReportManager.generateDailyReports(DefaultDailyReportManager.java:97)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
Cause
The default profile picture user_16.png which are used by user who have not configured their profile picture are missing from the installation folder.
Workaround
- Download the same version of standalone installation zip from Confluence download page
- Unzip the downloaded installation zip
- Go to unzip folder and copy images folder in the <unzip_folder>/confluence directory
- Shutdown Confluence
- Replace it with the <confluence-install>/confluence/images/ in your current installation directory.
- Restart Confluence