A sintaxe do FreeMarker é inválida.
The following has evaluated to null or missing:
==> valuesMap[fieldName][0].getValue().getString(locale) [in template "template_id" at line 13, column 29]
----
Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use [#if myOptionalVar??]when-present[#else]when-missing[/#if]. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----
----
FTL stack trace ("~" means nesting-related):
- Failed at: #assign rawValue = valuesMap[fieldNam... [in template "template_id" in function "getFieldValue" at line 13, column 9]
----
The following has evaluated to null or missing:
==> valuesMap[fieldName][0].getValue().getString(locale) [in template "template_id" at line 13, column 29]
----
Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use [#if myOptionalVar??]when-present[#else]when-missing[/#if]. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----
----
FTL stack trace ("~" means nesting-related):
- Failed at: #assign rawValue = valuesMap[fieldNam... [in template "template_id" in function "getFieldValue" at line 13, column 9]
----