Issue
When building/running the Mendix application, an error occurs, and the error is as follows:
System.AggregateException: One or more errors occurred. (Index was outside the bounds of the array.)
---> System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Mendix.Modeler.Microflows.TemplateUtil.<>c__DisplayClass2_0.<CreateMicroflowExpression>g__GetParameter|1(Int32 index) in Mendix.Modeler.Microflows\Templates\TemplateUtil.cs:line 53
at Mendix.Modeler.Microflows.TemplateUtil.ParseElements(String templateText, Func`2 textHandler, Func`2 parameterHandler) in Mendix.Modeler.Microflows\Templates\TemplateUtil.cs:line 16
<..>This error prevents the application from running.
Environment
Studio Pro 10.24.13 and lower
Cause
The error is caused by a placeholder in a text box widget that is not properly configured. Specifically, a placeholder is defined (e.g., {1}), but no parameter is set. In Mendix Studio Pro 10.24.13 and lower, the consistency error that notes this problem is not available, causing the problem while building/running the application.
Solution/Workaround
Upgrade to Mendix Studio Pro 10.24.14 or higher to find the missing placeholder parameter and add the parameter.
Internal information related
266923
CJZ85RLTA/p1765363591221909
WTF-2500
Additional information
not applicable
0 Comments