When trying to install the DevTest server on a VM with RedHat Linux 7.x with the command ./devtest_linux_x64.sh -c getting the below error:
Unpacking JRE ...
Preparing JRE ...
Starting Installer ...
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)
Another occurrence of this error was observed in the Enterprise Dashboard when running "Export All License Usage Data"
In the browser: An internal error has occurred.
In the enterprisedashboard.log:
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)
Release : 10.6
Component : CA Service Virtualization
This happens when the font directory that Adopt OpenJDK should provide does not exist
Installing fontconfig package in RHEL 7.x server using the below commands:
yum install fontconfig
yum install dejavu-sans-font
After these packages install, you will not get the error installing DevTest.
If you run the above commands and get this warning message:
This system is registered to Red Hat Subscription Management, but is not receiving updates. You can use subscription-manager to assign subscriptions.
*** WARNING ***
The subscription for following product(s) has expired:
<it will list products here>
You no longer have access to the repositories that provide these products. It is important that you apply an active subscription in order to resume access to security and other critical updates. If You don't have other active subscriptions, you can renew the expired subscription.
No package fontconfig available.
Error: Nothing to do
Reach out to your Linux administrator to renew your subscriptions.