Message: The following issue has been closed.
--------------------------------------------------------------------- View the issue: http://issues.apache.org/jira/browse/JAMES-240 Here is an overview of the issue: --------------------------------------------------------------------- Key: JAMES-240 Summary: LinearProcessor.verifyMailAddresses should catch java.lang.ArrayStoreException Type: Bug Status: Closed Priority: Major Resolution: FIXED Project: James Components: SpoolManager & Processors Fix Fors: 2.2.0RC1 Versions: 2.2.0RC1 Assignee: Noel J. Bergman Reporter: Angel Angelov Created: Wed, 31 Mar 2004 7:19 AM Updated: Sat, 5 Jun 2004 12:48 PM Description: From: "Noel J. Bergman" <[EMAIL PROTECTED]> Save Address To: "James Users List" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> CC: Date: Wed, 31 Mar 2004 09:32:20 -0500 Subject: RE: using MailetContext.sendMail > java.lang.ClassCastException > at org.apache.mailet.GenericRecipientMatcher.match(GenericRecipientMatcher.java :89) 89 MailAddress rec = (MailAddress) i.next(); Looks like something was put into the Collection that doesn't belong there. This is later confirmed by: > java.lang.ArrayStoreException > at java.lang.System.arraycopy(Native Method) > at java.util.ArrayList.toArray(ArrayList.java:305) > at org.apache.james.transport.LinearProcessor.verifyMailAddresses(LinearProcess or.java:515) 515 MailAddress addresses[] = (MailAddress[])col.toArray(new MailAddress[0]); Please submit a JIRA issue that .LinearProcessor.verifyMailAddresses should catch java.lang.ArrayStoreException The purpose of that method is to verify the contents of the Collection, and it should not leak the exception. --- Noel --------------------------------------------------------------------- JIRA INFORMATION: 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 If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
