Error was encountered when attempting to run reports

Hello,

I've installed Identity Reporting that comes with Identity Governance 4.2.0 in RHEL 8.8 (AWS). I have not been able to run any report successfully. Below I show you the exception that I see in the catalina file.
Based on another thread, I share the detail so that it is useful.

1) What is the exact version of Identity Reporting (as seen in the About page)?
Identity Reporting client version 2023.3 - 7.2.0-855 was built on Monday, November 27, 2023 4:45 PM from revision 7d5988b4b

2) What is the exact version of Identity Governance (as seen in the About page)?
Identity Governance client version 2023.3 - 4.2.0-106 was built on Tue November 28 2023 4:14 PM from revision bcae3d5ba

3.a) What is the English name of this report? Access Requests
3.b) When you open the Report in the Repository page:
3.b.1) What is the version number? 4.2.0
3.b.2) What is the Release Date? 12/11/2023

4) What is the exact version and producer of the JRE/JDK that you have Tomcat using (this can be seen at the top of the catalina.%date%.log file)?
Server version name: Apache Tomcat/9.0.83
Server built: Nov 9 2023 20:57:42 UTC
Server version number: 9.0.83.0
OS Name: Linux
OS Version: 4.18.0-477.27.1.el8_8.x86_64
Architecture: amd64
Java Home: /opt/netiq/idm/apps/jdk
JVM Version: 11.0.22+7-LTS
JVM Vendor: Azul Systems, Inc.

5) Who is the owner of all of the folders and files under: /opt/netiq/idm/apps/idrpt/reportContent
drwxrwxr-x. 4 novlua users 34 Jul 30 19:26 reportContent

[INFO] 2024-08-01 19:48:58.094 [com.novell.idm.rpt.core.server.rest.OsgiBridge] [RPT-CORE] Ejecutando el informe Access_Requests.
[SEVERE] 2024-08-01 19:48:58.146 [com.novell.idm.rpt.core.server.rest.OsgiBridge] [RPT-CORE] Se ha detectado el siguiente error al intentar ejecutar el informe Access_Requests: An error was detected while running report 'Access_Requests': Could not initialize class net.sf.jasperreports.engine.util.JRStyledTextParser
[SEVERE] 2024-08-01 19:48:58.146 [com.novell.idm.rpt.core.server.schedules.ScheduleManager] [RPT-CORE] Se ha detectado el siguiente error al intentar ejecutar el informe Access Requests - 08/01/2024 7:48 PM: An error was detected while running report 'Access_Requests': Could not initialize class net.sf.jasperreports.engine.util.JRStyledTextParser
com.netiq.common.i18n.LocalizedException: The following error was encountered when attempting to run report 'Access Requests - 08/01/2024 7:48 PM': An error was detected while running report 'Access_Requests': Could not initialize class net.sf.jasperreports.engine.util.JRStyledTextParser
        at com.novell.idm.rpt.core.server.schedules.ScheduleManager$ReportTask.runJasper(ScheduleManager.java:122)
        at com.novell.idm.rpt.core.server.schedules.ScheduleManager$ReportTask.runAndUpdateReport(ScheduleManager.java:236)
        at com.novell.idm.rpt.core.server.schedules.ScheduleManager$ReportTask.call(ScheduleManager.java:210)
        at com.novell.idm.rpt.core.server.schedules.ScheduleManager$ReportTask.call(ScheduleManager.java:68)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: com.novell.idm.rpt.core.server.spi.exception.ReportException: An error was detected while running report 'Access_Requests': Could not initialize class net.sf.jasperreports.engine.util.JRStyledTextParser
        at com.novell.idm.rpt.core.server.rest.OsgiBridge.runReport(OsgiBridge.java:762)
        at com.novell.idm.rpt.core.server.schedules.ScheduleManager$ReportTask.runJasper(ScheduleManager.java:118)
:client_loop: send disconnect: Connection reset

And this is another one.

3.a) What is the English name of this report? Catalog Users Overview
3.b) When you open the Report in the Repository page:
3.b.1) What is the version number? 3.7.0
3.b.2) What is the Release Date? 02/17/2022

[SEVERE] 2024-08-01 19:31:47.749 [com.novell.idm.rpt.core.server.rest.OsgiBridge] [RPT-CORE] Se ha detectado el siguiente error al intentar ejecutar el informe Catalog_Users_Overview: An error was detected while running report 'Catalog_Users_Overview': java.lang.reflect.InvocationTargetException
[SEVERE] 2024-08-01 19:31:47.753 [com.novell.idm.rpt.core.server.schedules.ScheduleManager] [RPT-CORE] Se ha detectado el siguiente error al intentar ejecutar el informe Catalog Users Overview - 08/01/2024 7:31 PM: An error was detected while running report 'Catalog_Users_Overview': java.lang.reflect.InvocationTargetException
com.netiq.common.i18n.LocalizedException: The following error was encountered when attempting to run report 'Catalog Users Overview - 08/01/2024 7:31 PM': An error was detected while running report 'Catalog_Users_Overview': java.lang.reflect.InvocationTargetException
        at com.novell.idm.rpt.core.server.schedules.ScheduleManager$ReportTask.runJasper(ScheduleManager.java:122)
        at com.novell.idm.rpt.core.server.schedules.ScheduleManager$ReportTask.runAndUpdateReport(ScheduleManager.java:236)
        at com.novell.idm.rpt.core.server.schedules.ScheduleManager$ReportTask.call(ScheduleManager.java:210)
        at com.novell.idm.rpt.core.server.schedules.ScheduleManager$ReportTask.call(ScheduleManager.java:68)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: com.novell.idm.rpt.core.server.spi.exception.ReportException: An error was detected while running report 'Catalog_Users_Overview': java.lang.reflect.InvocationTargetException
        at com.novell.idm.rpt.core.server.rest.OsgiBridge.runReport(OsgiBridge.java:762)
        at com.novell.idm.rpt.core.server.schedules.ScheduleManager$ReportTask.runJasper(ScheduleManager.java:118)

Has this ever happened to you? I appreciate any comments

  • Verified Answer

    +1  

    Hi,

    I think those error (Could not initialize class net.sf.jasperreports.engine.util.JRStyledTextParser)  indicates missing fonts on the OS. In my documentation we installed the following packages:

    yum install dejavu-fonts-common

      yum install dejavu-sans-fonts

      yum install xorg-x11-font-utils

      yum install fontconfig

      yum install xorg-x11-fonts-Type1 

    yum install libfontenc

      yum install libXfont2

    Important: Restart hosts (!)

    BR

    Tobias

  • 0   in reply to   

    Hello Tobias

    That was the problem, after installing these libraries and rebooting, now I can run some reports successfully.
    I hope this can help someone else in the future.

    I thank you very much, my friend.