Dam Image renditions error while executing the folder thumbnail!

Avatar

Avatar

imadullakhan

Avatar

imadullakhan

imadullakhan

12-11-2020

Hi @Team,

 

I'm facing the below issue in the production server, and I didn't face this issue in my local author. Can anyone please help me to resolve this issue?

 

11.11.2020 14:35:57.560 *ERROR* [Thread-57] com.day.cq.dam.core.impl.ui.preview.FolderPreviewUpdaterImpl error while executing folder thumbnail update job: /content/dam/asian/Images/PACKSHOTS-01.png

java.lang.IllegalArgumentException: width or height <= 0

       at com.day.image.Layer.init(Layer.java:3156) [day-commons-gfx:2.1.48]

       at com.day.image.Layer.<init>(http://Layer.java:490) [day-commons-gfx:2.1.48]

       at com.day.cq.dam.core.impl.ui.preview.FolderPreviewGenerator$FolderPreviewCreator.createPreview(FolderPreviewGenerator.java:292) [com.day.cq.dam.cq-dam-core:5.11.356]

       at com.day.cq.dam.core.impl.ui.preview.AssetDrivenFolderPreviewGenerator.generate(AssetDrivenFolderPreviewGenerator.java:245) [com.day.cq.dam.cq-dam-core:5.11.356]

       at com.day.cq.dam.core.impl.ui.preview.FolderPreviewUpdaterImpl.updateFolderThumbnail(FolderPreviewUpdaterImpl.java:144) [com.day.cq.dam.cq-dam-core:5.11.356]

       at com.day.cq.dam.core.impl.ui.preview.FolderPreviewUpdaterImpl.run(FolderPreviewUpdaterImpl.java:201) [com.day.cq.dam.cq-dam-core:5.11.356]

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Avatar

Avatar

Rajashankar

Avatar

Rajashankar

Rajashankar

13-11-2020

Hi @imadullakhan 

When ever we create a asset folder it automatically creates a thumbnail image for that asset folder with help of auto job com.day.cq.dam.core.impl.ui.preview.FolderPreviewUpdaterImpl .This job is configurable in configmgr as shown below. In your case i suspect the job is trying to create a thumnail for asian/images folder using the image underneath that "/content/dam/asian/Images/PACKSHOTS-01.png " this PACKSHOTS-01.PNG has some issue with respect to his height or width or content. Check this image if image is corrupted .Re upload a new image and check the same.Hope it helps.

Rajashankar_0-1605306624444.png