You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by "Thilina Gunarathne (JIRA)" <ji...@apache.org> on 2006/10/13 10:51:36 UTC
[jira] Resolved: (WSCOMMONS-110)
org.apache.axiom.attachments.Attachments throws ClassCastException
[ 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: commons-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: commons-dev-help@ws.apache.org