Hallo Noel,
thanks for the suggestion.
I was created a Collection from Strings instead of Collection of MailAddress. Now it
works perfect!
What is a JIRA issue and how/where can I submit it?
--Angel
---------- Original Message ----------------------------------
From: "Noel J. Bergman" <[EMAIL PROTECTED]>
Reply-To: "James Users List" <[EMAIL PROTECTED]>
Date: Wed, 31 Mar 2004 09:32:20 -0500
>> 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
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]