AbstractSelectionProcessor.unseen(..) may throws MailboxException if the 
message was deleted by an other session
----------------------------------------------------------------------------------------------------------------

                 Key: IMAP-345
                 URL: https://issues.apache.org/jira/browse/IMAP-345
             Project: JAMES Imap
          Issue Type: Bug
          Components: Processor
    Affects Versions: 0.2.1
            Reporter: Norman Maurer
            Assignee: Norman Maurer
             Fix For: 0.3


See this exception:
org.apache.james.mailbox.MailboxException: No message found with uid 505 in 
mailbox #private.INBOX.james-apache-org
  at 
org.apache.james.imap.processor.AbstractSelectionProcessor.unseen(AbstractSelectionProcessor.java:357)
  at 
org.apache.james.imap.processor.AbstractSelectionProcessor.respond(AbstractSelectionProcessor.java:134)
  at 
org.apache.james.imap.processor.AbstractSelectionProcessor.doProcess(AbstractSelectionProcessor.java:92)
  at

We should better retry to get the first unseen in this case and only error out 
if we not was able to get it within x tries.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org

Reply via email to