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

Cannot export report definition to Excel on using Docker image



On using Pega Official Docker image, Export to Excel fails on executing any report definition.

Error Messages

[ttp-nio-8080-exec-23] [TABTHREAD2] [                    ] [        ---:01.01.01] (      internal.mgmt.Executable) ERROR| xxxxx - Exception Section 'pzRDExportWrapper' execution error on page 'pegaInternalReportTempPage' of  class 'Rule-Obj-Report-Definition'. : java.lang.reflect.InvocationTargetException

Caused by: java.lang.NullPointerException

                at sun.awt.FontConfiguration.getVersion( ~[?:?]

                at sun.awt.FontConfiguration.readFontConfigFile( ~[?:?]

                at sun.awt.FontConfiguration.init( ~[?:?]

                at sun.awt.X11FontManager.createFontConfiguration( ~[?:?]

                at sun.font.SunFontManager$ ~[?:?]

                at Method) ~[?:?]

                at sun.font.SunFontManager.<init>( ~[?:?]

                at sun.awt.FcFontManager.<init>( ~[?:?]

                at sun.awt.X11FontManager.<init>( ~[?:?]

                at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]

                at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance( ~[?:?]

                at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance( ~[?:?]

Steps to Reproduce

  1. Navigate to Report Browser.
  2. Open any report.
  3. Export to Excel on the Action button.
  1. Open any report definition in Dev Studio.
  2. Navigate to Action button.
  3. Click Run. A new window opens for the report.
  4. Export to Excel on the Action button.

Root Cause

A defect in Pegasystems’ code or rules.
This is an issue with the JRE in use.


Perform the following local-change:

Add the below command in the Docker file and build a new image:

RUN apt-get update && apt-get install -y --no-install-recommends fontconfig

If building a new image is not an option, perform the below steps,
  1. Log in to the  Container executing the Pega application. 
  2. Run the below command and restart the Tomcat server.

    apt-get update &&  apt-get install -y --no-install-recommends fontconfig 
This feature is implemented in the following:
  • Pega Platform 8.4
  • Pega Platform 8.3.2
  • Pega Platform 8.2.6
  • Pega Platform 8.1.7

Published May 30, 2020 - Updated 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?

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