Dataset validation error: ArrayIndexOutOfBounds

An ArrayIndexOutOfBounds error can result from using a very larger case statement that has references to calculated fields that don’t exist in the Dataset or do not use the exact alias for those columns. This is caused by an edge case when the calculated field may not get checked from the dataset before its processed on the Arcadia Analytics Engine backend for proper syntax validation, which will cause a Java error to be thrown.

Make sure that your calculated field references in this case statement exist in your Dataset first before validating your case statement to resolve this issue.

1 Like