2017 年 10 月 - 1 文章

Solo从2.2.0升级到2.4的失败错误信息

  |   2 评论   |   193 浏览

[ERROR]-[2017-10-12 23:17:09]-[org.b3log.latke.servlet.renderer.freemarker.AbstractFreeMarkerRenderer:138]: FreeMarker renders error
FreeMarker template error:
The following has evaluated to null or missing:
==> blogTitle  [in template "index.ftl" at line 5, column 25]
----
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</#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: ${blogTitle}  [in template "index.ftl" at line 5, column 23]
        - Reached through: @head title="${blogTitle}"  [in template "index.ftl" at line 5, column 9]
----
Java stack trace (for programmers):
----
freemarker.core.InvalidReferenceException: [... Exception message was already printed; see it above ...]