SAP Knowledge Base Article - Public

2543509 - Dashboard tile errors out while drilling down: 'ArrayIndexOutOfBoundsException'

Symptom

A Dashboard 2.0 tile previews fine but gives the following (or similar) error when drilling down by selecting a slice / column:

An error occurred while calculating data, please try again later or contact your administrator.

txt
Remote Exception: RuntimeException; nested exception is: java.lang.ArrayIndexOutOfBoundsException: while trying to load from index -1 of an object array with length 0, loaded from field java.util.ArrayList.elementData of an object loaded from local variable 'this'
id
17

"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."

Environment

SAP SuccessFactors HXM suite

Reproducing the Issue

  1. Login to the instance
  2. Access the affected tile either from the Hope Page or from the Dashboard sub-tab.
    For instances with Report Center, run the Dashboard from the Report Center and then expand the affected tile by clicking it.
  3. The preview works fine.

    Preview.png

  4. Attempt to drill down by clicking one of the slices:


    Error.png

  5. Drilling down by clicking the 'Select All' link works as expected.

Cause

The following feature /switch is enabled in provisioning and one or more picklist based columns are used in the tile:
Sort Picklist Columns Based On Labels

Resolution

You can disable the following switch in provisioning:
Company Settings > Analytics and Dashboard Tabs & Misc...... Reporting > Sort Picklist Columns Based On Labels

Note: Please contact your Implementation partner or create a support incident to apply the fix in provisioning.

Keywords

ArrayIndexOutOfBoundsException, Dashboard 2.0, Drill down error, Remote Exception RuntimeException, An error occurred while calculating column

, KBA , LOD-SF-ANA-DSH , YouCalc Dashboards and Tiles (Dashboards 2.0) , Problem

Product

SAP SuccessFactors HXM Suite all versions