Spectrum Jaspersoft error creating any reports (Error UID: 252edbfd-d0a8-41db-9a50-320c460d4b1b)
search cancel

Spectrum Jaspersoft error creating any reports (Error UID: 252edbfd-d0a8-41db-9a50-320c460d4b1b)


Article ID: 214668


Updated On:


CA Spectrum


I'm unable to generate/run any reports in jasperosft after installation. We get the below error message:

(There was an error on the server. Try again or contact site administrators. (Error UID: 252edbfd-d0a8-41db-9a50-320c460d4b1b)

Jaspersoft version :7.1.1

Linux server

Spectrum 10.4.1


Release : 10.4.1

Component : Spectrum Core / SpectroSERVER


The error uid shown when running reports related coincides with an error in the the tomcat log meaning that some dependencies are missing.  

2021-04-20 10:50:35,504 ERROR ErrorPageHandlerAction,https-jsse-nio-8443-exec-1:115 - Error UID 252edbfd-d0a8-41db-9a50-320c460d4b1b
com.jaspersoft.jasperserver.api.JSException: java.lang.NoClassDefFoundError: Could not initialize class net.sf.jasperreports.engine.util.JRStyledTextParser

The JRStyledTextParser is referenced later in the logs showing font issues

2021-05-04 10:43:17,625 ERROR SimpleFontExtensionHelper,pool-6-thread-2:264 - Error loading font family
net.sf.jasperreports.engine.fonts.InvalidFontException: Error loading font "net/sf/jasperreports/fonts/icons/icons.ttf".

The same repeats for 3 missing fonts several times.  



The Jasper site points to a known issue, which was addressed and did not change anything.


and here


Neither of these known solutions worked as this was caused by an unsupported 3rd party application Puppet which removed the fontconfig file.  The fontconfig file was getting removed automatically from server by Puppet which is enabled on server level.  This gave the error on java libraries.


After Puppet was disabled and the font config reinstalled with the required packages, we can now run reports without any errors.

yum install -y  fontconfig