ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

JRE Error When Installing DevTest 10.6.0 on Redhat 7.x: java.lang.NullPointerException at sun.awt.FontConfiguration.getVersion(FontConfiguration.java:1264)

book

Article ID: 187311

calendar_today

Updated On:

Products

CA Cloud Test Mobile CA Application Test

Issue/Introduction

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)

 

Cause

This happens when the font directory that Adopt OpenJDK should provide does not exist

Environment

Release : 10.6

Component : CA Service Virtualization

Resolution

Installing fontconfig package in RHEL 7.7 server using the below command

yum install fontconfig
yum install dejavu-sans-font

and then installing DevTest should resolve the issue.