You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "Florent Guillaume (JIRA)" <ji...@apache.org> on 2010/03/12 13:21:27 UTC
[jira] Resolved: (CMIS-156) AtomPub media type generation may fail
on invalid MIME types
[ https://issues.apache.org/jira/browse/CMIS-156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Florent Guillaume resolved CMIS-156.
------------------------------------
Resolution: Fixed
Fixed.
http://svn.apache.org/viewvc?rev=922231&view=rev
> AtomPub media type generation may fail on invalid MIME types
> ------------------------------------------------------------
>
> Key: CMIS-156
> URL: https://issues.apache.org/jira/browse/CMIS-156
> Project: Chemistry
> Issue Type: Bug
> Components: chemistry-atompub, chemistry-server
> Reporter: Florent Guillaume
> Assignee: Florent Guillaume
> Priority: Minor
>
> Stack trace:
> Caused by: org.apache.abdera.util.MimeTypeParseException: javax.activation.MimeTypeParseException: Unable to find a sub type.
> at org.apache.abdera.parser.stax.FOMEntry.setContent(FOMEntry.java:322)
> at org.apache.chemistry.atompub.server.CMISObjectsCollection.addMediaContent(CMISObjectsCollection.java:742)
> at org.apache.chemistry.atompub.server.CMISChildrenCollection.addFeedDetails(CMISChildrenCollection.java:203)
> at org.apache.chemistry.atompub.server.CMISChildrenCollection.getFeed(CMISChildrenCollection.java:87)
> at org.apache.chemistry.atompub.server.jaxrs.AbderaResource.getAbderaFeed(AbderaResource.java:204)
> at org.apache.chemistry.atompub.server.jaxrs.AbderaResource.doGetChildren(AbderaResource.java:286)
> ...
> Caused by: javax.activation.MimeTypeParseException: Unable to find a sub type.
> at javax.activation.MimeType.parse(MimeType.java:87)
> at javax.activation.MimeType.<init>(MimeType.java:48)
> at org.apache.abdera.parser.stax.FOMEntry.setContent(FOMEntry.java:317)
> This happens if the cmis:contentStreamMimeType of the document is invalid and cannot be parsed.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.