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.