2024年11月30日
freemarker.core.InvalidReferenceException: The following has evaluated to null or missing: ==> layout.picUrl [in template "1244" at line 3, column 77] ---- Tip: It's the step after the last dot that caused this error, not those before it. ---- 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. (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: ${layout.picUrl} [in template "1244" at line 3, column 75] ---- -->
freemarker.core.InvalidReferenceException: The following has evaluated to null or missing: ==> layout.pdfUrl [in template "1245" at line 23, column 98] ---- Tip: It's the step after the last dot that caused this error, not those before it. ---- 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. (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: #if sibling.pdfUrl == layout.pdfUrl [in template "1245" at line 23, column 77] ---- -->