Expand my Community achievements bar.

SOLVED

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

Avatar

Level 4

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.

 

ayush804_0-1685086758962.png

 

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]

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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.htm...

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


Aanchal Sikka

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

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.htm...

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


Aanchal Sikka