I am facing below issue with CMIS v1.1. It is random issue and coming with
Document org.apache.chemistry.opencmis.client.api.Folder.createDocument() API.
org.apache.chemistry.opencmis.commons.exceptions.CmisStorageException: Expected 1910037 bytes but retrieved 0 bytes!
I am using chemistry OpenCMIS 0.10.0 jar.
I am also specifying content stream length as below
contentStream = new ContentStreamImpl(file.getAbsolutePath(), BigInteger.valueOf(bytes.length), mimeType,
new ByteArrayInputStream(bytes));
Immediate help will be appreciated.
Thanks,
Diksha