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

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

AEM 6.4: IllelgalArgumentException after uploading pdf files into DAM


Level 7

Hello everyone,


It's time form me to ask a new question :-):

Whenever I create an assert from a pdf file, the following error occurs in error.log:


[Thread-72] error while executing folder thumbnail update job: /content/dam/mypath/apdffile.pdf
java.lang.IllegalArgumentException: width or height <= 0
at [day-commons-gfx:2.1.48]
at<init>( [day-commons-gfx:2.1.48]
at$FolderPreviewCreator.createPreview( []
at []
at []
at []

I use the provided page on authors instance. After reloading the assets page in browser via F5, the thumbnail will be displayed. How can it be fixed or is it not possible?


Thanks in advanced.

3 Replies


Level 7

Thanks for you answer. Based on your posted link and a youtube video I assume that uploaded pdf file does not contain any thumbnail images. I will test it with such pdf file with a thumbnail image and give a feedback.


Level 7

Recently I tested my therory with a pdf which contains thumbnails and above error message didn't appear in log file. So whoever has marked prematurely as correct answer, he was wrong