You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by ji...@apache.org on 2004/04/14 08:41:43 UTC
[jira] Resolved: (JAMES-240) LinearProcessor.verifyMailAddresses should catch java.lang.ArrayStoreException
Message:
The following issue has been resolved as FIXED.
Resolver: Noel J. Bergman
Date: Tue, 13 Apr 2004 11:40 PM
Added a catch clause for ArrayStoreException to LinearProcessor.verifyMailAddresses.
---------------------------------------------------------------------
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: Resolved
Priority: Major
Resolution: FIXED
Project: James
Components:
SpoolManager & Processors
Fix Fors:
2.2.0a19
Versions:
2.2.0a18
Assignee: Noel J. Bergman
Reporter: Angel Angelov
Created: Wed, 31 Mar 2004 7:19 AM
Updated: Tue, 13 Apr 2004 11:40 PM
Description:
From: "Noel J. Bergman" <no...@devtech.com> Save Address
To: "James Users List" <se...@james.apache.org>, <an...@sayrix.com>
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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org