Issue Details (XML | Word | Printable)

Key: JRA-1370
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Bobby McKeown
Reporter: Adam Harvey
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
JIRA

Items stacking up in MailQueue

Created: 25/Feb/03 03:37 PM   Updated: 30/Jul/06 07:36 PM
Component/s: None
Affects Version/s: 2.0
Fix Version/s: 2.0

Time Tracking:
Not Specified

Environment: 2.0RC2-#41

Participants: Adam Harvey and Bobby McKeown
Since last comment: 5 years, 31 weeks, 4 days ago
Resolution Date: 02/Mar/03 11:37 PM
Labels:


 Description  « Hide
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?



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Adam Harvey added a comment - 25/Feb/03 10:55 PM
Just a note. I seem to have fixed the issue. I edited the account info for the user who informed me that he was not seeing notifications. I simply opened his account, made no changes (to e-mail, name, or username), and resaved. This seemed to clear up whatever the problem was - mail in the queue was delivered after the next queue refresh.

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.


Bobby McKeown added a comment - 02/Mar/03 11:37 PM
Fixed in 2.0