CABI Dashboards fails with "Could not initialize class net.sf.jasperreports.engine.util.JRStyledTextParser" in the japserserver.log
search cancel

CABI Dashboards fails with "Could not initialize class net.sf.jasperreports.engine.util.JRStyledTextParser" in the japserserver.log

book

Article ID: 213425

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

CABI 4.30 on a robot with Centos 7.8

Problem:
CABI install is successful but Dashboards are not being displayed with a direct logon to CABIJS. Dashboards

 

The following errors are captured in the japserserver logs when wasp (cabijs app) starts up and also when we select the UIM Summary Saas or UIM Summary Dashboards

[[email protected]]# tail -50 jasperserver.log
2021-04-14T17:28:29,032 ERROR SecureExceptionHandlerImpl,pool-15-thread-10:116 - Could not initialize class net.sf.jasperreports.engine.util.JRStyledTextParser

 

Environment

Release : 20.1. 20.3

Component : UIM - CABI

Resolution

1. Configured the wasp startup -> options as seen below on the cabi robot

options = -Dfile.encoding=UTF-8 -Djava.awt.headless=true

See the following article for additional details for cabi_external setup.
https://knowledge.broadcom.com/external/article?articleId=186661

2. Restart the cabi robot service and validate if issue is resolved. (Go to Step 3 if problem is not resolved)

3. Install the fontconfig package and validate the packages as show below:

#yum install fontconfig
#rpm -qa | grep font
fontpackages-filesystem-1.44-8.el7.noarch
dejavu-fonts-common-2.33-6.el7.noarch
fontconfig-2.13.0-4.3.el7.x86_64
dejavu-sans-fonts-2.33-6.el7.noarch

See the following link for additional information
https://stackoverflow.com/questions/4998762/could-not-initialize-class-net-sf-jasperreports-engine-util-jrstyledtextparser

Attachments