cancel
Showing results for 
Search instead for 
Did you mean: 

org.apache.chemistry.opencmis.commons.exceptions.CmisStorageException: Expected xxx bytes but retrieved 0bytes

bbwang
Champ in-the-making
Champ in-the-making
This is happening while checking in new version using OpenCMIS API.  It is random.  Anyone has any similar issues?

org.apache.chemistry.opencmis.commons.exceptions.CmisStorageException: Expected 52180 bytes but retrieved 0bytes!
                at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.convertStatusCode(AbstractAtomPubService.java:450)
                at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.put(AbstractAtomPubService.java:595)
                at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.put(AbstractAtomPubService.java:581)
                at org.apache.chemistry.opencmis.client.bindings.spi.atompub.VersioningServiceImpl.checkIn(VersioningServiceImpl.java:179)
                at org.apache.chemistry.opencmis.client.runtime.DocumentImpl.checkIn(DocumentImpl.java:201)
                at org.alfresco.cmis.client.impl.AlfrescoDocumentImpl.checkIn(AlfrescoDocumentImpl.java:81)
                at org.apache.chemistry.opencmis.client.runtime.DocumentImpl.checkIn(DocumentImpl.java:411)
3 REPLIES 3

jpotts
World-Class Innovator
World-Class Innovator
Is this Alfresco in the Cloud or on-premise? If on-premise, what version of Alfresco specifically? And what version of OpenCMIS are you using?

Jeff

bbwang
Champ in-the-making
Champ in-the-making
on-premise.  We are using Alfresco Enterprise 4.1.1 and chemistry OpenCMIS 0.8.0

bbwang
Champ in-the-making
Champ in-the-making
Jeff, Any idea why this error might happen?

-Bill