Salesforce

Report preview and/or generation fails with 'java.lang.NoClassDefFoundError: Could not initialize class net.sf.jasperreports.engine.util.JRStyledTextParser' error in RSA Identity Governance & Lifecycle (fontconfig)

« Go Back
Header
Report preview and/or generation fails with 'java.lang.NoClassDefFoundError: Could not initialize class net.sf.jasperreports.engine.util.JRStyledTextParser' error in RSA Identity Governance & Lifecycle (fontconfig)
Report-preview-and-or-generation-fails-with-java-lang-NoClassDefFoundError-Could-not-initialize-class-net-sf-jasperreports-engine-util-JRStyledTextParser-error-in-RSA-Identity-Governance-Lifecycle-fontconfig
Report preview and/or generation fails with 'java.lang.NoClassDefFoundError: Could not initialize class net.sf.jasperreports.engine.util.JRStyledTextParser' error in RSA Identity Governance & Lifecycle (fontconfig)
Work in Progress
1,569.74
Article Content
 
RSA Product Set: RSA Identity Governance & Lifecycle
RSA Version/Condition: 7.0.1, 7.0.2, 7.1.0, 7.1.1, 7.2.0
O/S Version: Red Hat Enterprise Linux
 
Generating or previewing reports in RSA Identity Governance & Lifecycle never complete and show as Loading Data in the RSA Identity Governance & Lifecycle user interface.

The following error message shows in the stdout.log file:

10:05:01,888 ERROR [io.undertow.request] (default task-30) UT005023: 
Exception handling request to /aveksa/main: java.lang.NoClassDefFoundError: 
Could not initialize class net.sf.jasperreports.engine.util.JRStyledTextParser
	at net.sf.jasperreports.engine.fill.JRBaseFiller.<init>(JRBaseFiller.java:124)

Please refer to RSA Knowledge Base Article 000030327 --- Artifacts to gather in RSA Identity Governance & Lifecycle to find the location of the stdout.log file for your specific deployment. 
This issue occurs if the dejavu fonts required for Jasper Reports cannot be loaded because the font loader package is not installed on the Red Hat Enterprise Linux operating system.
 
To resolve this issue, first confirm that you are missing the fontconfig font manager. Once confirmed install the fontconfig font manager.
  1. Login as the root user.
  2. Run the following command to check if this is the problem cause.
# rpm -qa | grep fontconfig
#
If results are returned, this is not your problem cause. Please see the related RSA Knowledge Base Articles listed in the Notes section.
  1. If no result is returned, install the fontconfig package. 
# sudo yum install fontconfig*
  1. Confirm the fontconfig font manager is now installed. The following command should return a result.
# rpm -qa | grep fontconfig
fontconfig-2.8.0-3.el6.x86_64
  1.  Switch to the oracle user and restart RSA Identity Governance & Lifecycle  for your changes to take effect.
# su - oracle
# acm restart
 
000038324
Article Settings
External
Case
Ian Staines
1/8/2020 9:57 PM
Ian Staines
Article Assignment
 
 
 
Article Properties
Published
Knowledge
000042397
Ian Staines
Venkata SamanthKumarAtchuta
English

Powered by