Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

AEM Asset Upload Failing with Dynamic Media Classic Configuration Setup

Avatar

Level 3

Hi All,

 

Recently I configured Dynamic Media classic in my local instance and its saved successfully too. But after that if I upload any images, then all my assets are failing in Scene7 Batch Upload Step.

 

Getting below error 

 

com.adobe.granite.workflow.WorkflowException: --Dynamic Media asset upload failed. Please contact your system administrator.-- /content/dam/Capture-3.jpg
at com.day.cq.workflow.compatibility.CQWorkflowExtProcessProxy.execute(CQWorkflowExtProcessProxy.java:68) [com.day.cq.workflow.cq-workflow-impl:6.3.16]
at com.adobe.granite.workflow.core.util.WEPProxyHolder.execute(WEPProxyHolder.java:42) [com.adobe.granite.workflow.core:2.1.76]
at com.adobe.granite.workflow.core.job.JobHandler.process(JobHandler.java:307) [com.adobe.granite.workflow.core:2.1.76]
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: com.day.cq.workflow.WorkflowException: Failed to create a s7 ips job
at com.day.cq.dam.scene7.impl.process.Scene7BatchUploadProcess.upload(Scene7BatchUploadProcess.java:158) [com.day.cq.dam.cq-scene7-core:5.13.356]
at com.day.cq.dam.scene7.impl.process.Scene7BatchUploadProcess.upload(Scene7BatchUploadProcess.java:97) [com.day.cq.dam.cq-scene7-core:5.13.356]
at com.day.cq.dam.scene7.impl.process.AbstractScene7UploadProcess.execute(AbstractScene7UploadProcess.java:216) [com.day.cq.dam.cq-scene7-core:5.13.356]
at com.day.cq.workflow.compatibility.CQWorkflowExtProcessProxy.execute(CQWorkflowExtProcessProxy.java:66) [com.day.cq.workflow.cq-workflow-impl:6.3.16]
... 9 common frames omitted
20.01.2022 17:07:18.103 *WARN* [FelixLogListener] org.apache.felix.eventadmin Service [com.adobe.fd.workflow.eventHandlers.JobFailedEventHandler,5673, [org.osgi.service.event.EventHandler]] EventAdmin: Exception during event dispatch [com.adobe.granite.workflow.event.WorkflowEvent [topic=com/adobe/granite/workflow/event] {EventType=JobFailed, WorkflowName=Asset Processing on SDK, payloadPath=/content/dam/Capture-3.jpg/jcr:content/renditions/original, WorkflowInstanceId=/var/workflow/instances/server0/2022-01-20/asset_processing_on_sdk_206, WorkflowVersion=1.1, WorkflowNode=node8, TimeStamp=Thu Jan 20 17:07:18 IST 2022} | [org.osgi.service.event.EventHandler] | Bundle(com.adobe.aemfd.adobe-aemfd-workflow-process-common [575])] (java.lang.NullPointerException)
java.lang.NullPointerException: null
at com.adobe.fd.workflow.eventHandlers.JobFailedEventHandler.handleEvent(JobFailedEventHandler.java:108) [com.adobe.aemfd.adobe-aemfd-workflow-process-common:6.0.164]
at org.apache.felix.eventadmin.impl.handler.EventHandlerProxy.sendEvent(EventHandlerProxy.java:431)
at org.apache.felix.eventadmin.impl.tasks.HandlerTask.runWithoutDenylistTiming(HandlerTask.java:82) [org.apache.felix.eventadmin:1.6.2]
at org.apache.felix.eventadmin.impl.tasks.SyncDeliverTasks.execute(SyncDeliverTasks.java:107) [org.apache.felix.eventadmin:1.6.2]
at org.apache.felix.eventadmin.impl.tasks.AsyncDeliverTasks$TaskExecuter.run(AsyncDeliverTasks.java:167) [org.apache.felix.eventadmin:1.6.2]
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
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)

 

But the same is working fine in my cloud AEM Instance. 

 

I am using AEM as a Cloud Service version of AEM.

 

Can someone help me in resolving this issue ?

 

Cheers & Thanks in Advance 🙂

 

1 Accepted Solution

Avatar

Correct answer by
Level 3

Hi All,

 

This issue got resolved.

 

We got this issue because of self signed certificate within our organization. After importing the certificates in JDK cacert using keytool it got fixed.

 

Cheers 🙂

View solution in original post

5 Replies

Avatar

Employee Advisor

Hi,

Welcome to Adobe Community !!

Have you configured Dynamic Media or Scene 7 (Dynamic Media Classic) on your AEM Author as a Cloud Instance?

Note : When you click on Tools -> Cloud Services, Have you configured Dynamic Media or Scene 7

Does this happen for any specific image or with all the images?

What happens when you upload any other asset type?

Thanks,

Vikram Gaur

Avatar

Level 3

Hi,

 

I configured Dynamic Media Classic on my local AEM Author as a Cloud Instance successfully under AEM --> Tools --> Cloud Services --> Dynamic Media.

 

After configuration, I am getting the above error for all types of assets.

 

Cheers

Avatar

Administrator

This is known issue!! Team is working on resolving this course's Issue.

Avatar

Correct answer by
Level 3

Hi All,

 

This issue got resolved.

 

We got this issue because of self signed certificate within our organization. After importing the certificates in JDK cacert using keytool it got fixed.

 

Cheers 🙂

Avatar

Employee Advisor

Hi @SkyGazer 

Thank you for letting us know.

This would help the community in the posterity.

We really appreciate your help and time

Regards,

Vikram Gaur