




(These only cover the last step of the expression to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?įTL stack trace ("~" means nesting-related): 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 when-presentwhen-missing. The following has evaluated to null or missing: Articles - FreeMarker template error (DEBUG mode use RETHROW in production!):
