Skip to main content

Support Article

Export to Excel on Reports definition does not work

SA-104906

Summary



Error occurs when using Export to Excel on any report definition. The system is a client managed AWS cloud and is deployed using Kubernetes.


Error Messages



Caused by: java.lang.NullPointerException
    at sun.awt.FontConfiguration.getVersion(FontConfiguration.java:1262) ~[?:?]
    at sun.awt.FontConfiguration.readFontConfigFile(FontConfiguration.java:225) ~[?:?]
    at sun.awt.FontConfiguration.init(FontConfiguration.java:107) ~[?:?]
    at sun.awt.X11FontManager.createFontConfiguration(X11FontManager.java:719) ~[?:?]
    at sun.font.SunFontManager$2.run(SunFontManager.java:367) ~[?:?]



Steps to Reproduce

  1. Execute any report.
  2. Navigate to Actions > Export to Excel.


Root Cause



Issue with the Kubernetes Docker file.


Resolution



Perform the following local-change:

Import the FONTCONFIG and TTF-DEJAVU packages.
Suggest Edit

Published March 24, 2020 - Updated June 29, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

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

Ready to crush complexity?

Experience the benefits of Pega Community when you log in.

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