Expand my Community achievements bar.

SOLVED

Aemaacs : Using Bulk Import of Assets throws null pointer exception

Avatar

Level 1

Hi Everyone,

As part of POC, I'm trying to import assets from Azure blob to local aemaacs instance. Bulk Import Configuration is created successfully and config check [1] and dry run [2] are working as expected. However, when I run the config to import assets [3] , it fails with a null pointer exception as below. Did anyone faced this issue? Are there any other configs that we need to configure? Looking for inputs. Thanks in advance. 

 

com.adobe.cq.assetcompute.impl.bulkimport.BulkImportJobExecutor Failure during submit direct transfer request for asset '/content/dam/maxime.jpg'
java.lang.NullPointerException: null
	at com.adobe.cq.assetcompute.impl.bulkimport.directtransfer.DirectTransferService.getBlobStorageConfig(DirectTransferService.java:526) [com.adobe.cq.dam.cq-dam-processor-nui:1.1.686]
	at com.adobe.cq.assetcompute.impl.bulkimport.directtransfer.DirectTransferService.submitTransferRequest(DirectTransferService.java:171) [com.adobe.cq.dam.cq-dam-processor-nui:1.1.686]
	at com.adobe.cq.assetcompute.impl.bulkimport.BulkImportJobExecutor$BulkImportJob.submitDirectTransfer(BulkImportJobExecutor.java:399) [com.adobe.cq.dam.cq-dam-processor-nui:1.1.686]
	at com.adobe.cq.assetcompute.impl.bulkimport.BulkImportJobExecutor$BulkImportJob.processImport(BulkImportJobExecutor.java:279) [com.adobe.cq.dam.cq-dam-processor-nui:1.1.686]
	at com.adobe.cq.assetcompute.impl.bulkimport.BulkImportJobExecutor$BulkImportJob.processJob(BulkImportJobExecutor.java:229) [com.adobe.cq.dam.cq-dam-processor-nui:1.1.686]
	at com.adobe.cq.assetcompute.impl.bulkimport.BulkImportJobExecutor.process(BulkImportJobExecutor.java:118) [com.adobe.cq.dam.cq-dam-processor-nui:1.1.686]
	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:829)
14.10.2022 09:29:14.732 *ERROR* [sling-threadpool-c30480ef-32e6-49c0-a25e-11238ace9858-(apache-sling-job-thread-pool)-13-Bulk Import Default Queue Config(async/bulkimport)] com.adobe.cq.assetcompute.impl.bulkimport.BulkImportJobExecutor Failure during submit direct transfer request for asset '/content/dam/nickson.jpg'
java.lang.NullPointerException: null
	at com.adobe.cq.assetcompute.impl.bulkimport.directtransfer.DirectTransferService.getBlobStorageConfig(DirectTransferService.java:526) [com.adobe.cq.dam.cq-dam-processor-nui:1.1.686]
	at com.adobe.cq.assetcompute.impl.bulkimport.directtransfer.DirectTransferService.submitTransferRequest(DirectTransferService.java:171) [com.adobe.cq.dam.cq-dam-processor-nui:1.1.686]
	at com.adobe.cq.assetcompute.impl.bulkimport.BulkImportJobExecutor$BulkImportJob.submitDirectTransfer(BulkImportJobExecutor.java:399) [com.adobe.cq.dam.cq-dam-processor-nui:1.1.686]
	at com.adobe.cq.assetcompute.impl.bulkimport.BulkImportJobExecutor$BulkImportJob.processImport(BulkImportJobExecutor.java:279) [com.adobe.cq.dam.cq-dam-processor-nui:1.1.686]
	at com.adobe.cq.assetcompute.impl.bulkimport.BulkImportJobExecutor$BulkImportJob.processJob(BulkImportJobExecutor.java:229) [com.adobe.cq.dam.cq-dam-processor-nui:1.1.686]
	at com.adobe.cq.assetcompute.impl.bulkimport.BulkImportJobExecutor.process(BulkImportJobExecutor.java:118) [com.adobe.cq.dam.cq-dam-processor-nui:1.1.686]
	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:829)

 



[1] 

avnkalyan502_0-1665757394832.png

[2] 

avnkalyan502_1-1665757455866.png

[3]

avnkalyan502_2-1665757509673.png


Thanks,

Kalyan



 

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @avnkalyan502,

I do not think Bulk Import is supported on local environment. Looking into architecture it is using Asset Compute Service which is not available locally.

bulk-import.png

You can try to setup Asset Compute Development Tool, according to below guide:

Most likely you will need to move with your PoC into cloud environment to make it work.

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi @avnkalyan502,

I do not think Bulk Import is supported on local environment. Looking into architecture it is using Asset Compute Service which is not available locally.

bulk-import.png

You can try to setup Asset Compute Development Tool, according to below guide:

Most likely you will need to move with your PoC into cloud environment to make it work.