[ http://issues.apache.org/jira/browse/WSCOMMONS-110?page=all ]
Thilina Gunarathne resolved WSCOMMONS-110.
------------------------------------------
Resolution: Fixed
Assignee: Thilina Gunarathne
Fixed http://svn.apache.org/viewvc?view=rev&rev=463595
Thanks Arjen for pointing this out.. I have missed this point in the recent
refactoring..
> org.apache.axiom.attachments.Attachments throws ClassCastException
> ------------------------------------------------------------------
>
> Key: WSCOMMONS-110
> URL: http://issues.apache.org/jira/browse/WSCOMMONS-110
> Project: WS-Commons
> Issue Type: Bug
> Components: AXIOM
> Environment: Axiom 1.1.1
> Reporter: Arjen Poutsma
> Assigned To: Thilina Gunarathne
>
> The org.apache.axiom.attachments.Attachments class has a private field
> attachmentMap, which should contain JAF DataHandlers. However, in the method
> getNextPartDataHandler, line 407, the map is filled with a Part, not a
> DataHandler. This eventually results in a ClassCastException, since the rest
> of the class expects the map to contain DataHandlers.
--
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]