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 | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    CmisVersioningException when calling setContentStream two times in a row

    GitHub | 8 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