Submit a ticketCall us

WebinarUpcoming Webinar: How Help Desk and Remote Support Pays for Itself

Learn how help desk software can simplify ticketing management, allow you to track hardware and software assets, and accelerate the speed of IT support and service delivery. Gain insights on how remote support tools allow your IT team to maximize their efficiency and ticket resolution by expediting desktop troubleshooting, ultimately helping keep end-users happy and productive.

Register here.

Home > Success Center > Database Performance Analyzer (DPA) > DPA - Knowledgebase Articles > Attempting to run a report returns the error DPA Unable to generate the chart

Attempting to run a report returns the error DPA Unable to generate the chart

Updated September 7, 2017

Overview

When the DPA server is running RHEL 7.4 (or its distributions, such as Oracle Linux 7.4), DPA returns the following error when you try to run a report: 

DPA Unable to generate the chart: java.lang.ArrayIndexOutOfBoundsException: 0

Environment

  • DPA 11.0
  • REHL 7.4 or Oracle Linux 7.4

Cause 

When you install or upgrade to RHEL v7.4, it installs the package stix-fonts, and the default font changes from Utopia to STIX. This creates a compatibility issue with the Java version used by DPA. 

Resolution

  1. Connect to the DPA server via ssh as superuser (root).

  2. Create a new file (local.conf) in this location:

    /etc/fonts/local.conf

  3. Enter the following content and save the file:

    <?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>
     

  4. Restart DPA by running ./shutdown.sh and then ./startup.sh in the DPA home directory. 

 

Last modified

Tags

Classifications

Public