Details
-
Improvement
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
None
-
None
-
None
Description
Steps
- add a FAQ component to home page
- click on FAQ component, select a sample FAQ document.
- Click Save, click Close
- nothing is shown
Log:
[INFO] [talledLocalContainer] 10.04.2015 14:25:07 ERROR http-nio-8080-exec-4 [_Log4jLoggerFactory$Log4jLogger.error:60] Error executing FreeMarker template
[INFO] [talledLocalContainer] FreeMarker template error:
[INFO] [talledLocalContainer] The following has evaluated to null or missing:
[INFO] [talledLocalContainer] ==> document.title [in template "webfile:/freemarker/hstdefault/faqlist-main.ftl" at line 8, column 7]
[INFO] [talledLocalContainer]
[INFO] [talledLocalContainer] ----
[INFO] [talledLocalContainer] Tip: It's the step after the last dot that caused this error, not those before it.
[INFO] [talledLocalContainer] ----
[INFO] [talledLocalContainer] Tip: If the failing expression is known to be legally refer to something that's 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)??
[INFO] [talledLocalContainer] ----
[INFO] [talledLocalContainer]
[INFO] [talledLocalContainer] ----
[INFO] [talledLocalContainer] FTL stack trace ("~" means nesting-related):
[INFO] [talledLocalContainer] - Failed at: ${document.title?html} [in template "webfile:/freemarker/hstdefault/faqlist-main.ftl" at line 8, column 5]
[INFO] [talledLocalContainer] ----
[INFO] [talledLocalContainer]
[INFO] [talledLocalContainer] Java stack trace (for programmers):
[INFO] [talledLocalContainer] ----
[INFO] [talledLocalContainer] freemarker.core.InvalidReferenceException: [... Exception message was already printed; see it above ...]