Details
-
Bug
-
Resolution: Fixed
-
Low
-
3.12.3
-
JIRA Enterprise, standalone installation, Sun Java 1.6.0_03-b05.
-
3.12
-
Description
After editing a comment JIRA sends a notification email message. If the comment was added by a user who exists then the message is as expected. If the comment was added by a user whose account has since been deleted then the message contains the following:
An error occurred whilst rendering this message. Please contact the administrators, and inform them of this bug. Details: ------- org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getUser' in class com.atlassian.core.user.UserUtils threw exception class com.opensymphony.user.EntityNotFoundException : No user fred.bloggs@xxxxxxxxxxx.co.uk found at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:246) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175) at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:327) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:144) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:220) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:70) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:172) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) at org.apache.velocity.app.VelocityEngine.evaluate(VelocityEngine.java:316) at org.apache.velocity.app.VelocityEngine.evaluate(VelocityEngine.java:210) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBodyForContent(DefaultVelocityManager.java:142) at com.atlassian.jira.mail.MailingListCompiler$1.processRecipient(MailingListCompiler.java:285) at com.atlassian.jira.mail.NotificationRecipientProcessor.process(NotificationRecipientProcessor.java:41) at com.atlassian.jira.mail.MailingListCompiler.addMailsToQueue(MailingListCompiler.java:307) at com.atlassian.jira.mail.MailingListCompiler.access$500(MailingListCompiler.java:35) at com.atlassian.jira.mail.MailingListCompiler$NotificationCompiler.addEmailsToQueue(MailingListCompiler.java:472) at com.atlassian.jira.mail.MailingListCompiler$NotificationCompiler.sendLists(MailingListCompiler.java:440) at com.atlassian.jira.mail.MailingListCompiler$NotificationCompiler.sendForEvent(MailingListCompiler.java:393) at com.atlassian.jira.mail.MailingListCompiler.sendLists(MailingListCompiler.java:133) at com.atlassian.jira.mail.IssueMailQueueItem.send(IssueMailQueueItem.java:167) at com.atlassian.mail.queue.MailQueueImpl.sendBuffer(MailQueueImpl.java:68) at com.atlassian.jira.service.services.mail.MailQueueService.run(MailQueueService.java:23) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:67) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:61) at org.quartz.core.JobRunShell.run(JobRunShell.java:191) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516)