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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to