Email Download Artifacts OOTB Workflow Model
Hi Team,
We are using OOTB Email Download Artifacts workflow model in our Assets and observed workflow instance is long running and not completed. From error logs we are seeing "Download Id must not be null".
07.12.2022 18:38:35.214 *ERROR* [sling-threadpool-253fff3f-c477-48a8-a28b-c3a512bbd752-(apache-sling-job-thread-pool)-22-Granite Workflow External Process Job Queue(com/adobe/granite/workflow/external/job/var/workflow/models/dam/email-download-artifacts)] com.adobe.granite.workflow.core.job.ExternalProcessJobHandler Unable to load progress of download 'null' as user 'admin' : Error inflating progress of download 'null' : Download id must not be null
com.adobe.granite.workflow.WorkflowException: Unable to load progress of download 'null' as user 'admin' : Error inflating progress of download 'null' : Download id must not be null
at com.adobe.cq.dam.download.impl.email.EmailDownloadArtifactsProcess.execute(EmailDownloadArtifactsProcess.java:132) [com.day.cq.dam.cq-dam-download:1.0.98]
at com.adobe.granite.workflow.core.job.ExternalProcessJobHandler.process(ExternalProcessJobHandler.java:149) [com.adobe.granite.workflow.core:2.1.80]
at org.apache.sling.event.impl.jobs.JobConsumerManager$JobConsumerWrapper.process(JobConsumerManager.java:502) [org.apache.sling.event:4.3.6]
at org.apache.sling.event.impl.jobs.queues.JobQueueImpl.startJob(JobQueueImpl.java:351) [org.apache.sling.event:4.3.6]
at org.apache.sling.event.impl.jobs.queues.JobQueueImpl.access$100(JobQueueImpl.java:60) [org.apache.sling.event:4.3.6]
at org.apache.sling.event.impl.jobs.queues.JobQueueImpl$1.run(JobQueueImpl.java:287) [org.apache.sling.event:4.3.6]
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: com.adobe.cq.dam.download.impl.storage.DownloadStorageException: Error inflating progress of download 'null' : Download id must not be null
at com.adobe.cq.dam.download.impl.storage.jcr.JcrDownloadStorageService.getProgress(JcrDownloadStorageService.java:619) [com.day.cq.dam.cq-dam-download:1.0.98]
at com.adobe.cq.dam.download.impl.DownloadServiceImpl.getProgress(DownloadServiceImpl.java:363) [com.day.cq.dam.cq-dam-download:1.0.98]
at com.adobe.cq.dam.download.impl.email.EmailDownloadArtifactsProcess.execute(EmailDownloadArtifactsProcess.java:122) [com.day.cq.dam.cq-dam-download:1.0.98]
... 8 common frames omitted
Caused by: java.lang.IllegalArgumentException: Download id must not be null
at com.adobe.cq.dam.download.impl.storage.jcr.JcrDownloadStorageService.getDownloadResource(JcrDownloadStorageService.java:916) [com.day.cq.dam.cq-dam-download:1.0.98]
at com.adobe.cq.dam.download.impl.storage.jcr.JcrDownloadStorageService.getProgress(JcrDownloadStorageService.java:539) [com.day.cq.dam.cq-dam-download:1.0.98]
... 10 common frames omitted
Any pointers or solution how to fix this issue.
Thanks,


