Si è verificato un errore nell'elaborarazione del modello.
The following has evaluated to null or missing:
==> curEntry.getAssetRenderer()  [in template "10154#10192#17343254" at line 13, column 38]

----
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 assetRenderer = curEntry.getA...  [in template "10154#10192#17343254" at line 13, column 13]
----
1<#assign siteBaseURL = themeDisplay.getPortalURL() + themeDisplay.getPathFriendlyURLPublic() + themeDisplay.getLayout().getGroup().getFriendlyURL() />  
2<#assign DLFileEntryLocalServiceUtil = staticUtil["com.liferay.document.library.kernel.service.DLFileEntryLocalServiceUtil"] /> 
3<#assign LayoutLocalServiceUtil = staticUtil["com.liferay.portal.kernel.service.LayoutLocalServiceUtil"] /> 
4 
5<#assign lista = [] /> 
6 
7<div class="rt-page__content"> 
8    <#if entries?has_content> 
9 
10        <#assign counter = 0 /> 
11        <#list entries as curEntry>     
12 
13            <#assign assetRenderer = curEntry.getAssetRenderer() /> 
14            <#assign className = assetRenderer.getClassName() /> 
15                     
16            <#if className = "com.liferay.journal.model.JournalArticle" > 
17                <#assign article = assetRenderer.getArticle() />  
18                <#if article?? > 
19                    <#assign docXml = saxReaderUtil.read(article.getContent()) /> 
20 
21                    <#assign rendererURL = siteBaseURL + "/-/" + assetRenderer.getUrlTitle() /> 
22 
23                    <#assign nomeCognome = docXml.valueOf("//dynamic-element[@name='NomeECognome']/dynamic-content/text()") /> 
24                     
25                    <#assign assessoratodiRiferimento = docXml.valueOf("//dynamic-element[@name='AssessoratoDiRiferimento']/dynamic-content/text()") /> 
26                    <#assign ulterioreNomina = docXml.valueOf("//dynamic-element[@name='UlterioreNomina']/dynamic-content/text()") /> 
27 
28                    <#assign linkAllaPagina = docXml.valueOf("//dynamic-element[@name='LinkAllaPagina']/dynamic-content/text()") /> 
29                    <#assign layoutSplitted = linkAllaPagina?split("@") /> 
30 
31                    <#assign layoutId = getterUtil.getLong(layoutSplitted[0]) /> 
32                    <#assign groupId = getterUtil.getLong(layoutSplitted[2]) /> 
33 
34                    <#assign layout = LayoutLocalServiceUtil.getLayout(groupId, false , layoutId) /> 
35 
36                    <#assign assessoreUrl = siteBaseURL + layout.getFriendlyURL(locale) /> 
37 
38                    <#assign immagineProfilo = docXml.valueOf("//dynamic-element[@name='ImmagineProfilo']/dynamic-content/text()") /> 
39                    <#assign json = jsonFactoryUtil.createJSONObject(immagineProfilo) /> 
40                    <#assign nameImg = json.getString("name") /> 
41                    <#assign fileEntryId = json.getLong("fileEntryId") /> 
42                    <#assign altImg = json.getString("alt") /> 
43                    <#assign fileUrl = "" /> 
44                     
45                    <#if fileEntryId != 0> 
46                        <#assign fileEntry = DLFileEntryLocalServiceUtil.getFileEntry(fileEntryId) />  
47                        <#assign fileUrl = "/documents/" + fileEntry.getGroupId() + "/" + fileEntry.getFolderId() + "/" + fileEntry.getTitle() + "/" + fileEntry.getUuid() />  
48                    </#if> 
49 
50                    <#if counter == 0> 
51                        <div class="rt-page__content"> 
52                            <div class="rt-box rt-box--member"> 
53                                <div class="rt-box__member-image"> 
54                                    <img alt="Immagine del presidente della Giunta Regionale ${nomeCognome}" src="${fileUrl?html}"> 
55                                </div> 
56                                 
57 
58                                <div class="rt-box__member-details"> 
59                                    <h2 class="rt-box__member-name"> 
60                                        <a title="Vai ai dettagli del membro della Giunta Regionale ${nomeCognome}" aria-label="Vai ai dettagli del membro della Giunta Regionale ${nomeCognome}" href="${assessoreUrl}"> 
61                                            ${nomeCognome} 
62                                        </a> 
63                                    </h2> 
64                                    <div class="rt-box__member-role">${assessoratodiRiferimento?html}</div> 
65                                    <a title="Vai ai dettagli del membro della Giunta Regionale ${nomeCognome}" aria-label="Vai ai dettagli del membro della Giunta Regionale ${nomeCognome}" href="${assessoreUrl}" class="rt-btn rt-btn-light rt-btn-view"> 
66                                        Dettagli 
67                                    </a> 
68                                </div> 
69                            </div> 
70                        </div> 
71                    <#else> 
72                        <#assign lista = lista + [ curEntry ]> 
73                    </#if> 
74 
75                    <#assign counter = counter + 1 /> 
76                </#if> 
77            </#if>     
78        </#list> 
79 
80        <#if lista?has_content> 
81            <div class="rt-page__content rt-page__content-grid"> 
82                <#list lista as curEntry> 
83 
84                    <#assign assetRenderer = curEntry.getAssetRenderer() /> 
85                    <#assign className = assetRenderer.getClassName() /> 
86                             
87                    <#if className = "com.liferay.journal.model.JournalArticle" > 
88                     
89                        <#assign article = assetRenderer.getArticle() />  
90                        <#if article?? > 
91 
92                            <#assign docXml = saxReaderUtil.read(article.getContent()) /> 
93 
94                            <#assign rendererURL = siteBaseURL + "/-/" + assetRenderer.getUrlTitle() /> 
95 
96                            <#assign nomeCognome = docXml.valueOf("//dynamic-element[@name='NomeECognome']/dynamic-content/text()") /> 
97                             
98                            <#assign assessoratodiRiferimento = docXml.valueOf("//dynamic-element[@name='AssessoratoDiRiferimento']/dynamic-content/text()") /> 
99                            <#assign ulterioreNomina = docXml.valueOf("//dynamic-element[@name='UlterioreNomina']/dynamic-content/text()") /> 
100 
101                            <#assign linkAllaPagina = docXml.valueOf("//dynamic-element[@name='LinkAllaPagina']/dynamic-content/text()") /> 
102                            <#assign layoutSplitted = linkAllaPagina?split("@") /> 
103 
104                            <#assign layoutId = getterUtil.getLong(layoutSplitted[0]) /> 
105                            <#assign groupId = getterUtil.getLong(layoutSplitted[2]) /> 
106 
107                            <#assign layout = LayoutLocalServiceUtil.getLayout(groupId, false , layoutId) /> 
108 
109                            <#assign assessoreUrl = siteBaseURL + layout.getFriendlyURL(locale) /> 
110 
111                            <#assign immagineProfilo = docXml.valueOf("//dynamic-element[@name='ImmagineProfilo']/dynamic-content/text()") /> 
112                            <#assign json = jsonFactoryUtil.createJSONObject(immagineProfilo) /> 
113                            <#assign nameImg = json.getString("name") /> 
114                            <#assign fileEntryId = json.getLong("fileEntryId") /> 
115                            <#assign altImg = json.getString("alt") /> 
116                            <#assign fileUrl = "" /> 
117                             
118                            <#if fileEntryId != 0> 
119                                <#assign fileEntry = DLFileEntryLocalServiceUtil.getFileEntry(fileEntryId) />  
120                                <#assign fileUrl = "/documents/" + fileEntry.getGroupId() + "/" + fileEntry.getFolderId() + "/" + fileEntry.getTitle() + "/" + fileEntry.getUuid() />  
121                            </#if> 
122                             
123                            <div class="rt-box rt-box--member"> 
124                                <div class="rt-box__member-image" aria-label="Immagine ${nomeCognome}" style="background-image: url('${fileUrl?html}');"> 
125                                </div> 
126                                 
127                                 
128                             
129 
130                                <div class="rt-box__member-details"> 
131                                    <h2 class="rt-box__member-name"><a title="Vai ai dettagli del membro della Giunta Regionale ${nomeCognome}" aria-label="Vai ai dettagli del membro della Giunta Regionale ${nomeCognome}" href="${assessoreUrl?html}">${nomeCognome}</a></h2> 
132                                    <div class="rt-box__member-role">${assessoratodiRiferimento?html}</div> 
133                                    <#if ulterioreNomina?has_content> 
134                                        <div class="rt-box__member-role">${ulterioreNomina?html}</div> 
135                                    </#if> 
136                                    <a title="Vai ai dettagli del membro della Giunta Regionale ${nomeCognome}" aria-label="Vai ai dettagli del membro della Giunta Regionale ${nomeCognome}" href="${assessoreUrl?html}" class="rt-btn rt-btn-light rt-btn-view">Dettagli</a> 
137                                </div> 
138                            </div> 
139                             
140                        </#if> 
141                    </#if> 
142                </#list> 
143            </div>     
144        </#if>     
145    </#if> 
146</div>