DevTest installs fails on RedHat 7.4

Document ID : KB000008370
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

During DevTest installation on a RedHat v7.4 machine, the install fails with an java.lang.ArrayIndexOutOfBoundsException.

Environment:
All supported DevTest platforms.RedHat v7.4Note: As of this writing, RedHat v7.4 is not a supported OS.
Cause:

RedHat v7.4 (upgraded from v7.3 or fresh install) comes with package "stix-fonts".
When this package is installed, the default font is changed from "Utopia" to "STIX". 
So, java now default fonts are mapped to "STIX", including the "sans-serif" font family.
The "STIX" fonts do not seem to play well with java and causes exceptions and bad calculated artifact positioning.

 

Resolution:

The default font needs to be changed back to Utopia.

Create this file: /etc/fonts/local.conf

With the following contents:
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
  <alias>
    <family>serif</family>
    <prefer><family>Utopia</family></prefer>
  </alias>
  <alias>
    <family>sans-serif</family>
    <prefer><family>Utopia</family></prefer>
  </alias>
  <alias>
    <family>monospace</family>
    <prefer><family>Utopia</family></prefer>
  </alias>
  <alias>
    <family>dialog</family>
    <prefer><family>Utopia</family></prefer>
  </alias>
  <alias>
    <family>dialoginput</family>
    <prefer><family>Utopia</family></prefer>
  </alias>
</fontconfig>

Additional Information:

You must log out and for your changes to take effect.