You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FreeMarker template error:
The following has evaluated to null or missing:
==> message [in template "freemarker/base.ftl" at line 6, column 14]
Tip: If the failing expression is known to be 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. (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: ${message.get("WEBSITE_TITLE")} [in template "freemarker/base.ftl" in macro "masterTemplate" at line 6, column 12]
- Reached through: @layout.masterTemplate title="index" [in template "freemarker/index/index.ftl" at line 2, column 1]
This is the DebugScreen bit:
Caught Exception Rendering DebugScreen:
java.lang.IllegalArgumentException: freemarker.core._MiscTemplateException: Can't convert boolean to string automatically, because the "boolean_format" setting was "true,false", which is the legacy default computer-language format, and hence isn't accepted.
Tip: If you just want "true"/"false" result as you are generting computer-language output, use "?c", like ${myBool?c}.
Tip: You can write myBool?string('yes', 'no') and like to specify boolean formatting in place.
Tip: If you need the same two values on most places, the programmers should set the "boolean_format" setting to something like "yes,no".
FTL stack trace ("~" means nesting-related):
- Failed at: ${data[k]} auto-escaped [in template "debugscreen.ftl" at line 107, column 54]
The text was updated successfully, but these errors were encountered:
Any help would be appreciated.
The details:
Using Maven 4
versions of spark dependencies in project.
Partial dump of error message:
Caught Exception:
FreeMarker template error:
The following has evaluated to null or missing:
==> message [in template "freemarker/base.ftl" at line 6, column 14]
Tip: If the failing expression is known to be 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. (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: ${message.get("WEBSITE_TITLE")} [in template "freemarker/base.ftl" in macro "masterTemplate" at line 6, column 12]
- Reached through: @layout.masterTemplate title="index" [in template "freemarker/index/index.ftl" at line 2, column 1]
Caught Exception Rendering DebugScreen:
java.lang.IllegalArgumentException: freemarker.core._MiscTemplateException: Can't convert boolean to string automatically, because the "boolean_format" setting was "true,false", which is the legacy default computer-language format, and hence isn't accepted.
Tip: If you just want "true"/"false" result as you are generting computer-language output, use "?c", like ${myBool?c}.
Tip: You can write myBool?string('yes', 'no') and like to specify boolean formatting in place.
Tip: If you need the same two values on most places, the programmers should set the "boolean_format" setting to something like "yes,no".
FTL stack trace ("~" means nesting-related):
- Failed at: ${data[k]} auto-escaped [in template "debugscreen.ftl" at line 107, column 54]
The text was updated successfully, but these errors were encountered: