Archívny zoznam objednávok

Nastala chyba počas spracovávania šablóny.
The following has evaluated to null or missing:
==> journalArticle.getDisplayDate  [in template "20096#20121#55997" at line 29, column 39]

----
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 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 = journalArticle.getDispl...  [in template "20096#20121#55997" at line 29, column 25]
----
1<style> 
2    .datum { 
3        margin-top: 7px; 
4
5 
6    .list { 
7        margin-bottom: 7px; 
8
9 
10    .journal-content-article { 
11        width: 100%; 
12
13</style> 
14 
15<div class="container-fluid container-fluid-max-xl"> 
16    <div class="row m-0"> 
17        <div class="col-md-12 p-0"> 
18            <br /> 
19        </div> 
20    </div> 
21    <#if entries?has_content> 
22        <#list entries as curEntry> 
23            <div class="row list m-1"> 
24                <div class="journal-content-article"> 
25                    <#assign 
26                        assetRenderer = curEntry.getAssetRenderer() 
27                        journalArticle = assetRenderer.getAssetObject() 
28                        viewURL = assetPublisherHelper.getAssetViewURL(renderRequest, renderResponse, assetRenderer, entry, !stringUtil.equals(assetLinkBehavior, "showFullContent"))?replace("\\?.*$", "", "r") 
29                        displayDate = journalArticle.getDisplayDate() 
30 
31                        doc = saxReaderUtil.read(journalArticle.getContent()) 
32                        <#-- Aktuality SK aj EN - povinna polozka --> 
33                        <#-- Clanok jednoduchy SK - NEpovinna polozka --> 
34                        Description_en = doc.valueOf("//dynamic-element[@field-reference='Description']/dynamic-content[@language-id='en_US']/text()") 
35                        Description_sk = doc.valueOf("//dynamic-element[@field-reference='Description']/dynamic-content[@language-id='sk_SK']/text()") 
36                        <#-- Clanok SK aj EN - NEpovinna polozka --> 
37                        cUvodText_en = doc.valueOf("//dynamic-element[@field-reference='c_uvod_text']/dynamic-content[@language-id='en_US']/text()") 
38                        cUvodText_sk = doc.valueOf("//dynamic-element[@field-reference='c_uvod_text']/dynamic-content[@language-id='sk_SK']/text()") 
39                        <#-- Clanok SK aj EN - povinna polozka -->  
40                        cObsahText_en = doc.valueOf("//dynamic-element[@field-reference='c_obsah_text']/dynamic-content[@language-id='en_US']/text()") 
41                        cObsahText_sk = doc.valueOf("//dynamic-element[@field-reference='c_obsah_text']/dynamic-content[@language-id='sk_SK']/text()") 
42                        <#-- Clanok jednoduchy SK - NEpovinna polozka --> 
43                        obsah = doc.valueOf("//dynamic-element[@field-reference='obsah']/dynamic-content/text()") 
44                        <#-- Basic Web Content - NEpovinna polozka --> 
45                        content_en = doc.valueOf("//dynamic-element[@field-reference='content']/dynamic-content[@language-id='en_US']/text()") 
46                        content_sk = doc.valueOf("//dynamic-element[@field-reference='content']/dynamic-content[@language-id='sk_SK']/text()") 
47 
48                        summary = Description_sk?has_content?then(Description_sk, Description_en) 
49                    /> 
50 
51                    <#if !summary?has_content> 
52                        <#if cUvodText_sk?has_content> 
53                            <#assign summary = cUvodText_sk /> 
54                        <#elseif cUvodText_en?has_content> 
55                            <#assign summary = cUvodText_en /> 
56                        <#elseif cObsahText_sk?has_content> 
57                            <#assign summary = cObsahText_sk /> 
58                        <#elseif cObsahText_en?has_content> 
59                            <#assign summary = cObsahText_en /> 
60                        <#elseif obsah?has_content> 
61                            <#assign summary = obsah /> 
62                        <#elseif content_sk?has_content> 
63                            <#assign summary = content_sk /> 
64                        <#else> 
65                            <#assign summary = content_en /> 
66                        </#if> 
67                    </#if> 
68                     
69                    <div class="col-md-12 p-0"> 
70                        <h3> 
71                            <a style="text-decoration:none;" href="${viewURL}">${journalArticle.getTitle()}</a> 
72                        </h3> 
73                        <hr style="margin-top: 12px;margin-bottom: 10px;"/> 
74                    </div> 
75                     
76                    <div class="col-md-12 p-0"> 
77                        <div class="asset-summary"> 
78                            ${stringUtil.shorten(htmlUtil.stripHtml(summary)?trim, 200)} 
79                        </div> 
80                    </div> 
81                     
82                    <div class="asset-more"> 
83                        <a href="${viewURL}"> 
84                            ${languageUtil.get(locale, "read-more-article")} » 
85                        </a> 
86                    </div> 
87 
88                    <p class="datum">${displayDate?string("dd.MM.yyyy")}</p> 
89                </div> 
90            </div> 
91            <#sep> 
92                <br /> 
93            </#sep> 
94        </#list> 
95    </#if> 
96</div>