Open JRE Dependency not Installed

Problem

If Universal Controller produces an exception similar to the following when exporting a dashboard widget or generating a scheduled chart report, a required dependency may not be installed.

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)
        ...

When using the java-1.8.0-openjdk-headless package from the EL7 repository, it did does not include a required dependency; specifically, fontconfig.

Solution

Installing the fontconfig dependency, along with its own dependencies, will resolve the issue.

yum install fontconfig

Alternatively, you can use the non-headless package, java-1.8.0-openjdk.