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 fails on report definition

SA-82881

Summary



Export to Excel fails on a report definition.


Error Messages



Exception in  the logs:

com.pega.pegarules.pub.PRRuntimeException: Section 'pzRDExportWrapper' execution error on page 'reportPage' of  class 'Rule-Obj-Report-Definition'. : fontmanager (Not found in com.ibm.oti.vm.bootstrap.library.path) 
at com.pegarules.generated.html.ra_stream_pzrdexportwrapper_8a003fbd0799660a40b7054ec93dd4aa.execute(ra_stream_pzrdexportwrapper_8a003fbd0799660a40b7054ec93dd4aa.java:117) ~[?:?] 
at com.pega.pegarules.session.internal.mgmt.Executable.getStream(Executable.java:4202) ~[prprivate.jar:?] 
at com.pega.pegarules.session.internal.mgmt.Executable.getStream(Executable.java:4024) ~[prprivate.jar:?] 
at com.pega.pegarules.pub.runtime.AbstractActivity.showHtml(AbstractActivity.java:261) ~[prpublic.jar:?] at ...
Caused by: java.lang.UnsatisfiedLinkError: fontmanager (Not found in com.ibm.oti.vm.bootstrap.library.path)
    at java.lang.ClassLoader.loadLibraryWithPath(ClassLoader.java:1425) ~[?:2.9 ()]
    at java.lang.ClassLoader.loadLibraryWithClassLoader(ClassLoader.java:1390) ~[?:2.9 ()]
    at java.lang.System.loadLibrary(System.java:584) ~[?:2.9 ()]
    
Caused by: java.lang.NoClassDefFoundError: sun.awt.X11FontManager (initialization failure)
    at java.lang.J9VMInternals.initializationAlreadyFailed(J9VMInternals.java:96) ~[?:2.9 ()]
    at java.lang.Class.forNameImpl(Native Method) ~[?:2.9 ()]
    at java.lang.Class.forName(Class.java:403) ~[?:2.9 ()]


Tracer error: 

Section 'PZRDExportwrapper' execution error on page ' ' of class 'Rule-Obj-Report-Definition'.: sun.awt.X11FontManager (Initialization Failure)




Steps to Reproduce

  1. Execute a report definition.
  2. Navigate to Actions > Export to Excel.

Root Cause



The X11 font package was missing in the JVM.


Resolution



As a local-change, install the X11 font package in the JVM.

Published August 19, 2019 - 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