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

Environment

SuccessFactors Dashboard 2.0

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

We currently have a limitation with the aforementioned combination.
The issue is being investigated by our Development team.
internal ticket # AYT-15856

Resolution

Until AYT-15856 is resolved, please 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
index -1
RuntimeException
Remote Exception , KBA , LOD-SF-ANA-DSH , Dashboard and YouCalc , Problem

Product

SAP SuccessFactors HCM Core all versions