Operator Console home page dashboard failing to populate with "An unexplained error has occurred and the operation failed"

book

Article ID: 191756

calendar_today

Updated On:

Products

NIMSOFT PROBES DX Infrastructure Management

Issue/Introduction

After a successful install of the cabi probe on a Linux RHEL 7.6 robot, none of the dashlets on the Operator Console home page display data.  Each displays the "An unexplained error has occurred that the operation failed" error message:




Errors similar to the following can also be found in the jasperserver.log file on the CABI robot:

2020-05-02 13:23:29,306 ERROR RenderViewExceptionInterceptor,http-nio-80-exec-9:55 - Internal server error occurred. Please contact your system administrator.
org.apache.jasper.JasperException: org.apache.tiles.impl.CannotRenderException: JSPException including path '/WEB-INF/jsp/templates/standardAlert.jsp'.

2020-05-02 13:25:31,678 ERROR RenderViewExceptionInterceptor,http-nio-80-exec-7:55 - Internal server error occurred. Please contact your system administrator.
org.apache.jasper.JasperException: org.apache.tiles.impl.CannotRenderException: JSPException including path '/WEB-INF/jsp/templates/heartbeatOptin.jsp'.

2020-05-02 13:26:32,188 ERROR RenderViewExceptionInterceptor,http-nio-80-exec-13:55 - Internal server error occurred. Please contact your system administrator.
org.apache.jasper.JasperException: org.apache.tiles.impl.CannotRenderException: JSPException including path '/WEB-INF/jsp/templates/reportGeneratorProperties.jsp'.

2020-05-02 13:32:37,909 ERROR RenderViewExceptionInterceptor,http-nio-80-exec-25:55 - Internal server error occurred. Please contact your system administrator.
org.apache.jasper.JasperException: org.apache.tiles.impl.CannotRenderException: JSPException including path '/WEB-INF/jsp/templates/loading.jsp'.

2020-05-02 13:37:30,266 ERROR SimpleFontExtensionHelper,pool-8-thread-2:264 - Error loading font family
net.sf.jasperreports.engine.fonts.InvalidFontException: Error loading font "net/sf/jasperreports/fonts/icons/icons.ttf".

2020-05-02 13:37:30,376 ERROR SimpleFontExtensionHelper,pool-8-thread-2:264 - Error loading font family
net.sf.jasperreports.engine.fonts.InvalidFontException: Error loading font "net/sf/jasperreports/fonts/dejavu/DejaVuSans.ttf".

2020-05-02 13:37:30,386 ERROR SimpleFontExtensionHelper,pool-8-thread-2:264 - Error loading font family
net.sf.jasperreports.engine.fonts.InvalidFontException: Error loading font "net/sf/jasperreports/fonts/dejavu/DejaVuSerif.ttf".

2020-05-02 13:37:30,396 ERROR SimpleFontExtensionHelper,pool-8-thread-2:264 - Error loading font family
net.sf.jasperreports.engine.fonts.InvalidFontException: Error loading font "net/sf/jasperreports/fonts/dejavu/DejaVuSansMono.ttf".

2020-05-02 13:37:30,404 ERROR JRStyledTextParser,pool-8-thread-2:100 - Error while loading available fonts
java.lang.NullPointerException

Cause

No Linux fonts RPM packages were installed on the Linux CABI robot.  The cabi server which is installed by the cabi probe requires the following set of fonts packages to be installed in order to be able to populate the contents of any UIM dashboard/report:

fontconfig
fontpackages-filesystem
dejavu-fonts-common
dejavu-sans-fonts

Environment

Release : 20.1

Component : UIM - CABI
cabi:  4.20
ump_cabi:  4.20
robot 9.3
hub 9.3

OS:  RHEL 7.6 (Primary hub + UMP and CABI robot)
Database:  MySQL 5.7

Resolution

Minimally install the fontconfig RPM package on the Linux RHEL robot:

yum install fontconfig

Then restart the CABI robot to force the cabi server to pick up the newly installed fonts packages.

Attachments