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
- Execute any report.
- 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.
Tags:
Published December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.