000034519 - RSA Identity Governance and Lifecycle report fails to run throwing this exception: java.lang.NoClassDefFoundError: Could not initialize class net.sf.jasperreports.engine.util.JRStyledTextParser on 7.0.1 or later

Document created by RSA Customer Support Employee on Dec 13, 2016Last modified by RSA Customer Support Employee on May 9, 2017
Version 3Show Document
  • View in full screen mode

Article Content

Article Number000034519
Applies ToRSA Product Set: RSA Identity Governance and Lifecycle
RSA Product/Service Type: Soft-Appliance
RSA Version/Condition: 7.0.1 or later
O/S Version: Red Hat Enterprise Linux 6.x
Issue
Reports fail to run throwing the following exception in the aveksaServer.log :
com.aveksa.server.runtime.ServerException: java.lang.NoClassDefFoundError: Could not initialize class net.sf.jasperreports.engine.util.JRStyledTextParser
at com.aveksa.server.report.Report.fillReport(Report.java:2019)
at com.aveksa.server.report.Report.fillReport(Report.java:1665)
at com.aveksa.server.report.Report.fillReport(Report.java:1654)
at com.aveksa.gui.objects.report.GuiReport.getPreview(GuiReport.java:930)
at com.aveksa.gui.pages.report.report_definition.edit.tabular.BaseEditTabularReportWizard.updatePreview(BaseEditTabularReportWizard.java:200)
at com.aveksa.gui.pages.report.report_definition.edit.tabular.BaseEditTabularReportWizard.handlePreview(BaseEditTabularReportWizard.java:143)
at com.aveksa.gui.pages.report.report_definition.edit.tabular.BaseEditTabularReportWizard.handleRequest(BaseEditTabularReportWizard.java:101)
at com.aveksa.gui.pages.PageManager.forwardRequest(PageManager.java:577)
at com.aveksa.gui.pages.PageManager.handleRequest(PageManager.java:341)
at com.aveksa.gui.pages.PageManager.handleRequest(PageManager.java:272)
at com.aveksa.gui.core.MainManager.handleRequest(MainManager.java:179)
at com.aveksa.gui.core.MainManager.doGet(MainManager.java:128)
at com.aveksa.gui.core.MainManager.doPost(MainManager.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85)
at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:130)

When entering the following command, no results appear :
#rpm -qa | grep deja

CauseMissing Dejavu font dependencies cause this exception to occur.
ResolutionThe following steps will re-add the missing font dependencies to the OS.
  1. To re-add the missing font dependencies, use the following command:
    #yum install deja*

  2. When prompted, enter y to install all the packages.
  3. Switch to the oracle user and restart the application server:
    #su - oracle
    #acm restart


     

 
NotesThe error in this article is similar to the error reported on article 000033818 RSA Identity Governance and Lifecycle Reports preview or generation fail with error: java.lang.NoClassDefFoundError: Could not initialize class net.sf.jasperreports.engine.util.JRStyledTextParser, except this article is applicable for when there are missing Dejavu font dependencies.

Attachments

    Outcomes