Phổ biến kiến thức

Có lỗi xảy ra trong quá trình xử lý biểu mẫu.
The following has evaluated to null or missing:
==> assetRenderer.getDisplayDate()  [in template "20101#20128#33923" at line 14, 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: displayDate = assetRenderer.getDispla...  [in template "20101#20128#33923" at line 14, column 13]
	- Reached through: #assign-container  [in template "20101#20128#33923" at line 9, column 13]
----
1<#if !entries?has_content> 
2    <div class="alert alert-info"> 
3        <@liferay_ui["message"] key="document.no-document-found" /> 
4    </div> 
5<#else> 
6    <div class="row image-summary-card-asset"> 
7        <#list entries as curEntry> 
8            <#assign defaultImageURL="" /> 
9            <#assign 
10            entry = curEntry 
11            assetRenderer = entry.getAssetRenderer() 
12            entryTitle = htmlUtil.escape(assetRenderer.getTitle(locale)) 
13            entrySummary = htmlUtil.escape(assetRenderer.getSummary(renderRequest, renderResponse)) 
14            displayDate=assetRenderer.getDisplayDate() 
15            imageURL = assetRenderer.getThumbnailPath(renderRequest)!"/o/pctt-theme/images/default.jpg" 
16            viewURL = assetPublisherHelper.getAssetViewURL(renderRequest, renderResponse, assetRenderer, entry, !stringUtil.equals(assetLinkBehavior, "showFullContent")) 
17            /> 
18 
19            <div class="col-6 image-summary-card"> 
20                <div class="row image-summary-card-title"> 
21                    <div class="col"> 
22                        <a href="${viewURL}"> 
23                            ${entryTitle} 
24                        </a> 
25                        <span class="display-date"> 
26                            (${dateUtil.getDate(assetRenderer.getDisplayDate(), "dd/MM/yyyy", locale)}) 
27                        </span> 
28 
29                        <span class="float-right"> 
30                            <@getEditIcon /> 
31                        </span> 
32 
33                        <#macro getEditIcon> 
34                            <#if assetRenderer.hasEditPermission(themeDisplay.getPermissionChecker())> 
35                                <#assign editPortletURL = assetRenderer.getURLEdit(renderRequest, renderResponse, windowStateFactory.getWindowState("NORMAL"), themeDisplay.getURLCurrent())!"" /> 
36 
37                                <#if validator.isNotNull(editPortletURL)> 
38                                    <@liferay_ui["icon"] 
39                                    cssClass="icon-monospaced visible-interaction" 
40                                    icon="pencil" 
41                                    markupView="lexicon" 
42                                    message="" 
43                                    url=editPortletURL.toString() 
44                                    /> 
45                                </#if> 
46                            </#if> 
47                        </#macro> 
48                    </div> 
49                </div> 
50 
51                <div class="row image-summary-card-content"> 
52                    <div class="col-6 image-summary-card-image"> 
53                        <a href="${viewURL}"> 
54                            <img src="${imageURL}"/> 
55                        </a> 
56                    </div> 
57 
58                    <div class="col-6 image-summary-card-summary"> 
59                        <span> 
60                            ${entrySummary} 
61                        </span> 
62                    </div> 
63                </div> 
64 
65                <hr> 
66            </div> 
67        </#list> 
68    </div> 
69</#if>