An error occurred while processing the template.
The following has evaluated to null or missing:
==> curEntry.getTitle(locale)  [in template "20099#20135#437372" at line 45, column 42]

----
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: #assign titleText = curEntry.getTitle...  [in template "20099#20135#437372" at line 45, column 21]
----
1<#assign DLFileEntryLocalServiceUtil = staticUtil["com.liferay.document.library.kernel.service.DLFileEntryLocalServiceUtil"] /> 
2 
3<#setting time_zone=timeZone.ID> 
4<#setting locale=locale.toString()> 
5<#setting datetime_format="dd MMMM yyyy"> 
6 
7<#assign siteBaseURL = themeDisplay.getPortalURL() + themeDisplay.getPathFriendlyURLPublic() + themeDisplay.getLayout().getGroup().getFriendlyURL() />  
8 
9<#assign cardImageURL = "" /> 
10 
11<div class="rt-home-content__news rt-row-3-cols"> 
12    <#if entries?has_content> 
13        <#list entries as curEntry> 
14                 
15            <#assign assetRenderer = curEntry.getAssetRenderer() /> 
16            <#assign className = assetRenderer.getClassName() /> 
17 
18            <#assign categoryName = "" /> 
19             
20            <#list curEntry.getCategories() as category> 
21 
22                <#if category.getName() == "Convegni"> 
23                    <#assign categoryName = category.getName() /> 
24                    <#assign cardImageURL = "/documents/422001/542858/thumb-generica-convegno.jpg/4381c4ed-1285-22b6-3532-26027e7f035f?t=1547025005547" /> 
25                </#if> 
26                <#if category.getName() == "Internet e minori"> 
27                    <#assign categoryName = category.getName() /> 
28                    <#assign cardImageURL = "/documents/422001/542858/thumb-generica-agenda.jpg/24272cd8-6481-3de2-c8e3-c4e02964a48a?t=1547025004798" /> 
29                </#if> 
30                <#if category.getName() == "Bandi e premi"> 
31                    <#assign categoryName = category.getName() /> 
32                    <#assign cardImageURL = "/documents/422001/542858/thumb-corecom-bandi.jpg/9d85f757-9c69-fd12-c500-faa947831804?t=1547027996200" /> 
33                </#if> 
34                <#if category.getName() == "Conferenza stampa"> 
35                    <#assign categoryName = category.getName() /> 
36                    <#assign cardImageURL = "/documents/422001/542858/thumb-generica-convegno.jpg/4381c4ed-1285-22b6-3532-26027e7f035f?t=1547025005547" /> 
37                </#if> 
38            </#list> 
39 
40 
41            <#if className = "com.liferay.journal.model.JournalArticle" > 
42                 <#assign article = assetRenderer.getArticle() />  
43                 <#if article?? >  
44 
45                    <#assign titleText = curEntry.getTitle(locale) /> 
46                    <#assign titleLength = titleText?length /> 
47 
48                    <#if (titleLength > 68) > 
49                        <#assign titleText = titleText?substring(0,68) /> 
50                        <#assign titleText = titleText + "..." /> 
51                    </#if> 
52 
53                    <#assign docXml = saxReaderUtil.read(article.getContent()) /> 
54 
55                    <#assign data = docXml.valueOf("//dynamic-element[@name='Data']/dynamic-content/text()") /> 
56                    <#if data?has_content && data != ""> 
57 
58                        <#assign display_date = data?datetime("yyyy-MM-dd") /> 
59                        <#assign display_date = display_date?string["dd MMMM yyyy"] /> 
60 
61                    <#else> 
62                        <#assign data =  assetRenderer.getDisplayDate() /> 
63                        <#assign display_date = data?datetime /> 
64                    </#if> 
65 
66                    <#assign rendererURL = siteBaseURL + "/-/" + assetRenderer.getUrlTitle() /> 
67                    <#assign viewURL = assetPublisherHelper.getAssetViewURL(renderRequest, renderResponse, entry) /> 
68                    <#assign immagineCopertina = docXml.valueOf("//dynamic-element[@name='ImmagineCopertina']/dynamic-content/text()") /> 
69                    <#assign json = jsonFactoryUtil.createJSONObject(immagineCopertina) /> 
70                    <#assign nameImg = json.getString("name") /> 
71                    <#assign fileEntryId = json.getLong("fileEntryId") /> 
72 
73                    <#assign fileUrl = "" /> 
74 
75                    <#if fileEntryId != 0> 
76 
77                        <#assign fileEntry = DLFileEntryLocalServiceUtil.getFileEntry(fileEntryId) />  
78                        <#assign fileUrl = "/documents/" + fileEntry.getGroupId() + "/" + fileEntry.getFolderId() + "/" + fileEntry.getTitle() + "/" + fileEntry.getUuid() />  
79                    <#else> 
80                        <#assign fileUrl = cardImageURL /> 
81                    </#if> 
82 
83                    <div class="rt-portlet-box rt-portlet-box--has-image"> 
84                        <a href="${rendererURL?html}" class="rt-portlet-box__content"> 
85                            <div class="rt-portlet-box__image"> 
86                                <img src="${fileUrl}" srcset="${fileUrl}"> 
87                            </div> 
88             
89                            <div class="rt-portlet-box__body"> 
90                                <div class="rt-portlet-box__infos"> 
91                                    <div class="rt-portlet-box__infos-category"> 
92                                        ${categoryName} 
93                                    </div> 
94             
95                                    <div class="rt-portlet-box__infos-date"> 
96                                        ${display_date} 
97                                    </div> 
98                                </div> 
99             
100                                <h2 class="rt-portlet-box__title"> 
101                                    ${titleText}  
102                                </h2> 
103                            </div> 
104                        </a> 
105                    </div> 
106                 </#if> 
107            </#if> 
108        </#list>  
109    </#if> 
110</div>