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
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.