[ http://issues.apache.org/jira/browse/JAMES-474?page=comments#action_12374165 ]
Stefano Bagnara commented on JAMES-474: --------------------------------------- The problem is in the SMTPServerTest: SMTPHandler dispose the Mail as soon as it processed it. The current test implementation doesn't clone the message when receiving it but share the message with the SMTPHandler. When SMTPHandler dispose the MailImpl object, in turn the MimeMessageCopyOnWriteProxy.dispose is called and the wrapped mimemessage is set to null. > NullPointerException and bodymessage lost with weird configurations in > message spooling > --------------------------------------------------------------------------------------- > > Key: JAMES-474 > URL: http://issues.apache.org/jira/browse/JAMES-474 > Project: James > Type: Bug > Components: James Core > Versions: 2.3.0a1 > Reporter: Stefano Bagnara > Assignee: Stefano Bagnara > Priority: Critical > > Under particular condition the new MimeMessageWrapper optimization code seems > to loose the message source. > I've already created a unittest for this and I remove the optimization, but > this need a fix. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]