chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ioan LUPU (Created) (JIRA)" <>
Subject [jira] [Created] (CMIS-449) "rendition.getContentStream()" throws exception instead of returning null
Date Wed, 12 Oct 2011 20:15:13 GMT
"rendition.getContentStream()" throws exception instead of returning null

                 Key: CMIS-449
             Project: Chemistry
          Issue Type: Improvement
          Components: opencmis-client
    Affects Versions: OpenCMIS 0.5.0
            Reporter: Ioan LUPU
            Priority: Minor

Modified "GettingStarted":

- Added in the right place:

System.out.println("rendition.contentStream: " + rendition.getContentStream());

- Commented:

//              break; // Just show the first object with
//                     // renditions. Remove this
//                     // Break to show them all

- Console:

found  testNoContent of type Filethat has renditions...
kind: cmis:thumbnail	mimetype: image/gif	width: -1	height: -1	stream id: nx:icon
Exception in thread "main" org.apache.chemistry.opencmis.commons.exceptions.CmisConstraintException:
No content stream
	at org.apache.chemistry.opencmis.client.bindings.spi.atompub.ObjectServiceImpl.getContentStream(
	at org.apache.chemistry.opencmis.client.runtime.RenditionImpl.getContentStream(
	at xxx.test.GettingStarted.main(

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message