...
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.
Panel | |
---|---|
Html bobswift | 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)
...
</pre> |
When using the java-1.8.0-openjdk-headless
package from the EL7 repository, it did does not include a required dependency; specifically, fontconfig
.
...
Installing the fontconfig
dependency, along with its own dependencies, will resolve the issue.
Panel | |
---|---|
Html bobswift | yum install fontconfig
</pre> |
Alternatively, you can use the non-headless package, java-1.8.0-openjdk
.