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

Error to generate PDF Subassets/Pages

Avatar

Level 6

Hi,

When uploading pdf files to the Assets, it is not generating the pages.

Checking the logs I saw this error:

com.adobe.internal.pdftoolkit.core.exceptions.PDFInvalidDocumentException: Struct entry for key 32 not found in structure parent tree
    at com.adobe.internal.pdftoolkit.services.manipulations.PMMStructure.cloneParentRef(PMMStructure.java:923)
    at com.adobe.internal.pdftoolkit.services.manipulations.PMMStructure.fixStructParents(PMMStructure.java:806)
    at com.adobe.internal.pdftoolkit.services.manipulations.PMMStructure.extractStructure(PMMStructure.java:221)
    at com.adobe.internal.pdftoolkit.services.manipulations.PMMService.extractPages(PMMService.java:1627)
    at com.adobe.internal.pdftoolkit.services.manipulations.PMMService.extractPages(PMMService.java:288)
    at com.day.cq.dam.handler.standard.pdf.PdfHandler.processSubAssets(PdfHandler.java:401)
    at com.day.cq.dam.core.process.CreateSubAssetsProcess.execute(CreateSubAssetsProcess.java:50)
    at com.day.cq.workflow.compatibility.CQWorkflowProcessRunner.execute(CQWorkflowProcessRunner.java:93)

 

I'm on AEM 6.1

Any help is welcome.

Thanks

2 Replies

Avatar

Administrator

Hi franciscoribeir 

I hope this would be happening with particular PDF (Not with all). Can you please share what exactly this PDF contains ?

Or best would be if you can share with us the PDF.

~kautuk

The ultimate experience is back.

Join us in Vegas to build skills, learn from the world's top brands, and be inspired.

Register Now