000038324 - 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)

Document created by RSA Customer Support Employee on Jan 15, 2020
Version 1Show Document
  • View in full screen mode

Article Content

Article Number000038324
Applies ToRSA Product Set: RSA Identity Governance & Lifecycle
RSA Version/Condition: 7.0.1, 7.0.2, 7.1.0, 7.1.1
O/S Version: Red Hat Enterprise Linux
 
IssueGenerating 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. 
CauseThis 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.
 
ResolutionTo 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

 
NotesSee related RSA Knowledge Base Articles:

Attachments

    Outcomes