[ 
https://issues.apache.org/jira/browse/GERONIMO-3953?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rick McGuire resolved GERONIMO-3953.
------------------------------------

    Resolution: Fixed

Committed revision 646017.

Thanks for the excellent test case!

> ArrayIndexOutOfBoundsException reading MimeMultipart from a file with 
> multiple attachments.
> -------------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-3953
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3953
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: mail
>            Reporter: Davanum Srinivas
>            Assignee: Rick McGuire
>         Attachments: test.diff, wmtom.bin
>
>
> Here's the stack trace :
> ======================================================================
> java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 0
>       at java.util.Vector.get(Vector.java:710)
>       at javax.mail.Multipart.getBodyPart(Multipart.java:93)
>       at javax.mail.internet.MimeMultipart.getBodyPart(MimeMultipart.java:110)
>       at 
> javax.mail.internet.MimeMultipartTest.testMIMEWriting(MimeMultipartTest.java:107)
> ======================================================================
> Please see the uploaded diff to existing test case to demonstrate the issue.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to