DevTest Portal Reporting not getting generated, getting 'InvalidFontException'
search cancel

DevTest Portal Reporting not getting generated, getting 'InvalidFontException'

book

Article ID: 268851

calendar_today

Updated On:

Products

Service Virtualization CA Application Test

Issue/Introduction

Trying to generate the 'User Activity' report from DevTest Portal and the report section shows no data.

DevTest Portal-->Reporting-->Administration-->User Activity

Environment

Release : 10.7.2 or newer

Cause

Fontconfig not installed on Linux server and caused the issue.

Resolution

Per System Requirements, DevTest requires Fontconfig to be installed on Amazon Linux 2022. Run the below command to install Fontconfig:

sudo yum install fontconfig *dejavu*

After installing Fontconfig and restarting Registry and Portal issue should be resolved.

But if you still see issues,  you will have to reboot the Linux Server.  

Additional Information

Look for the below in registry.log.

-----------
ERROR System.err                     - net.sf.jasperreports.engine.JRRuntimeException: Error initializing graphic environment.
2023-06-08T14:58:48,573Z (14:58) [xxxxx-18463] ERROR System.err                     -     at net.sf.jasperreports.engine.util.JRGraphEnvInitializer.initializeGraphEnv(JRGraphEnvInitializer.java:63)
-------------
 
net.sf.jasperreports.engine.fonts.InvalidFontException: Error loading font "fonts/LocalizedDevTestFont/CA-Sans-Regular.ttf".
net.sf.jasperreports.engine.fonts.InvalidFontException: Error loading font "fonts/LocalizedDevTestFont/ipag.ttf".
net.sf.jasperreports.engine.fonts.InvalidFontException: Error loading font "IPA/ipag.ttf".