Submit a ticketCall us

Announcing NCM 7.7
With NCM 7.7, you can examine the rules that make up an access control list for a Cisco ASA device. Then you can apply filters to display only rules that meet the specified criteria, order the rules by line number or by the hit count, and much more.
See new features and improvements.

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
13:22, 7 Sep 2017

Tags

Classifications

Public