Confluence Email Notification and Daily Email Update does not work

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. 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

1 2 3 4 5 6 7 8 9 10 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

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.