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
Last Modified: 2022-06-20
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… 479Number of Views Remote Desktop Protocol Vulnerability MS12-020 18Number of Views RSA Authentication Manager Bulk Administration Is Reporting A Communication Error 53Number of Views RSA Identity Governance & Lifecycle scheduled report generation with attachments in email fails when having a slash (/) in… 61Number of Views RSA enVision throws error org.apache.tomcat.util.digester.Digester:SEVERE: Parse Fatal Error 22Number of Views
Trending Articles
How to Change the Token Lifetime Extension Window in Authentication Manager Using rsautil RSA Authentication Manager 8.9 Patches and Hotfixes Readme RSA Authentication Manager Upgrade Process RSA MFA Agent 2.5 for Microsoft Windows Installation and Administration Guide How to Download OTP Token Seed Files from myRSA
Don't see what you're looking for?