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 "Davanum Srinivas (JIRA)" <ji...@apache.org> on 2006/10/12 03:03:36 UTC
[jira] Commented: (WSCOMMONS-110)
org.apache.axiom.attachments.Attachments throws ClassCastException
[ http://issues.apache.org/jira/browse/WSCOMMONS-110?page=comments#action_12441592 ]
Davanum Srinivas commented on WSCOMMONS-110:
--------------------------------------------
Arjen,
Do you have a quick patch that i can apply?
thanks,
dims
> 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
>
> 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