Failed adding mail for notification recipient

2015-02-04 10:03:21,640 Sending mailitem com.atlassian.jira.mail.IssueMailQueueItem@308608a0[issue=com.atlassian.jira.issue.IssueImpl@38cdf5eb[id=165417,summary=Apply test patch tonight,key=SEC-54890,created=2015-01-29 13:16:21.0,updated=2015-02-04 08:31:53.0,assignee=RWagh:10000,reporter=paraturesync:1],remoteUser=RWagh:10000,notificationType=All_Watchers,eventTypeId=6,templateId=6] ERROR ServiceRunner Mail Queue Service [atlassian.jira.mail.MailingListCompiler] Failed adding mail for notification recipient: [email=lmorrell@saba.com, user=lmorrell:10000]
java.lang.NullPointerException
at org.apache.commons.io.FileUtils.openInputStream(FileUtils.java:129)
at com.atlassian.jira.avatar.AvatarManagerImpl.getOrGenerateLargerAvatarFile(AvatarManagerImpl.java:345)
at com.atlassian.jira.avatar.AvatarManagerImpl.getOrGenerateAvatarFile(AvatarManagerImpl.java:308)
at com.atlassian.jira.avatar.AvatarManagerImpl.processAvatarData(AvatarManagerImpl.java:288)
at com.atlassian.jira.avatar.AvatarManagerImpl.readAvatarData(AvatarManagerImpl.java:368)
at com.atlassian.jira.mail.util.MailAttachmentsManagerImpl$AvatarAttachment.buildBodyPart(MailAttachmentsManagerImpl.java:279)
at com.atlassian.jira.mail.util.MailAttachmentsManagerImpl$1.apply(MailAttachmentsManagerImpl.java:160)
at com.atlassian.jira.mail.util.MailAttachmentsManagerImpl$1.apply(MailAttachmentsManagerImpl.java:156)
at com.google.common.collect.Iterators$8.next(Iterators.java:782)
at com.google.common.collect.Iterators$7.computeNext(Iterators.java:644)
at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:141)
at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:136)
at com.google.common.collect.Iterators$5.hasNext(Iterators.java:539)
at com.atlassian.jira.mail.builder.EmailRenderer.buildMailWithAttachments(EmailRenderer.java:150)
at com.atlassian.jira.mail.builder.EmailRenderer.renderEmailBody(EmailRenderer.java:122)
at com.atlassian.jira.mail.builder.EmailRenderer.render(EmailRenderer.java:165)
at com.atlassian.jira.mail.builder.EmailBuilder.renderNow(EmailBuilder.java:162)
at com.atlassian.jira.mail.builder.EmailBuilder.renderNowAsQueueItem(EmailBuilder.java:152)
at com.atlassian.jira.mail.MailingListCompiler$1.processRecipient(MailingListCompiler.java:306)
at com.atlassian.jira.mail.NotificationRecipientProcessor.process(NotificationRecipientProcessor.java:39)
at com.atlassian.jira.mail.MailingListCompiler.addMailsToQueue(MailingListCompiler.java:331)
at com.atlassian.jira.mail.MailingListCompiler.access$200(MailingListCompiler.java:46)
at com.atlassian.jira.mail.MailingListCompiler$NotificationCompiler.addEmailsToQueue(MailingListCompiler.java:454)
at com.atlassian.jira.mail.MailingListCompiler$NotificationCompiler.sendLists(MailingListCompiler.java:424)
at com.atlassian.jira.mail.MailingListCompiler$NotificationCompiler.sendForEvent(MailingListCompiler.java:377)
at com.atlassian.jira.mail.MailingListCompiler.sendLists(MailingListCompiler.java:139)
at com.atlassian.jira.mail.IssueMailQueueItem.send(IssueMailQueueItem.java:149)
at com.atlassian.mail.queue.MailQueueImpl.sendBuffer(MailQueueImpl.java:66)
at com.atlassian.jira.service.services.mail.MailQueueService.run(MailQueueService.java:28)
at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:61)
at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:48)
at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)

1 answer

0 votes
Volodymyr Krupach Community Champion Feb 06, 2015

Looks like this bug was fixed in JIRA 6.2 https://jira.atlassian.com/browse/JRA-36443 :

This seems to be occurring because the e-mail being generated wants to attach an avatar but is not able because it does not exist on disk.

You can try to put avatar to the disk or just to change it.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,789 views 11 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot