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)
Originally Published: 2020-01-08
Article Number
Applies To
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
Issue
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.
Cause
Resolution
- Login as the root user.
- 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.
- If no result is returned, install the fontconfig package.
# sudo yum install fontconfig*
- 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
- Switch to the oracle user and restart RSA Identity Governance & Lifecycle for your changes to take effect.
# su - oracle # acm restart
Notes
- 000034519 -- 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 (font dependencies)
- 000033818 -- Report preview and/or generation fails with 'java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11GraphicsEnvironment' error in 6.9.1 and earlier versions of RSA Identity Governance & Lifecycle
Related Articles
Report preview and/or generation fails with 'java.lang.NoClassDefFoundError: Could not initialize class net.sf.jasperrepor… 465Number of Views RSA enVision throws error org.apache.tomcat.util.digester.Digester:SEVERE: Parse Fatal Error 22Number of Views RSA Identity Governance & Lifecycle Access Fulfillment Express (AFX) failure java.lang.NoClassDefFoundError: sun/net/www/p… 84Number of Views Identity Source report program for RSA Authentication Manager 8.7 or later 525Number of Views Is there a tool to test your SID800 PIN with RSA Middleware? 13Number of Views
Don't see what you're looking for?