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 "Andreas Veithen (JIRA)" <ji...@apache.org> on 2009/06/30 00:10:47 UTC

[jira] Resolved: (WSCOMMONS-483) provide help how to find a datahandler when you see "Cannot get InputStream from DataHandler.javax.activation.UnsupportedDataTypeException: no object DCH for MIME type ..."

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

Andreas Veithen resolved WSCOMMONS-483.
---------------------------------------

    Resolution: Fixed

Fixed the LLOM and DOOM implementations of OMText to properly use exception chaining.

> provide help how to find a datahandler when you see "Cannot get InputStream from DataHandler.javax.activation.UnsupportedDataTypeException: no object DCH for MIME type ..."
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: WSCOMMONS-483
>                 URL: https://issues.apache.org/jira/browse/WSCOMMONS-483
>             Project: WS-Commons
>          Issue Type: Improvement
>          Components: AXIOM
>    Affects Versions: Axiom 1.2.8
>         Environment: sun-jdk1.5, vista
>            Reporter: Ralf Hauser
>            Assignee: Andreas Veithen
>            Priority: Minor
>             Fix For: Axiom 1.2.9
>
>         Attachments: WSCOMMONS-483-patch.txt
>
>
> When trying to send a axis client request, I get
> org.apache.axiom.om.OMException: Cannot get InputStream from DataHandler.javax.activation.UnsupportedDataTypeException: no object DCH for MIME type application/octet-stream
> 	at org.apache.axiom.om.impl.llom.OMTextImpl.getInputStream(OMTextImpl.java:389)
> 	at org.apache.axiom.om.impl.llom.OMTextImpl.getText(OMTextImpl.java:269)
> 	at org.apache.axiom.om.impl.llom.OMTextImpl.writeOutput(OMTextImpl.java:255)
> 	at org.apache.axiom.om.impl.llom.OMTextImpl.internalSerializeLocal(OMTextImpl.java:433)
> it would be great to 
> 1) keep the stack-trace of the underlying exception
> 2) provide hints on whether there ere any mime-types a DCH was availalble for if any. Any yes, which
> 3) background-info on the commandMap to typically retrieve that from...

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