Submit a ticketCall us

Systems Monitoring for Dummies
Our new eBook will teach you the fundamentals and help you create monitors and alerts that are effective, meaningful, and actionable. Monitoring is more than a checkbox on your to-do list. This free eBook will give you practical advice to help you succeed in all aspects of monitoring – discovery, alerting, remediation, and troubleshooting. Don’t miss out on this indispensable resource for newbies, experienced IT pros, and everyone in between. Register Now.

Home > Success Center > Database Performance Analyzer (DPA) > 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