Products | Versions |
---|---|
Spotfire Analyst | All Versions |
In the custom expression dialog window, the red exclamation point (!) error icon is displayed with the alt-text "The expression is too complex" for a new expression or an expression that was working in an earlier Spotfire version.
Symptoms:
When entering an expression (for a calculated column, axis custom expression, etc.), the red exclamation point error icon (!) is displayed in the custom expression dialog window, with the alt-text "The expression is too complex." This can also be seen after an upgrade to Spotfire version 6.5 or later, for an expression that was valid in the earlier version of Spotfire. The error means the expression is not valid and cannot be run. The dialog's OK button is also disabled so that the expression cannot be saved.
Cause:
Expression complexity limits were introduced in Spotfire 6.5.0 HF-001 to help prevent stack overflow errors. These complexity-limit settings were also back-ported to earlier versions, but the limits were set to infinity so there would be no changes in the default behavior. The new settings were introduced in the following Spotfire client hotfixes and also exist in later hotfixes and newer versions.