Expand my Community achievements bar.

Unable create a ditamap in AEM Guides

Avatar

Level 4

Hi,

We have setup the AEM environment Guides. With this recently created environment we are unable to create an ditamap with the below error.

 

08.07.2024 09:48:11.043 *INFO* [JobHandler: /var/workflow/instances/server0/2024-07-02_3/update_asset_148:/content/dam/broadcom/QA/test-ditamap-.ditamap/jcr:content/renditions/original] com.day.cq.dam.core.process.CommandLineProcess execute: mime type [application/xml] of asset [/content/dam/broadcom/QA/test-ditamap-.ditamap] is not in list of accepted mime types [[image/eps, image/x-eps, application/postscript, application/eps, application/x-eps]], ignoring.
08.07.2024 09:48:11.044 *INFO* [JobHandler: /var/workflow/instances/server0/2024-07-02_3/update_asset_148:/content/dam/broadcom/QA/test-ditamap-.ditamap/jcr:content/renditions/original] com.day.cq.dam.video.FFMpegTranscodeProcess execute: asset [/content/dam/broadcom/QA/test-ditamap-.ditamap] is not of a video mime type, asset ignored.
08.07.2024 09:48:11.047 *WARN* [JobHandler: /var/workflow/instances/server0/2024-07-02_3/update_asset_148:/content/dam/broadcom/QA/test-ditamap-.ditamap/jcr:content/renditions/original] com.day.cq.dam.core.impl.gfx.CommonsGfxRenderer gfx: cannot get image for rendition: /content/dam/broadcom/QA/test-ditamap-.ditamap/jcr:content/renditions/original
08.07.2024 09:48:11.047 *WARN* [JobHandler: /var/workflow/instances/server0/2024-07-02_3/update_asset_148:/content/dam/broadcom/QA/test-ditamap-.ditamap/jcr:content/renditions/original] com.day.cq.dam.core.impl.gfx.CommonsGfxRenderer gfx: cannot get image for rendition: /content/dam/broadcom/QA/test-ditamap-.ditamap/jcr:content/renditions/original
08.07.2024 09:48:11.047 *WARN* [JobHandler: /var/workflow/instances/server0/2024-07-02_3/update_asset_148:/content/dam/broadcom/QA/test-ditamap-.ditamap/jcr:content/renditions/original] com.day.cq.dam.core.impl.gfx.CommonsGfxRenderer gfx: cannot get image for rendition: /content/dam/broadcom/QA/test-ditamap-.ditamap/jcr:content/renditions/original
08.07.2024 09:48:11.051 *WARN* [JobHandler: /var/workflow/instances/server0/2024-07-02_3/update_asset_148:/content/dam/broadcom/QA/test-ditamap-.ditamap/jcr:content/renditions/original] com.day.cq.dam.core.impl.gfx.CommonsGfxRenderer gfx: cannot get image for rendition: /content/dam/broadcom/QA/test-ditamap-.ditamap/jcr:content/renditions/original
08.07.2024 09:48:11.053 *INFO* [3.110.71.81 [1720432090977] POST /bin/referencelistener HTTP/1.1] com.adobe.fmdita.profiles.ProfileService Cache is valid, will not Replenish the dita profiles
08.07.2024 09:48:11.054 *WARN* [3.110.71.81 [1720432090977] POST /bin/referencelistener HTTP/1.1] com.adobe.fmdita.uuid.ReferenceFactory No capturing group found No group with name <id>
08.07.2024 09:48:11.054 *WARN* [3.110.71.81 [1720432090977] POST /bin/referencelistener HTTP/1.1] com.adobe.fmdita.uuid.ReferenceFactory No capturing group found No group with name <id>
08.07.2024 09:48:11.054 *WARN* [3.110.71.81 [1720432090977] POST /bin/referencelistener HTTP/1.1] com.adobe.fmdita.uuid.ReferenceFactory No capturing group found No group with name <id>
08.07.2024 09:48:11.054 *INFO* [3.110.71.81 [1720432090977] POST /bin/referencelistener HTTP/1.1] com.adobe.fmdita.profiles.ProfileService Cache is valid, will not Replenish the dita profiles
08.07.2024 09:48:11.055 *WARN* [3.110.71.81 [1720432090977] POST /bin/referencelistener HTTP/1.1] com.adobe.fmdita.uuid.ReferenceFactory No capturing group found No group with name <id>
08.07.2024 09:48:11.055 *WARN* [3.110.71.81 [1720432090977] POST /bin/referencelistener HTTP/1.1] com.adobe.fmdita.uuid.ReferenceFactory No capturing group found No group with name <id>
08.07.2024 09:48:11.055 *WARN* [3.110.71.81 [1720432090977] POST /bin/referencelistener HTTP/1.1] com.adobe.fmdita.uuid.ReferenceFactory No capturing group found No group with name <id>
08.07.2024 09:48:11.055 *INFO* [3.110.71.81 [1720432090977] POST /bin/referencelistener HTTP/1.1] com.adobe.fmdita.profiles.ProfileService Cache is valid, will not Replenish the dita profiles
08.07.2024 09:48:11.057 *INFO* [JobHandler: /var/workflow/instances/server0/2024-07-02_3/update_asset_148:/content/dam/broadcom/QA/test-ditamap-.ditamap/jcr:content/renditions/original] com.adobe.fmdita.postprocess.PostProcessJobInitiator [POSTPROCESSING] Job being initialized for payload : /content/dam/broadcom/QA/test-ditamap-.ditamap/jcr:content/renditions/original and thread id : 3789
08.07.2024 09:48:11.059 *INFO* [JobHandler: /var/workflow/instances/server0/2024-07-02_3/update_asset_148:/content/dam/broadcom/QA/test-ditamap-.ditamap/jcr:content/renditions/original] com.adobe.fmdita.postprocess.PostProcessJobInitiator User to be used in post processing techdocs-2-admin 
08.07.2024 09:48:11.066 *WARN* [3.110.71.81 [1720432090977] POST /bin/referencelistener HTTP/1.1] com.adobe.fmdita.uuid.ReferenceFactory No capturing group found No group with name <id>
08.07.2024 09:48:11.066 *WARN* [3.110.71.81 [1720432090977] POST /bin/referencelistener HTTP/1.1] com.adobe.fmdita.uuid.ReferenceFactory No capturing group found No group with name <id>
08.07.2024 09:48:11.067 *WARN* [3.110.71.81 [1720432090977] POST /bin/referencelistener HTTP/1.1] com.adobe.fmdita.uuid.ReferenceFactory No capturing group found No group with name <id>
08.07.2024 09:48:11.067 *WARN* [3.110.71.81 [1720432090977] POST /bin/referencelistener HTTP/1.1] com.adobe.fmdita.uuid.ReferenceFactory No capturing group found No group with name <id>
08.07.2024 09:48:11.067 *WARN* [3.110.71.81 [1720432090977] POST /bin/referencelistener HTTP/1.1] com.adobe.fmdita.uuid.concrete.PathReference Unable to run getResourcePath() on source null str GUID-c377f4c6-0f6b-46c3-8225-b54be9dacd88 msg Source not set for GUID-c377f4c6-0f6b-46c3-8225-b54be9dacd88
08.07.2024 09:48:11.067 *WARN* [3.110.71.81 [1720432090977] POST /bin/referencelistener HTTP/1.1] com.adobe.fmdita.postprocess.ReferenceManagement Unable to get references for path /content/dam/dita-templates/maps/map.ditamap due to 
com.adobe.guides.core.exception.ApplicationException: Failed to get property in btree null
	at com.adobe.fmdita.postprocess.BTree.getProperty(BTree.java:95) [com.adobe.fmdita.utils:4.4.0]
	at com.adobe.fmdita.uuid.concrete.ReferenceCache.getReferences(ReferenceCache.java:73) [com.adobe.fmdita.utils:4.4.0]
	at com.adobe.fmdita.uuid.concrete.ReferenceCache.getForwardReferences(ReferenceCache.java:81) [com.adobe.fmdita.utils:4.4.0]
	at com.adobe.fmdita.uuid.concrete.JcrResource.getForwardReferences(JcrResource.java:145) [com.adobe.fmdita.utils:4.4.0]
	at com.adobe.fmdita.postprocess.ReferenceManagement.getRefs(ReferenceManagement.java:88) [com.adobe.fmdita.utils:4.4.0]
	at com.adobe.fmdita.postprocess.ReferenceManagement.getOutRefs(ReferenceManagement.java:113) [com.adobe.fmdita.utils:4.4.0]
	at com.adobe.fmdita.postprocess.ReferenceManagement.getOutRefs(ReferenceManagement.java:100) [com.adobe.fmdita.utils:4.4.0]
	at com.adobe.fmdita.link.LinkManager.getResolvedForwardRefs(LinkManager.java:630) [com.adobe.fmdita.utils:4.4.0]
	at com.adobe.fmdita.common.DependencyParser.bfsTraversal(DependencyParser.java:140) [com.adobe.fmdita.utils:4.4.0]
	at com.adobe.fmdita.common.DxmlUtilityService.getdependencies(DxmlUtilityService.java:90) [com.adobe.fmdita.utils:4.4.0]
	at com.adobe.fmdita.ditamaputils.MapTemplateInitialiser.generateDependencies(MapTemplateInitialiser.java:117) [com.adobe.fmdita.utils:4.4.0]
	at com.adobe.fmdita.ditamaputils.MapTemplateInitialiser.createMapWithDependencies(MapTemplateInitialiser.java:98) [com.adobe.fmdita.utils:4.4.0]
	at com.adobe.fmdita.versioncontrol.VersionUtils.createDitamap(VersionUtils.java:1312) [com.adobe.fmdita.xmleditor:4.4.0]
	at com.adobe.fmdita.versioncontrol.VersionUtils.doPost(VersionUtils.java:1274) [com.adobe.fmdita.xmleditor:4.4.0]
	at org.apache.sling.api.servlets.SlingAllMethodsServlet.mayService(SlingAllMethodsServlet.java:146) [org.apache.sling.api:2.22.0.B002]
	at org.apache.sling.api.servlets.SlingSafeMethodsServlet.service(SlingSafeMethodsServlet.java:342) [org.apache.sling.api:2.22.0.B002]
	at org.apache.sling.api.servlets.SlingSafeMethodsServlet.service(SlingSafeMethodsServlet.java:374) [org.apache.sling.api:2.22.0.B002]
	at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:579) [org.apache.sling.engine:2.7.10.B0004]
	at org.apache.sling.engine.impl.filter.SlingComponentFilterChain.render(SlingComponentFilterChain.java:45) [org.apache.sling.engine:2.7.10.B0004]
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:88) [org.apache.sling.engine:2.7.10.B0004]
	at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilter(WCMDebugFilter.java:138) [com.day.cq.wcm.cq-wcm-core:5.12.234]
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) [org.apache.sling.engine:2.7.10.B0004]
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:84) [org.apache.sling.engine:2.7.10.B0004]
	at com.day.cq.wcm.core.impl.WCMComponentFilter.filterRootInclude(WCMComponentFilter.java:375) [com.day.cq.wcm.cq-wcm-core:5.12.234]
	at com.day.cq.wcm.core.impl.WCMComponentFilter.doFilter(WCMComponentFilter.java:190) [com.day.cq.wcm.cq-wcm-core:5.12.234]
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) [org.apache.sling.engine:2.7.10.B0004]
	at com.day.cq.wcm.core.impl.page.PageLockFilter.doFilter(PageLockFilter.java:91) [com.day.cq.wcm.cq-wcm-core:5.12.234]
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) [org.apache.sling.engine:2.7.10.B0004]
	at com.day.cq.personalization.impl.TargetComponentFilter.doFilter(TargetComponentFilter.java:94) [com.day.cq.cq-personalization:5.12.48]
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) [org.apache.sling.engine:2.7.10.B0004]
	at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processComponent(SlingRequestProcessorImpl.java:283) [org.apache.sling.engine:2.7.10.B0004]
	at org.apache.sling.engine.impl.filter.RequestSlingFilterChain.render(RequestSlingFilterChain.java:49) [org.apache.sling.engine:2.7.10.B0004]
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:88) [org.apache.sling.engine:2.7.10.B0004]
	at com.day.cq.dam.core.impl.assetlinkshare.AdhocAssetShareAuthHandler.doFilter(AdhocAssetShareAuthHandler.java:440) [com.day.cq.dam.cq-dam-core:5.12.368]
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) [org.apache.sling.engine:2.7.10.B0004]
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:84) [org.apache.sling.engine:2.7.10.B0004]
	at com.day.cq.dam.core.impl.servlet.ActivityRecordHandler.doFilter(ActivityRecordHandler.java:141) [com.day.cq.dam.cq-dam-core:5.12.368]
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) [org.apache.sling.engine:2.7.10.B0004]
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:84) [org.apache.sling.engine:2.7.10.B0004]
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:84) [org.apache.sling.engine:2.7.10.B0004]
	at com.day.cq.wcm.core.impl.warp.TimeWarpFilter.doFilter(TimeWarpFilter.java:109) [com.day.cq.wcm.cq-wcm-core:5.12.234]
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) [org.apache.sling.engine:2.7.10.B0004]
	at com.adobe.cq.social.ugcbase.security.impl.SaferSlingPostServlet.doFilter(SaferSlingPostServlet.java:126) [com.adobe.cq.social.cq-social-ugcbase-impl:2.5.3]
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) [org.apache.sling.engine:2.7.10.B0004]
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:84) [org.apache.sling.engine:2.7.10.B0004]
	at com.adobe.granite.rest.impl.servlet.ApiResourceFilter.doFilter(ApiResourceFilter.java:70) [com.adobe.granite.rest.api:1.1.16.CQ650-B0005]
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) [org.apache.sling.engine:2.7.10.B0004]
	at com.adobe.granite.requests.logging.impl.RequestLoggerImpl.doFilter(RequestLoggerImpl.java:121) [com.adobe.granite.requests.logging:1.0.20]
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) [org.apache.sling.engine:2.7.10.B0004]
	at com.adobe.granite.rest.assets.impl.AssetContentDispositionFilter.doFilter(AssetContentDispositionFilter.java:96) [com.adobe.granite.rest.assets:1.0.58]
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) [org.apache.sling.engine:2.7.10.B0004]
	at com.day.cq.wcm.core.impl.AuthoringUIModeServiceImpl.doFilter(AuthoringUIModeServiceImpl.java:394) [com.day.cq.wcm.cq-wcm-core:5.12.234]
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) [org.apache.sling.engine:2.7.10.B0004]
	at com.day.cq.wcm.mobile.core.impl.redirect.RedirectFilter.doFilter(RedirectFilter.java:248) [com.day.cq.wcm.cq-wcm-mobile-core:5.11.10]
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) [org.apache.sling.engine:2.7.10.B0004]
	at broadcom.core.filters.LoggingFilter.doFilter(LoggingFilter.java:56)
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) [org.apache.sling.engine:2.7.10.B0004]
	at com.adobe.aem.dxml.tragopan.core.filters.LoggingFilter.doFilter(LoggingFilter.java:58) [aem-site-template-dxml.core:1.0.0]
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) [org.apache.sling.engine:2.7.10.B0004]
	at com.adobe.dxml.aem.components.core.filters.LoggingFilter.doFilter(LoggingFilter.java:58) [dxml-components.core:1.0.6]
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) [org.apache.sling.engine:2.7.10.B0004]
	at com.adobe.fmdita.loggers.CorrelationIdInjector.doFilter(CorrelationIdInjector.java:36) [com.adobe.fmdita.utils:4.4.0]
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) [org.apache.sling.engine:2.7.10.B0004]
	at com.adobe.fmdita.sling.filters.UUIDConverterFilter.doFilter(UUIDConverterFilter.java:110) [com.adobe.fmdita.publish-listener:4.4.0]
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) [org.apache.sling.engine:2.7.10.B0004]
	at org.apache.sling.engine.impl.debug.RequestProgressTrackerLogFilter.doFilter(RequestProgressTrackerLogFilter.java:110) [org.apache.sling.engine:2.7.10.B0004]
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) [org.apache.sling.engine:2.7.10.B0004]
	at com.adobe.cq.social.commons.cors.CORSAuthenticationFilter.doFilter(CORSAuthenticationFilter.java:91) [com.adobe.cq.social.cq-social-commons:1.10.87]
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) [org.apache.sling.engine:2.7.10.B0004]
	at com.day.cq.wcm.foundation.forms.FormsHandlingServletHelper.handleFilter(FormsHandlingServletHelper.java:226) [com.day.cq.wcm.cq-wcm-foundation:5.12.64]
	at com.day.cq.wcm.foundation.forms.impl.FormsHandlingServlet.doFilter(FormsHandlingServlet.java:138) [com.day.cq.wcm.cq-wcm-foundation:5.12.64]
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) [org.apache.sling.engine:2.7.10.B0004]
	at com.adobe.granite.optout.impl.OptOutFilter.doFilter(OptOutFilter.java:76) [com.adobe.granite.optout:1.0.0]
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) [org.apache.sling.engine:2.7.10.B0004]
	at com.day.cq.wcm.foundation.forms.FormsHandlingServletHelper.handleFilter(FormsHandlingServletHelper.java:226) [com.day.cq.wcm.cq-wcm-foundation:5.12.64]
	at com.adobe.cq.wcm.core.components.internal.servlets.CoreFormHandlingServlet.doFilter(CoreFormHandlingServlet.java:123) [com.adobe.cq.core.wcm.components.core:2.16.4]
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) [org.apache.sling.engine:2.7.10.B0004]
	at com.adobe.ams.environment.indicator.wcm.impl.AemEnvironmentIndicatorFilter$InnerEnvironmentIndicatorFilter.doFilter(AemEnvironmentIndicatorFilter.java:481) [com.adobe.ams.environment.indicator.bundle:1.0.2]
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) [org.apache.sling.engine:2.7.10.B0004]
	at com.day.cq.wcm.core.impl.WCMRequestFilter.doFilter(WCMRequestFilter.java:90) [com.day.cq.wcm.cq-wcm-core:5.12.234]
	at org.apache.sling.engine.impl.filter.AbstractSlingFilt  

 

9 Replies

Avatar

Level 4

The map creation is working for the some folders, but not for the some folder. Below is the console error 

Beaula123_0-1720450270558.png

 

Avatar

Level 4

Hi @Beaula123 ,

 

Could you try following these steps to make sure that you have valid paths in the document states?

 

  1. Navigate to Tools > Guides > Document States > Default Profile (or select the profile you are using) in the AEM interface.
  2. Ensure that a valid path is assigned for the document states. The default and recommended path is /content/dam.
  3. If the path is missing or incorrect, add or correct the path to /content/dam.
  4. Save the changes and attempt to create a ditamap again to confirm that the error has been resolved.

rkody_0-1720619138327.png

 

 

Avatar

Level 4

Hi @rkody , 

I verified this already and default profile configured correctly with the assigned path.

Avatar

Employee

@Beaula123 : to me it seems to be some issue with the template. Was this template ported from non-uuid server to uuid server? Or something similar like packaging the template from one environment to another?

I assume the issue is occurring with only specific map template. And if you create a new template and then use it to create new map - then the issue does not occur.

Avatar

Level 4

Hi @DivrajSingh ,

Thank you for the response. Yes we imported the templates from another environment. I tried with the new template and I see the same error.

 

16.07.2024 08:38:07.856 *WARN* [sling-threadpool-8deb12c7-2988-4d2b-8819-9f9d0d4a2180-(apache-sling-job-thread-pool)-25-DXML Post Processing Queue(com/adobe/dxml/postprocess)] com.adobe.fmdita.uuid.concrete.CORChain Error: Postprocessing for path /content/dam/broadcom/techdocs/CTP-Folder/new-dita-map-be1.ditamap failed
com.adobe.guides.core.exception.ApplicationException: Failed to execute cor chain in save
	at com.adobe.fmdita.uuid.concrete.CORSave.execute(CORSave.java:80) [com.adobe.fmdita.utils:4.4.0]
	at com.adobe.fmdita.uuid.concrete.CORDefaultPostProcess.execute(CORDefaultPostProcess.java:1) [com.adobe.fmdita.utils:4.4.0]
	at com.adobe.fmdita.uuid.concrete.CORDefaultPostProcess.goNext(CORDefaultPostProcess.java:43) [com.adobe.fmdita.utils:4.4.0]
	at com.adobe.fmdita.uuid.concrete.CORDefaultPostProcess.execute(CORDefaultPostProcess.java:25) [com.adobe.fmdita.utils:4.4.0]
	at com.adobe.fmdita.uuid.concrete.CORUuidGeneration.execute(CORUuidGeneration.java:35) [com.adobe.fmdita.utils:4.4.0]
	at com.adobe.fmdita.uuid.concrete.CORDefaultPostProcess.execute(CORDefaultPostProcess.java:1) [com.adobe.fmdita.utils:4.4.0]
	at com.adobe.fmdita.uuid.concrete.CORChain.execute(CORChain.java:40) [com.adobe.fmdita.utils:4.4.0]
	at com.adobe.fmdita.postprocess.PostProcess.runCORChain(PostProcess.java:400) [com.adobe.fmdita.utils:4.4.0]
	at com.adobe.fmdita.postprocess.PostProcess.createVersion(PostProcess.java:253) [com.adobe.fmdita.utils:4.4.0]
	at com.adobe.fmdita.postprocess.PostProcess.run(PostProcess.java:136) [com.adobe.fmdita.utils:4.4.0]
	at com.adobe.fmdita.postprocess.PostProcessJobConsumer.process(PostProcessJobConsumer.java:133) [com.adobe.fmdita.utils:4.4.0]
	at org.apache.sling.event.impl.jobs.JobConsumerManager$JobConsumerWrapper.process(JobConsumerManager.java:502) [org.apache.sling.event:4.2.24]
	at org.apache.sling.event.impl.jobs.queues.JobQueueImpl.startJob(JobQueueImpl.java:351) [org.apache.sling.event:4.2.24]
	at org.apache.sling.event.impl.jobs.queues.JobQueueImpl.access$100(JobQueueImpl.java:60) [org.apache.sling.event:4.2.24]
	at org.apache.sling.event.impl.jobs.queues.JobQueueImpl$1.run(JobQueueImpl.java:287) [org.apache.sling.event:4.2.24]
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: javax.jcr.InvalidItemStateException: OakState0001: Unresolved conflicts in /content/dam/broadcom/techdocs/CTP-Folder/new-dita-map-be1.ditamap/jcr:content
	at org.apache.jackrabbit.oak.api.CommitFailedException.asRepositoryException(CommitFailedException.java:238) [org.apache.jackrabbit.oak-api:1.22.16]
	at org.apache.jackrabbit.oak.api.CommitFailedException.asRepositoryException(CommitFailedException.java:213) [org.apache.jackrabbit.oak-api:1.22.16]
	at org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.newRepositoryException(SessionDelegate.java:669) [org.apache.jackrabbit.oak-jcr:1.22.16]
	at org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.save(SessionDelegate.java:495) [org.apache.jackrabbit.oak-jcr:1.22.16]
	at org.apache.jackrabbit.oak.jcr.session.SessionImpl$9.performVoid(SessionImpl.java:453) [org.apache.jackrabbit.oak-jcr:1.22.16]
	at org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.performVoid(SessionDelegate.java:273) [org.apache.jackrabbit.oak-jcr:1.22.16]
	at org.apache.jackrabbit.oak.jcr.session.SessionImpl.save(SessionImpl.java:450) [org.apache.jackrabbit.oak-jcr:1.22.16]
	at com.adobe.granite.repository.impl.CRX3SessionImpl.save(CRX3SessionImpl.java:208) [com.adobe.granite.repository:1.6.28.CQ650-B0001]
	at com.adobe.fmdita.uuid.CORPostProcessPOJO.saveAllSession(CORPostProcessPOJO.java:166) [com.adobe.fmdita.utils:4.4.0]
	at com.adobe.fmdita.uuid.concrete.CORSave.execute(CORSave.java:74) [com.adobe.fmdita.utils:4.4.0]
	... 17 common frames omitted
Caused by: org.apache.jackrabbit.oak.api.CommitFailedException: OakState0001: Unresolved conflicts in /content/dam/broadcom/techdocs/CTP-Folder/new-dita-map-be1.ditamap/jcr:content
	at org.apache.jackrabbit.oak.plugins.commit.ConflictValidator.failOnMergeConflict(ConflictValidator.java:115) [org.apache.jackrabbit.oak-core:1.22.16]
	at org.apache.jackrabbit.oak.plugins.commit.ConflictValidator.propertyChanged(ConflictValidator.java:90) [org.apache.jackrabbit.oak-core:1.22.16]
	at org.apache.jackrabbit.oak.spi.commit.CompositeEditor.propertyChanged(CompositeEditor.java:90) [org.apache.jackrabbit.oak-store-spi:1.22.16]

Avatar

Level 4

@DivrajSingh ,

 

We have multiple running workflow instances the DAM Update Asset workflow. Is there any chance running workflows will cause this issue?

 

Beaula123_0-1721126009226.png

 

Avatar

Employee

@Beaula123 : are these workflows stuck? And are they running on the same ditamap asset that threw error?

When you created the new ditamap template - did you use an existing template or created new from scratch?

Avatar

Employee

@Beaula123 : as we understood the issue was happening for the files that were pushed by a migration script which loaded bulk of assets and a concurrent edit operation was triggered for those files while their processing did not complete yet.

Recommendation was to batch the uploads with a delay between each batch and avoid immediate modification of files that are uploaded with a delay between upload and programmatic modification operation

Avatar

Administrator

@Beaula123 Did you find the suggestion helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!



Kautuk Sahni