Seems some of our e-mails are stacking up in the MailQueue, and I can't debug why. Getting the following in stdout.log:
2003-02-25 16:37:18,669 ERROR [atlassian.jira.mail.IssueMailQueueItem]
java.lang.NullPointerException
at com.atlassian.jira.notification.type.CurrentAssignee.getRecipients(CurrentAssignee.java:35)
at com.atlassian.jira.notification.NotificationSchemeManager.getRecipients(NotificationSchemeManager.java:140)
at com.atlassian.jira.mail.IssueMailQueueItem.send(IssueMailQueueItem.java:86)
at com.atlassian.jira.mail.MailQueue.sendBuffer(MailQueue.java:60)
Seems to work for some users, and generally only affects watchers. I see the mail items stack up in my queue, although I only see two days worth. I have seen this before, but had thought my queue was just not flushing. Seems to be only Created and Commented tasks. Any better way to debug the problems than looking in my stdout.log?
Seems, however, that an NPE isn't being trapped for the MailQueue? If not, is there a better way we can trap errors for the queue, or possibly put undeliverable mail in a file or something? Any ideas? Likely related to my migration from 1.4, to the various EAPs, to both RCs.