Web UI reporting - "request to server failed" missing "FontConfiguration.java"
search cancel

Web UI reporting - "request to server failed" missing "FontConfiguration.java"

book

Article ID: 203842

calendar_today

Updated On:

Products

CA Workload Automation AE - Scheduler (AutoSys) CA Workload Automation AE

Issue/Introduction

AutoSys Web UI 12.0 installed on the Linux environment. The reporting application returns the following error while generating the reports.

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

The reporting-rest.log from the directory "$CA_WCC_INSTALL_LOCATION/log/application/reporting" has the following exception-


2020-11-10 09:09:01,527 @reporting-rest <XX.XX.XX.XX user123 ~5FA task #JOB_RUN_SUMMARY-0> [] 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:182)
    at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:77)
    at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:87)
    at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:57)
    at net.sf.jasperreports.engine.fill.JRFiller.createFiller(JRFiller.java:142)
    at net.sf.jasperreports.engine.fill.AsynchronousFillHandle.<init>(AsynchronousFillHandle.java:101)
    at net.sf.jasperreports.engine.fill.AsynchronousFillHandle.<init>(AsynchronousFillHandle.java:70)
    at net.sf.jasperreports.engine.fill.AsynchronousFillHandle.createHandle(AsynchronousFillHandle.java:292)
    at com.ca.wcc.reporting.jasper.JasperHelper.buildReport(JasperHelper.java:133)
    at com.ca.wcc.reporting.jasper.JasperBuilderAndHandler.buildReport(JasperBuilderAndHandler.java:213)
    at com.ca.wcc.reporting.impl.ReportManagerBaseImpl.doRunCompile(ReportManagerBaseImpl.java:696)
    at com.ca.wcc.reporting.impl.ReportManagerAsyncImpl$3.run(ReportManagerAsyncImpl.java:172)
    at com.ca.wcc.service.access.RunnableWithContext.doRun(RunnableWithContext.java:65)
    at com.ca.wcc.service.access.RunnableWithContext.run(RunnableWithContext.java:46)
    at com.ca.wcc.reporting.impl.ReportManagerAsyncImpl$2.run(ReportManagerAsyncImpl.java:135)
    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 sun.java2d.SunGraphicsEnvironment.getFontManagerForSGE(SunGraphicsEnvironment.java:190)
    at sun.java2d.SunGraphicsEnvironment.getAvailableFontFamilyNames(SunGraphicsEnvironment.java:224)
    at sun.java2d.SunGraphicsEnvironment.getAvailableFontFamilyNames(SunGraphicsEnvironment.java:252)
    at sun.java2d.HeadlessGraphicsEnvironment.getAvailableFontFamilyNames(HeadlessGraphicsEnvironment.java:94)
    at net.sf.jasperreports.engine.util.JRStyledTextParser.<clinit>(JRStyledTextParser.java:83)
    ... 20 more

Environment

Release : 12.0

Component : CA Workload Automation AE (AutoSys)

Cause

This exception in WebUI is because of a missing Operating System package/module,  fontconfig.x86_64,   on Linux based WebUI platform.

 

 

Resolution

Work with your Unix/Linux admins to get the required package(s) fontconfig.x86_64 installed.

Example: yum install fontconfig.x86_64

Then restart CA-wcc-services service for the issue to be resolved

Additional Information

fontconfig

https://en.wikipedia.org/wiki/Fontconfig 

https://www.freedesktop.org/wiki/Software/fontconfig/