Expand my Community achievements bar.

Error in workflow rendition creation

Avatar

Level 4

Hi All,

Facing below error when creating workflow renditions in aem publish instance.

Issue Background: Renditions are not creating when assets are uploaded in publish instance using a script, have tried to enable OOTB inbuilt launcher etc.. since it didnt work so delete DAM Update Asset workflow model from publish instance and reinstalled the model package from there we are facing below issue.

Have tried this, but no luck "Cannot read workflow model" error after AEM migration

31.07.2019 04:39:23.266 *INFO* [10.212.82.132 [1564547963243] POST /bin/receive HTTP/1.1] com.day.cq.replication.impl.servlets.ReplicationServlet Processed replication action in 22ms: ACTIVATE of /content/dam/test/ttest/logo.jpg/jcr:content/related

31.07.2019 04:39:23.282 *ERROR* [Workflow Starter Thread] com.adobe.granite.workflow.core.jcr.WorkflowModelManager Failed to check for the existance of a overlaid workflow model with ID , continuing with original model ID

javax.jcr.RepositoryException: Not an absolute path:

at org.apache.jackrabbit.oak.jcr.session.SessionImpl.getOakPathOrThrow(SessionImpl.java:152) [org.apache.jackrabbit.oak-jcr:1.8.11]

at org.apache.jackrabbit.oak.jcr.session.SessionImpl.access$100(SessionImpl.java:82) [org.apache.jackrabbit.oak-jcr:1.8.11]

at org.apache.jackrabbit.oak.jcr.session.SessionImpl$1.performNullable(SessionImpl.java:186) [org.apache.jackrabbit.oak-jcr:1.8.11]

at org.apache.jackrabbit.oak.jcr.session.SessionImpl$1.performNullable(SessionImpl.java:182) [org.apache.jackrabbit.oak-jcr:1.8.11]

at org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.performNullable(SessionDelegate.java:242) [org.apache.jackrabbit.oak-jcr:1.8.11]

at org.apache.jackrabbit.oak.jcr.session.SessionImpl.getNodeOrNull(SessionImpl.java:182) [org.apache.jackrabbit.oak-jcr:1.8.11]

at org.apache.jackrabbit.oak.jcr.session.SessionImpl.nodeExists(SessionImpl.java:313) [org.apache.jackrabbit.oak-jcr:1.8.11]

at com.adobe.granite.repository.impl.CRX3SessionImpl.nodeExists(CRX3SessionImpl.java:188) [com.adobe.granite.repository:1.4.90]

at com.adobe.granite.workflow.core.jcr.WorkflowModelManager.getOverlayModelId(WorkflowModelManager.java:394) [com.adobe.granite.workflow.core:2.0.168.CQ640-B0007]

at com.adobe.granite.workflow.core.jcr.WorkflowModelManager.getWorkflowModel(WorkflowModelManager.java:418) [com.adobe.granite.workflow.core:2.0.168.CQ640-B0007]

at com.adobe.granite.workflow.core.WorkflowSessionImpl.getCachedModel(WorkflowSessionImpl.java:493) [com.adobe.granite.workflow.core:2.0.168.CQ640-B0007]

at com.adobe.granite.workflow.core.launcher.WorkflowLauncherListener.startWorkflow(WorkflowLauncherListener.java:1162) [com.adobe.granite.workflow.core:2.0.168.CQ640-B0007]

at com.adobe.granite.workflow.core.launcher.WorkflowLauncherListener.executeWorkflows(WorkflowLauncherListener.java:759) [com.adobe.granite.workflow.core:2.0.168.CQ640-B0007]

at com.adobe.granite.workflow.core.launcher.WorkflowLauncherListener.run(WorkflowLauncherListener.java:523) [com.adobe.granite.workflow.core:2.0.168.CQ640-B0007]

at java.lang.Thread.run(Thread.java:748)

31.07.2019 04:39:23.283 *WARN* [Workflow Starter Thread] com.adobe.granite.workflow.core.launcher.WorkflowLauncherListener Unable to load workflow model with id:

com.adobe.granite.workflow.WorkflowException: Cannot read workflow model from node:

at com.adobe.granite.workflow.core.jcr.WorkflowModelManager.getWorkflowModel(WorkflowModelManager.java:428) [com.adobe.granite.workflow.core:2.0.168.CQ640-B0007]

at com.adobe.granite.workflow.core.WorkflowSessionImpl.getCachedModel(WorkflowSessionImpl.java:493) [com.adobe.granite.workflow.core:2.0.168.CQ640-B0007]

at com.adobe.granite.workflow.core.launcher.WorkflowLauncherListener.startWorkflow(WorkflowLauncherListener.java:1162) [com.adobe.granite.workflow.core:2.0.168.CQ640-B0007]

at com.adobe.granite.workflow.core.launcher.WorkflowLauncherListener.executeWorkflows(WorkflowLauncherListener.java:759) [com.adobe.granite.workflow.core:2.0.168.CQ640-B0007]

at com.adobe.granite.workflow.core.launcher.WorkflowLauncherListener.run(WorkflowLauncherListener.java:523) [com.adobe.granite.workflow.core:2.0.168.CQ640-B0007]

at java.lang.Thread.run(Thread.java:748)

Caused by: javax.jcr.RepositoryException: Not an absolute path:

at org.apache.jackrabbit.oak.jcr.session.SessionImpl.getOakPathOrThrow(SessionImpl.java:152) [org.apache.jackrabbit.oak-jcr:1.8.11]

at org.apache.jackrabbit.oak.jcr.session.SessionImpl.access$100(SessionImpl.java:82) [org.apache.jackrabbit.oak-jcr:1.8.11]

at org.apache.jackrabbit.oak.jcr.session.SessionImpl$3.performNullable(SessionImpl.java:229) [org.apache.jackrabbit.oak-jcr:1.8.11]

at org.apache.jackrabbit.oak.jcr.session.SessionImpl$3.performNullable(SessionImpl.java:226) [org.apache.jackrabbit.oak-jcr:1.8.11]

at org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.performNullable(SessionDelegate.java:242) [org.apache.jackrabbit.oak-jcr:1.8.11]

at org.apache.jackrabbit.oak.jcr.session.SessionImpl.getItemOrNull(SessionImpl.java:226) [org.apache.jackrabbit.oak-jcr:1.8.11]

at org.apache.jackrabbit.oak.jcr.session.SessionImpl.itemExists(SessionImpl.java:369) [org.apache.jackrabbit.oak-jcr:1.8.11]

at com.adobe.granite.repository.impl.CRX3SessionImpl.itemExists(CRX3SessionImpl.java:183) [com.adobe.granite.repository:1.4.90]

at com.adobe.granite.workflow.core.jcr.WorkflowModelManager.getWorkflowModel(WorkflowModelManager.java:420) [com.adobe.granite.workflow.core:2.0.168.CQ640-B0007]

... 5 common frames omitted

31.07.2019 04:39:23.283 *ERROR* [Workflow Starter Thread] com.adobe.granite.workflow.core.jcr.WorkflowModelManager Failed to check for the existance of a overlaid workflow model with ID , continuing with original model ID

javax.jcr.RepositoryException: Not an absolute path:

at org.apache.jackrabbit.oak.jcr.session.SessionImpl.getOakPathOrThrow(SessionImpl.java:152) [org.apache.jackrabbit.oak-jcr:1.8.11]

at org.apache.jackrabbit.oak.jcr.session.SessionImpl.access$100(SessionImpl.java:82) [org.apache.jackrabbit.oak-jcr:1.8.11]

at org.apache.jackrabbit.oak.jcr.session.SessionImpl$1.performNullable(SessionImpl.java:186) [org.apache.jackrabbit.oak-jcr:1.8.11]

at org.apache.jackrabbit.oak.jcr.session.SessionImpl$1.performNullable(SessionImpl.java:182) [org.apache.jackrabbit.oak-jcr:1.8.11]

at org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.performNullable(SessionDelegate.java:242) [org.apache.jackrabbit.oak-jcr:1.8.11]

at org.apache.jackrabbit.oak.jcr.session.SessionImpl.getNodeOrNull(SessionImpl.java:182) [org.apache.jackrabbit.oak-jcr:1.8.11]

at org.apache.jackrabbit.oak.jcr.session.SessionImpl.nodeExists(SessionImpl.java:313) [org.apache.jackrabbit.oak-jcr:1.8.11]

at com.adobe.granite.repository.impl.CRX3SessionImpl.nodeExists(CRX3SessionImpl.java:188) [com.adobe.granite.repository:1.4.90]

at com.adobe.granite.workflow.core.jcr.WorkflowModelManager.getOverlayModelId(WorkflowModelManager.java:394) [com.adobe.granite.workflow.core:2.0.168.CQ640-B0007]

at com.adobe.granite.workflow.core.jcr.WorkflowModelManager.getWorkflowModel(WorkflowModelManager.java:418) [com.adobe.granite.workflow.core:2.0.168.CQ640-B0007]

at com.adobe.granite.workflow.core.WorkflowSessionImpl.getCachedModel(WorkflowSessionImpl.java:493) [com.adobe.granite.workflow.core:2.0.168.CQ640-B0007]

at com.adobe.granite.workflow.core.launcher.WorkflowLauncherListener.startWorkflow(WorkflowLauncherListener.java:1162) [com.adobe.granite.workflow.core:2.0.168.CQ640-B0007]

at com.adobe.granite.workflow.core.launcher.WorkflowLauncherListener.executeWorkflows(WorkflowLauncherListener.java:759) [com.adobe.granite.workflow.core:2.0.168.CQ640-B0007]

at com.adobe.granite.workflow.core.launcher.WorkflowLauncherListener.run(WorkflowLauncherListener.java:523) [com.adobe.granite.workflow.core:2.0.168.CQ640-B0007]

at java.lang.Thread.run(Thread.java:748)

31.07.2019 04:39:23.283 *WARN* [Workflow Starter Thread] com.adobe.granite.workflow.core.launcher.WorkflowLauncherListener Unable to load workflow model with id:

com.adobe.granite.workflow.WorkflowException: Cannot read workflow model from node:

at com.adobe.granite.workflow.core.jcr.WorkflowModelManager.getWorkflowModel(WorkflowModelManager.java:428) [com.adobe.granite.workflow.core:2.0.168.CQ640-B0007]

at com.adobe.granite.workflow.core.WorkflowSessionImpl.getCachedModel(WorkflowSessionImpl.java:493) [com.adobe.granite.workflow.core:2.0.168.CQ640-B0007]

at com.adobe.granite.workflow.core.launcher.WorkflowLauncherListener.startWorkflow(WorkflowLauncherListener.java:1162) [com.adobe.granite.workflow.core:2.0.168.CQ640-B0007]

at com.adobe.granite.workflow.core.launcher.WorkflowLauncherListener.executeWorkflows(WorkflowLauncherListener.java:759) [com.adobe.granite.workflow.core:2.0.168.CQ640-B0007]

at com.adobe.granite.workflow.core.launcher.WorkflowLauncherListener.run(WorkflowLauncherListener.java:523) [com.adobe.granite.workflow.core:2.0.168.CQ640-B0007]

at java.lang.Thread.run(Thread.java:748)

Caused by: javax.jcr.RepositoryException: Not an absolute path:

at org.apache.jackrabbit.oak.jcr.session.SessionImpl.getOakPathOrThrow(SessionImpl.java:152) [org.apache.jackrabbit.oak-jcr:1.8.11]

at org.apache.jackrabbit.oak.jcr.session.SessionImpl.access$100(SessionImpl.java:82) [org.apache.jackrabbit.oak-jcr:1.8.11]

at org.apache.jackrabbit.oak.jcr.session.SessionImpl$3.performNullable(SessionImpl.java:229) [org.apache.jackrabbit.oak-jcr:1.8.11]

at org.apache.jackrabbit.oak.jcr.session.SessionImpl$3.performNullable(SessionImpl.java:226) [org.apache.jackrabbit.oak-jcr:1.8.11]

at org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.performNullable(SessionDelegate.java:242) [org.apache.jackrabbit.oak-jcr:1.8.11]

at org.apache.jackrabbit.oak.jcr.session.SessionImpl.getItemOrNull(SessionImpl.java:226) [org.apache.jackrabbit.oak-jcr:1.8.11]

at org.apache.jackrabbit.oak.jcr.session.SessionImpl.itemExists(SessionImpl.java:369) [org.apache.jackrabbit.oak-jcr:1.8.11]

at com.adobe.granite.repository.impl.CRX3SessionImpl.itemExists(CRX3SessionImpl.java:183) [com.adobe.granite.repository:1.4.90]

at com.adobe.granite.workflow.core.jcr.WorkflowModelManager.getWorkflowModel(WorkflowModelManager.java:420) [com.adobe.granite.workflow.core:2.0.168.CQ640-B0007]

... 5 common frames omitted

31.07.2019 04:39:23.352 *INFO* [10.212.82.132 [1564547963342] POST /bin/receive HTTP/1.1] com.day.cq.replication.impl.content.durbo.DurboImporter imported content in 8ms for durbo request on path: /content/dam/test/ttest/logo.jpg/jcr:content/metadata

31.07.2019 04:39:23.355 *INFO* [10.212.82.132 [1564547963342] POST /bin/receive HTTP/1.1] com.day.cq.replication.impl.servlets.ReplicationServlet Processed replication action in 12ms: ACTIVATE of /content/dam/test/ttest/logo.jpg/jcr:content/metadata

31.07.2019 04:39:23.371 *ERROR* [Workflow Starter Thread] com.adobe.granite.workflow.core.jcr.WorkflowModelManager Failed to check for the existance of a overlaid workflow model with ID , continuing with original model ID

javax.jcr.RepositoryException: Not an absolute path:

at org.apache.jackrabbit.oak.jcr.session.SessionImpl.getOakPathOrThrow(SessionImpl.java:152) [org.apache.jackrabbit.oak-jcr:1.8.11]

at org.apache.jackrabbit.oak.jcr.session.SessionImpl.access$100(SessionImpl.java:82) [org.apache.jackrabbit.oak-jcr:1.8.11]

at org.apache.jackrabbit.oak.jcr.session.SessionImpl$1.performNullable(SessionImpl.java:186) [org.apache.jackrabbit.oak-jcr:1.8.11]

at org.apache.jackrabbit.oak.jcr.session.SessionImpl$1.performNullable(SessionImpl.java:182) [org.apache.jackrabbit.oak-jcr:1.8.11]

at org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.performNullable(SessionDelegate.java:242) [org.apache.jackrabbit.oak-jcr:1.8.11]

at org.apache.jackrabbit.oak.jcr.session.SessionImpl.getNodeOrNull(SessionImpl.java:182) [org.apache.jackrabbit.oak-jcr:1.8.11]

at org.apache.jackrabbit.oak.jcr.session.SessionImpl.nodeExists(SessionImpl.java:313) [org.apache.jackrabbit.oak-jcr:1.8.11]

at com.adobe.granite.repository.impl.CRX3SessionImpl.nodeExists(CRX3SessionImpl.java:188) [com.adobe.granite.repository:1.4.90]

at com.adobe.granite.workflow.core.jcr.WorkflowModelManager.getOverlayModelId(WorkflowModelManager.java:394) [com.adobe.granite.workflow.core:2.0.168.CQ640-B0007]

at com.adobe.granite.workflow.core.jcr.WorkflowModelManager.getWorkflowModel(WorkflowModelManager.java:418) [com.adobe.granite.workflow.core:2.0.168.CQ640-B0007]

at com.adobe.granite.workflow.core.WorkflowSessionImpl.getCachedModel(WorkflowSessionImpl.java:493) [com.adobe.granite.workflow.core:2.0.168.CQ640-B0007]

at com.adobe.granite.workflow.core.launcher.WorkflowLauncherListener.startWorkflow(WorkflowLauncherListener.java:1162) [com.adobe.granite.workflow.core:2.0.168.CQ640-B0007]

at com.adobe.granite.workflow.core.launcher.WorkflowLauncherListener.executeWorkflows(WorkflowLauncherListener.java:759) [com.adobe.granite.workflow.core:2.0.168.CQ640-B0007]

at com.adobe.granite.workflow.core.launcher.WorkflowLauncherListener.run(WorkflowLauncherListener.java:523) [com.adobe.granite.workflow.core:2.0.168.CQ640-B0007]

at java.lang.Thread.run(Thread.java:748)

Thanks in advance!

2 Replies

Avatar

Employee

Hello,

What is the filter path for the package that you uploaded?

Have you overridden the OOTB Dam Update workflow model?

If yes, then check if the model exists under /conf/global/settings/workflow/models

Also, confirm if the model exists correctly under path /var/workflow/models.

Regards,

Vishu

Avatar

Level 4

No, i didn't override the workflow. It worked after restarting the instance.

Note: After i restart the instance all pending workflows came to processing state then i aborted the all processing state workflows, from their it started working.