Si è verificato un errore nell'elaborarazione del modello.
The following has evaluated to null or missing:
==> mostraImmagineSlideshow  [in template "10154#10192#291301" at line 26, column 14]

----
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: #if mostraImmagineSlideshow.getData()...  [in template "10154#10192#291301" in macro "primo_piano_immagine" at line 26, column 9]
	- Reached through: @primo_piano_immagine  [in template "10154#10192#291301" at line 78, column 17]
	~ Reached through: #nested  [in template "10154#10192#291301" in macro "primo_piano" at line 50, column 9]
	~ Reached through: @primo_piano  [in template "10154#10192#291301" at line 76, column 13]
----
1<#function parseLiferayDate of> 
2    <#setting time_zone = languageUtil.get(locale, "template-timezone") />  
3    <#assign originalLocale = locale />  
4    <#setting locale = localeUtil.getDefault() /> 
5     
6    <#assign result = of?datetime("EEE, d MMM yyyy HH:mm:ss Z") /> 
7     
8    <#setting locale = originalLocale /> 
9     
10    <#return result> 
11</#function> 
12 
13<#assign 
14    articleTitle = .vars['reserved-article-title'].data 
15    articleDate = parseLiferayDate(.vars['reserved-article-display-date'].data) 
16    /> 
17 
18<#macro primo_piano_title> 
19	<h2 class="title-color card-title pb-3 mt-0 text-uppercase"> 
20	    ${articleTitle} 
21	</h2> 
22</#macro> 
23 
24 
25<#macro primo_piano_immagine> 
26	<#if mostraImmagineSlideshow.getData()?? && getterUtil.getBoolean(mostraImmagineSlideshow.getData())> 
27	 
28		<#if immagineSlideshow.getData()?? && immagineSlideshow.getData() != ""> 
29			<p class="my-3 mx-3 px-4"> 
30				<img data-fileentryid="${immagineSlideshow.getAttribute("fileEntryId")}"  
31					 alt="${immagineSlideshow.getAttribute("alt")}"  
32					 src="${immagineSlideshow.getData()}"  
33					 class="img-responsive img-carousel" style="height: 280px; width:500px; padding-left:10px;" /> 
34			</p> 
35		</#if> 
36	</#if>	 
37</#macro> 
38 
39 
40<#macro primo_piano_date> 
41    <#local formato = "dd/MM/yyyy" /> 
42 
43	<p>${dateUtil.getDate(articleDate, formato, locale)}</p> 
44</#macro> 
45 
46<#macro primo_piano> 
47	<article class="item pl-4" aria-hidden="false"> 
48	    <@primo_piano_title /> 
49 
50        <#nested> 
51	</article> 
52</#macro> 
53 
54<#function getCategoryName> 
55    <#local journalArticleId = .vars['reserved-article-id'].data> 
56    <#local journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") /> 
57    <#local currentArticle = journalArticleLocalService.getArticle(groupId, journalArticleId) /> 
58    <#local articleResourcePK = currentArticle.getResourcePrimKey() /> 
59    <#local assetCategoryLocalServiceUtil = staticUtil["com.liferay.asset.kernel.service.AssetCategoryLocalServiceUtil"]> 
60    <#local categoryList=assetCategoryLocalServiceUtil.getCategories("com.liferay.journal.model.JournalArticle", articleResourcePK)> 
61     
62    <#if categoryList?has_content> 
63        <#list categoryList as category> 
64            <#if ["avvisi", "sentenze", "statistiche", "eventi"]?seq_contains(category.name)> 
65                <#return category.name> 
66            </#if> 
67        </#list> 
68    </#if> 
69     
70    <#return null> 
71</#function> 
72 
73<div class="container-fluid news news-${getCategoryName()?string}"> 
74    <div class="row row-no-gaps"> 
75        <div class="col-lg-12"> 
76            <@primo_piano> 
77                <@primo_piano_date /> 
78                <@primo_piano_immagine /> 
79				 
80                <#if ((TestoCompleto!{}).data!"")?trim?length gt 0> 
81                    ${TestoCompleto.data} 
82                </#if> 
83            </@> 
84        </div> 
85    </div> 
86</div>