KNOWLEDGE BASE

Error "System error: java.lang.RuntimeException:" When Running Flow with Custom Split and String Function in Same Step


Published: 17 Apr 2019
Last Modified Date: 17 May 2019

Issue

When a step contains a calculation that uses a string function and the calculation is followed by a custom split, and the number of fields that the custom split produces is 11 or more, running the flow may result in the following error:

System error: java.lang.RuntimeException:
java.lang.ClassCastException

Environment

Tableau Prep 2019.1

Resolution

As a workaround, place the string calculation and the custom split in separate steps and insert an empty step between them.
 

Cause

This behavior is related to Issue ID 887002, for which a fix is expected in a future release.

Additional Information

The upper limit for the number of fields resulting from a custom split was increased from 10 to 150 in Tableau Prep 2019.1.2.
Did this article resolve the issue?