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.
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'
"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."
SAP SuccessFactors HXM suite
Reproducing the Issue
- Login to the instance
- 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.
- The preview works fine.
- Attempt to drill down by clicking one of the slices:
- Drilling down by clicking the 'Select All' link works as expected.
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
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.
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