TSCO 11.5: font error running installer or an analysis

Version 1
    Share This:

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    PRODUCT:

    TrueSight Capacity Optimization


    COMPONENT:

    Capacity Optimization 11.5.01


    APPLIES TO:

    TrueSight Capacity Optimization 11.5



    PROBLEM:

    The TSCO 11.5 there is a font error in:

       
    • setup.sh X-Windows
    •  
    • running an analysis
      

    Aug 14, 2019 4:52:44 PM com.bmc.install.product.base.project.runner.ProjectRunner
    SEVERE: THROWABLE EVENT {Description=[Error]}
    java.lang.InternalError: java.lang.reflect.InvocationTargetException
            at java.desktop/sun.font.FontManagerFactory$1.run(Unknown Source)
            at java.base/java.security.AccessController.doPrivileged(Native Method)
            at java.desktop/sun.font.FontManagerFactory.getInstance(Unknown Source)
            at java.desktop/java.awt.Font.getFont2D(Unknown Source)
            at java.desktop/java.awt.Font.canDisplayUpTo(Unknown Source)
            at com.bmc.install.product.base.project.runner.ProjectRunner.getChoosableGUILocales(ProjectRunner.java:787)
            at com.bmc.install.product.base.project.runner.ProjectRunner.initializeProjectUI(ProjectRunner.java:1889)
            at com.bmc.install.product.base.project.runner.ProjectRunner.runProjectRunner(ProjectRunner.java:2131)
            at com.bmc.install.product.base.project.runner.ProjectRunner.main(ProjectRunner.java:505)
    Caused by: java.lang.reflect.InvocationTargetException
            at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
            at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
            at java.base/java.lang.reflect.Constructor.newInstance(Unknown Source)
            ... 9 more
    Caused by: java.lang.NullPointerException
            at java.desktop/sun.awt.FontConfiguration.getVersion(Unknown Source)
            at java.desktop/sun.awt.FontConfiguration.readFontConfigFile(Unknown Source)
            at java.desktop/sun.awt.FontConfiguration.init(Unknown Source)
            at java.desktop/sun.awt.X11FontManager.createFontConfiguration(Unknown Source)
            at java.desktop/sun.font.SunFontManager$2.run(Unknown Source)
            at java.base/java.security.AccessController.doPrivileged(Native Method)
            at java.desktop/sun.font.SunFontManager.<init>(Unknown Source)
            at java.desktop/sun.awt.FcFontManager.<init>(Unknown Source)
            at java.desktop/sun.awt.X11FontManager.<init>(Unknown Source)
            ... 13 more

     


    SOLUTION:

    In the RHEL 6.x and in RHEL 7.4 there was a package name change on the OS side from open-sans-fonts" to dejavu-sans-fonts that happened in a minor release

    That error can also be generated if the fontconfig package is not installed on the machine.

    So, the recommendation to address this error is to install, or have the system administration team install two packages
     # yum install open-sans-fonts dejavu-sans-fonts
     # yum install fontconfig


    For the first command it should find one of those two packages (installing the open-sans-fonts or dejavu-sans-fonts which are the same package just under a different name)

    For the second command it will install fontconfig if you don't have it (and it has been reported that package was required as well to move beyond the error).
     


    Article Number:

    000172672


    Article Type:

    Solutions to a Product Problem



      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles