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

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.

Published December 2, 2021

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?

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