org.apache.chemistry.opencmis.commons.exceptions.CmisVersioningException: The operation is not allowed on a non-current version of a document [cmis:objectId = fb4640f91aedea7932321219fef9afab]

GitHub | nicolas-raoul | 5 months ago
  1. 0

    CmisVersioningException when calling setContentStream two times in a row

    GitHub | 5 months ago | nicolas-raoul
    org.apache.chemistry.opencmis.commons.exceptions.CmisVersioningException: The operation is not allowed on a non-current version of a document [cmis:objectId = fb4640f91aedea7932321219fef9afab]

    Root Cause Analysis

    1. org.apache.chemistry.opencmis.commons.exceptions.CmisVersioningException

      The operation is not allowed on a non-current version of a document [cmis:objectId = fb4640f91aedea7932321219fef9afab]

      at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.convertStatusCode()
    2. OpenCMIS Client Bindings Implementation
      ObjectServiceImpl.setContentStream
      1. org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.convertStatusCode(AbstractAtomPubService.java:508)
      2. org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.put(AbstractAtomPubService.java:750)
      3. org.apache.chemistry.opencmis.client.bindings.spi.atompub.ObjectServiceImpl.setOrAppendContent(ObjectServiceImpl.java:859)
      4. org.apache.chemistry.opencmis.client.bindings.spi.atompub.ObjectServiceImpl.setContentStream(ObjectServiceImpl.java:739)
      4 frames
    3. OpenCMIS Client Implementation
      DocumentImpl.setContentStream
      1. org.apache.chemistry.opencmis.client.runtime.DocumentImpl.setContentStream(DocumentImpl.java:459)
      2. org.apache.chemistry.opencmis.client.runtime.DocumentImpl.setContentStream(DocumentImpl.java:438)
      2 frames
    4. Unknown
      Main.main
      1. Main.main(Main.java:54)
      1 frame