Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
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.