Release Automation - Install Fails on RedHat 7.4

Document ID : KB000103844
Last Modified Date : 16/10/2018
Show Technical Document Details
Issue:
During Release Automation installation or Agent installation on a RedHat v7.4 machine, the install fails with an java.lang.ArrayIndexOutOfBoundsException.
Environment:
All supported Release Automation version on RedHat v7.4
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:
Not Applicable