Resolution: Issue:
The issue exists in one of the BusinessEvents project Dashboard Metrics. It does not have a valid numeric value field. It is unable to create a chart and the following error message is thrown.
Error details:
!MESSAGE could not create a chart
!STACK 0
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.rangeCheck(Unknown Source)
at java.util.ArrayList.get(Unknown Source)
at com.tibco.cep.studio.dashboard.ui.chartcomponent.wizard.ChartCreator.createNewSeries(Unknown Source)
at com.tibco.cep.studio.dashboard.ui.chartcomponent.wizard.ChartCreator.createChart(Unknown Source)
at com.tibco.cep.studio.dashboard.ui.chartcomponent.wizard.ChartWizard.a(Unknown Source)
Resolution:
The charts only allow numeric values as value fields. We support set for DateTime and String since we cannot do any other 'aggregation' on them. Have at least one numeric value field in the dashboard metric to create a chart.