Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

PDF generation not working in Reports & UI , using OOTB activity

SA-9438

Summary



PDF generation not working in Reports & UI when used OOTB activity "@baseclass • HTMLToPDF".

Error Messages



A pop up comes saying Status Good

Steps to Reproduce



Complete and WO and click on PDF link. A pop up comes saying Status Good. No pdf will be generated

Resolution



The issue is  with the way the AWT (Abstract Windowing Toolkit) is getting rendered.

Configure the following steps
1) Define the below JVM argument in your server startup script. -Djava.awt.headless=true

2) We can define this JVM argument in setEnv script file as below.
set JAVA_OPTS=-Xms768m -Xmx1024m -XX:PermSize=64m -Djava.awt.headless=true

Published June 12, 2015 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us