Unable to run report on WCC

book

Article ID: 223204

calendar_today

Updated On:

Products

CA Workload Automation AE

Issue/Introduction

Clients cannot generate reports in reporting tab of WCC.

Following error is displayed:

The report cannot be created; an error occurred during the build:
Request to server failed.

 

Cause

Missing some Linux font RPM packages in the system.

 

Environment

Release : 12.0

Component : WORKLOAD CONTROL CENTER

Resolution

Installing the following Linux font RPM packages resolved the issue:

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

Reference: 
https://knowledge.broadcom.com/external/article?articleId=191756

Additional Information

The following exceptions are logged in $CA_WCC_INSTALL_LOCATION/log/application/reporting/reporting-rest.log:

2021-09-01 13:58:25,052 @reporting-rest <10.110.80.110 IBG\skivanc ~842 task #JOB_RUN_DETAILS-1> [] ERROR #JRStyledTextParser                 # Error while loading available fonts
java.lang.NullPointerException
 at sun.awt.FontConfiguration.getVersion(FontConfiguration.java:1264)
 at sun.awt.FontConfiguration.readFontConfigFile(FontConfiguration.java:219)
 at sun.awt.FontConfiguration.init(FontConfiguration.java:107)
 at sun.awt.X11FontManager.createFontConfiguration(X11FontManager.java:774)
 at sun.font.SunFontManager$2.run(SunFontManager.java:431)
 at java.security.AccessController.doPrivileged(AccessController.java:678)
 at sun.font.SunFontManager.<init>(SunFontManager.java:376)
 at sun.awt.FcFontManager.<init>(FcFontManager.java:35)
 at sun.awt.X11FontManager.<init>(X11FontManager.java:57)
 at java.lang.J9VMInternals.newInstanceImpl(Native Method)
 at java.lang.Class.newInstance(Class.java:1852)
 at sun.font.FontManagerFactory$1.run(FontManagerFactory.java:83)
 at java.security.AccessController.doPrivileged(AccessController.java:678)
 at sun.font.FontManagerFactory.getInstance(FontManagerFactory.java:74)
 at java.awt.Font.<init>(Font.java:614)
 at java.awt.Font.createFont(Font.java:1056)
 at net.sf.jasperreports.engine.fonts.AwtFontManager.getAwtFont(AwtFontManager.java:89)
 at net.sf.jasperreports.engine.fonts.SimpleFontFace.loadFont(SimpleFontFace.java:181)
 at net.sf.jasperreports.engine.fonts.SimpleFontFace.setTtf(SimpleFontFace.java:162)
 at net.sf.jasperreports.engine.fonts.SimpleFontExtensionHelper.parseFontFace(SimpleFontExtensionHelper.java:390)
 at net.sf.jasperreports.engine.fonts.SimpleFontExtensionHelper.parseFontFamily(SimpleFontExtensionHelper.java:311)
 at net.sf.jasperreports.engine.fonts.SimpleFontExtensionHelper.parseFontExtensions(SimpleFontExtensionHelper.java:259)
 at net.sf.jasperreports.engine.fonts.SimpleFontExtensionHelper.loadFontExtensions(SimpleFontExtensionHelper.java:230)
 at net.sf.jasperreports.engine.fonts.SimpleFontExtensionHelper.loadFontExtensions(SimpleFontExtensionHelper.java:187)
 at net.sf.jasperreports.engine.fonts.FontExtensionsRegistry.ensureFontExtensions(FontExtensionsRegistry.java:93)
 at net.sf.jasperreports.engine.fonts.FontExtensionsRegistry.getExtensions(FontExtensionsRegistry.java:57)
 at net.sf.jasperreports.extensions.DefaultExtensionsRegistry.getExtensions(DefaultExtensionsRegistry.java:134)
 at net.sf.jasperreports.engine.util.JRStyledTextParser.<clinit>(JRStyledTextParser.java:86)
 at net.sf.jasperreports.engine.fill.JRBaseFiller.<init>(JRBaseFiller.java:116)
 at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:79)
 at net.sf.jasperreports.engine.fill.JRFiller.createBandReportFiller(JRFiller.java:251)
 at net.sf.jasperreports.engine.fill.JRFiller.createReportFiller(JRFiller.java:272)
 at net.sf.jasperreports.engine.fill.BaseFillHandle.<init>(BaseFillHandle.java:86)
 at net.sf.jasperreports.engine.fill.AsynchronousFillHandle.<init>(AsynchronousFillHandle.java:120)
 at net.sf.jasperreports.engine.fill.AsynchronousFillHandle.createHandle(AsynchronousFillHandle.java:183)
 at net.sf.jasperreports.engine.fill.AsynchronousFillHandle.createHandle(AsynchronousFillHandle.java:172)
 at net.sf.jasperreports.engine.fill.AsynchronousFillHandle.createHandle(AsynchronousFillHandle.java:257)
 at com.ca.wcc.reporting.jasper.JasperHelper.buildReport(Unknown Source)
 at com.ca.wcc.reporting.jasper.JasperBuilderAndHandler.buildReport(Unknown Source)
 at com.ca.wcc.reporting.impl.ReportManagerBaseImpl.doRunCompile(Unknown Source)
 at com.ca.wcc.reporting.impl.ReportManagerAsyncImpl$3.run(Unknown Source)
 at com.ca.wcc.service.access.RunnableWithContext.doRun(Unknown Source)
 at com.ca.wcc.service.access.RunnableWithContext.run(Unknown Source)
 at com.ca.wcc.reporting.impl.ReportManagerAsyncImpl$2.run(Unknown Source)
 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
 at java.util.concurrent.FutureTask.run(FutureTask.java:266)
 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
 at java.lang.Thread.run(Thread.java:821)
2021-09-01 13:58:25,053 @reporting-rest <10.110.80.110 IBG\skivanc ~842 task #JOB_RUN_DETAILS-1> [] ERROR #ExceptionHandler                   # null
java.lang.ExceptionInInitializerError
 at java.lang.J9VMInternals.ensureError(J9VMInternals.java:148)
 at java.lang.J9VMInternals.recordInitializationFailure(J9VMInternals.java:137)
 at net.sf.jasperreports.engine.fill.JRBaseFiller.<init>(JRBaseFiller.java:116)
 at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:79)
 at net.sf.jasperreports.engine.fill.JRFiller.createBandReportFiller(JRFiller.java:251)
 at net.sf.jasperreports.engine.fill.JRFiller.createReportFiller(JRFiller.java:272)
 at net.sf.jasperreports.engine.fill.BaseFillHandle.<init>(BaseFillHandle.java:86)
 at net.sf.jasperreports.engine.fill.AsynchronousFillHandle.<init>(AsynchronousFillHandle.java:120)
 at net.sf.jasperreports.engine.fill.AsynchronousFillHandle.createHandle(AsynchronousFillHandle.java:183)
 at net.sf.jasperreports.engine.fill.AsynchronousFillHandle.createHandle(AsynchronousFillHandle.java:172)
 at net.sf.jasperreports.engine.fill.AsynchronousFillHandle.createHandle(AsynchronousFillHandle.java:257)
 at com.ca.wcc.reporting.jasper.JasperHelper.buildReport(Unknown Source)
 at com.ca.wcc.reporting.jasper.JasperBuilderAndHandler.buildReport(Unknown Source)
 at com.ca.wcc.reporting.impl.ReportManagerBaseImpl.doRunCompile(Unknown Source)
 at com.ca.wcc.reporting.impl.ReportManagerAsyncImpl$3.run(Unknown Source)
 at com.ca.wcc.service.access.RunnableWithContext.doRun(Unknown Source)
 at com.ca.wcc.service.access.RunnableWithContext.run(Unknown Source)
 at com.ca.wcc.reporting.impl.ReportManagerAsyncImpl$2.run(Unknown Source)
 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
 at java.util.concurrent.FutureTask.run(FutureTask.java:266)
 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
 at java.lang.Thread.run(Thread.java:821)
Caused by: java.lang.NullPointerException
 at sun.awt.FontConfiguration.getVersion(FontConfiguration.java:1264)
 at sun.awt.FontConfiguration.readFontConfigFile(FontConfiguration.java:219)
 at sun.awt.FontConfiguration.init(FontConfiguration.java:107)
 at sun.awt.X11FontManager.createFontConfiguration(X11FontManager.java:774)
 at sun.font.SunFontManager$2.run(SunFontManager.java:431)
 at java.security.AccessController.doPrivileged(AccessController.java:678)
 at sun.font.SunFontManager.<init>(SunFontManager.java:376)
 at sun.awt.FcFontManager.<init>(FcFontManager.java:35)
 at sun.awt.X11FontManager.<init>(X11FontManager.java:57)
 at java.lang.J9VMInternals.newInstanceImpl(Native Method)
 at java.lang.Class.newInstance(Class.java:1852)
 at sun.font.FontManagerFactory$1.run(FontManagerFactory.java:83)
 at java.security.AccessController.doPrivileged(AccessController.java:678)
 at sun.font.FontManagerFactory.getInstance(FontManagerFactory.java:74)
 at java.awt.Font.<init>(Font.java:614)
 at java.awt.Font.createFont(Font.java:1056)
 at net.sf.jasperreports.engine.fonts.AwtFontManager.getAwtFont(AwtFontManager.java:89)
 at net.sf.jasperreports.engine.fonts.SimpleFontFace.loadFont(SimpleFontFace.java:181)
 at net.sf.jasperreports.engine.fonts.SimpleFontFace.setTtf(SimpleFontFace.java:162)
 at net.sf.jasperreports.engine.fonts.SimpleFontExtensionHelper.parseFontFace(SimpleFontExtensionHelper.java:390)
 at net.sf.jasperreports.engine.fonts.SimpleFontExtensionHelper.parseFontFamily(SimpleFontExtensionHelper.java:311)
 at net.sf.jasperreports.engine.fonts.SimpleFontExtensionHelper.parseFontExtensions(SimpleFontExtensionHelper.java:259)
 at net.sf.jasperreports.engine.fonts.SimpleFontExtensionHelper.loadFontExtensions(SimpleFontExtensionHelper.java:230)
 at net.sf.jasperreports.engine.fonts.SimpleFontExtensionHelper.loadFontExtensions(SimpleFontExtensionHelper.java:187)
 at net.sf.jasperreports.engine.fonts.FontExtensionsRegistry.ensureFontExtensions(FontExtensionsRegistry.java:93)
 at net.sf.jasperreports.engine.fonts.FontExtensionsRegistry.getExtensions(FontExtensionsRegistry.java:57)
 at net.sf.jasperreports.extensions.DefaultExtensionsRegistry.getExtensions(DefaultExtensionsRegistry.java:134)
 at net.sf.jasperreports.engine.util.JRStyledTextParser.<clinit>(JRStyledTextParser.java:86)
 ... 21 more