The following has evaluated to null or missing: ==> data.article.id [in template "cekasp/cekasp_photo.ftl.htm" at line 17, column 60] Tip: If the failing expression is known to be legally null/missing, either specify a default value with 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 parenthessis: (myOptionVar.foo)!myDefault, (myOptionVar.foo)?? The failing instruction (print stack trace for 3 more): ==> ${data.article.id} [in template "cekasp/cekasp_photo.ftl.htm" at line 17, column 58]