Third-party cloud asset import not generating renditions. OakState0001: Unresolved conflicts error | Community
Skip to main content
ayush-anand
Level 4
May 26, 2023
Solved

Third-party cloud asset import not generating renditions. OakState0001: Unresolved conflicts error

  • May 26, 2023
  • 2 replies
  • 780 views

We have integrated third party cloud asset import in AEMaaCS, as soon as the image sync happens, the image is imported but renditions are not generated for the same.

 

 

Logs:

com.day.cq.dam.api.AssetManager Stack Trace:
javax.jcr.InvalidItemStateException: OakState0001: Unresolved conflicts in /content/dam/image
at org.apache.jackrabbit.oak.api.CommitFailedException.asRepositoryException(CommitFailedException.java:238) [org.apache.jackrabbit.oak-api:1.48.0.T20230202132234-aa49252]
at org.apache.jackrabbit.oak.api.CommitFailedException.asRepositoryException(CommitFailedException.java:213) [org.apache.jackrabbit.oak-api:1.48.0.T20230202132234-aa49252]
at org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.newRepositoryException(SessionDelegate.java:737) [org.apache.jackrabbit.oak-jcr:1.48.0.T20230202132234-aa49252]
at org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.save(SessionDelegate.java:551) [org.apache.jackrabbit.oak-jcr:1.48.0.T20230202132234-aa49252]
at org.apache.jackrabbit.oak.jcr.session.SessionImpl$9.performVoid(SessionImpl.java:457) [org.apache.jackrabbit.oak-jcr:1.48.0.T20230202132234-aa49252]
at org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.performVoid(SessionDelegate.java:299) [org.apache.jackrabbit.oak-jcr:1.48.0.T20230202132234-aa49252]
at org.apache.jackrabbit.oak.jcr.session.SessionImpl.save(SessionImpl.java:454) [org.apache.jackrabbit.oak-jcr:1.48.0.T20230202132234-aa49252]
at com.adobe.granite.repository.impl.CRX3SessionImpl.save(CRX3SessionImpl.java:220) [com.adobe.granite.repository:1.8.70]
at com.day.cq.dam.core.impl.AssetManagerImpl.createOrUpdateAsset(AssetManagerImpl.java:341) [com.day.cq.dam.cq-dam-core:5.13.498]
at com.day.cq.dam.core.impl.AssetManagerImpl.createOrUpdateAsset(AssetManagerImpl.java:260) [com.day.cq.dam.cq-dam-core:5.13.498]
at com.day.cq.dam.core.impl.AssetManagerImpl.createAsset(AssetManagerImpl.java:247) [com.day.cq.dam.cq-dam-core:5.13.498]

Best answer by aanchal-sikka

The error message "OakState0001: Unresolved conflicts" in Adobe Experience Manager (AEM) indicates that there are conflicts in the repository's Oak state. It's a common error when we have Bulk imports scenarios. Possible causes:

- This usually occurs when there are conflicting changes made to the content repository by multiple users or processes.

- If we have used long running sessions.

 

Solution: Please refer to the following links:

https://helpx.adobe.com/in/experience-manager/kb/how-to-find-conflicts-when-getting-oakstate0001.html

https://cqdump.joerghoh.de/2015/11/02/aem-anti-pattern-long-running-sessions/ 

2 replies

Community Advisor
May 26, 2023
aanchal-sikka
Community Advisor
aanchal-sikkaCommunity AdvisorAccepted solution
Community Advisor
May 26, 2023

The error message "OakState0001: Unresolved conflicts" in Adobe Experience Manager (AEM) indicates that there are conflicts in the repository's Oak state. It's a common error when we have Bulk imports scenarios. Possible causes:

- This usually occurs when there are conflicting changes made to the content repository by multiple users or processes.

- If we have used long running sessions.

 

Solution: Please refer to the following links:

https://helpx.adobe.com/in/experience-manager/kb/how-to-find-conflicts-when-getting-oakstate0001.html

https://cqdump.joerghoh.de/2015/11/02/aem-anti-pattern-long-running-sessions/ 

Aanchal Sikka