Si è verificato un errore nell'elaborarazione del modello.
Java method "com.sun.proxy.$Proxy176.getDLFileEntryByUuidAndGroupId(String, long)" threw an exception when invoked on com.sun.proxy.$Proxy176 object "com.liferay.document.library.internal.service.FriendlyURLDLFileEntryLocalServiceWrapper@57d8e38b"; see cause exception in the Java stack trace.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign file = DLFileEntryLocalServic...  [in template "10155#10195#12755085" at line 139, column 41]
----
1<#setting time_zone=timeZone.ID> 
2<#setting locale="it_IT"> 
3 
4 
5<div id="pagina-evento" class="assets-news-container container-fluid"> 
6 
7     <div class="row-fluid"> 
8 
9		<div class="span8"> 
10 
11			<div class="data text-uppercase date"> 
12 
13			<#if DataVisualizzazione.getData() != "" > 
14 
15 
16                <#assign DataVisualizzazione_DateObj = getterUtil.getString(DataVisualizzazione.getData()) /> 
17                <#assign date = dateUtil.parseDate("yyyy-MM-dd", DataVisualizzazione_DateObj, locale) /> 
18                ${date?string('dd MMMM yyyy')} 
19 
20            </#if> 
21 
22    </div> 
23 
24	<h1 class="titolo title"> 
25		 ${.vars['reserved-article-title'].data} 
26	</h1> 
27 
28 
29    <#assign JournalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") /> 
30    <#assign journalArticleId = .vars['reserved-article-id'].data/> 
31    <#assign article = JournalArticleLocalService.getArticle(groupId, journalArticleId) /> 
32	<#assign AssetEntryLocalServiceUtil = staticUtil["com.liferay.asset.kernel.service.AssetEntryLocalServiceUtil"] /> 
33    <#assign entry = AssetEntryLocalServiceUtil.fetchEntry("com.liferay.journal.model.JournalArticle", article.resourcePrimKey) /> 
34    <#assign DLFileEntryLocalServiceUtil =  serviceLocator.findService('com.liferay.document.library.kernel.service.DLFileEntryLocalService') /> 
35 
36    <#assign docXml = saxReaderUtil.read(entry.getAssetRenderer().getArticle().getContent()) /> 
37	<#assign immagine = docXml.valueOf("//dynamic-element[@name='Immagine']/dynamic-content/text()") /> 
38    <div> 
39	   <#list entry.getCategories() as category> 
40			<#assign catName = category.getName()?lower_case /> 
41			<#assign catName = catName?replace("à","a") /> 
42			<#assign catNameIcon = catName?replace(" e ","_") /> 
43			<#assign catNameLink = catName?replace(" ","-") /> 
44			<span><a href="/web/sportello-imprese-unlock/news/${catNameLink}" title="Leggi altre notizie della categoria ${catName}" class="nodecoration"><i class="circle-block rt-icon-${catNameIcon} "></i></a></span> 
45		</#list> 
46	</div> 
47	 
48    <#assign isVisible = getterUtil.getBoolean(Immagine.MostraSoloElenco.getData()) /> 
49 
50 
51	<#if Immagine.getData() != "" && !isVisible> 
52        <img class="img-top img-responsive" alt="${Immagine.getAttribute("alt")}" data-fileentryid="${Immagine.getAttribute("fileEntryId")}" src="${Immagine.getData()}" /> 
53 
54    <#else> 
55    	<#if immagine != "" && !isVisible> 
56    		<#assign json = jsonFactoryUtil.createJSONObject(immagine) /> 
57				<#if json.has("uuid")> 
58    	 	<#assign uuid = json.getString("uuid") /> 
59    	 	<#assign groupIdScopedd = themeDisplay.getLayout().getGroup().getGroupId() /> 
60 
61    	 	<#assign fileEntry = DLFileEntryLocalServiceUtil.getFileEntryByUuidAndGroupId(uuid,groupIdScopedd) /> 
62         	<#assign fileUrl2 = "/documents/" + fileEntry.getGroupId() + "/" + fileEntry.getFolderId() + "/" + fileEntry.getTitle() + "/" + fileEntry.getUuid() /> 
63         	<img class="img-top img-responsive" alt="${fileEntry.getTitle()}" src="${fileUrl2}" /> 
64				</#if> 
65    	</#if> 
66 
67    </#if> 
68 
69 
70 
71    <#if IdVideoYoutube.getData() != "" > 
72	    <div class="video"> 
73		    <iframe width="460" height="315" src="https://www.youtube-nocookie.com/embed/${IdVideoYoutube.getData()}"  allowfullscreen style="width: 100%; border:0"> 
74 
75		    </iframe> 
76	    </div> 
77	</#if> 
78	<#if Sottotitolo.getData() != "" > 
79		<h2 class="subtitle">${Sottotitolo.getData()}</h2> 
80    </#if> 
81 
82    <#if Contenuto.getData() != "" > 
83    <div class="contenuto">${Contenuto.getData()}</div> 
84    </#if> 
85 
86	<div class="post-social pull-right"> 
87		<div class="condividi text-uppercase">Condividi</div> 
88		<ul class="inline"> 
89			<li> 
90				<a class="fb_share" href="" title="Condividi su Facebook"> 
91				    <span class="hide">Condividi su Facebook</span> 
92					<span class="icon-stack" > 
93						<i class="fa-brands fa-facebook-f"></i> 
94					</span> 
95				</a> 
96			 </li> 
97			 <li> 
98				<a class="gplus" href="" title="Condividi su google plus"> 
99				    <span class="hide">Condividi su google plus</span> 
100					<span class="icon-stack" > 
101					<i class="fa-brands fa-google-plus-g"></i> 
102					</span> 
103				</a> 
104			 </li> 
105			 <li> 
106				<a class="tweet" href="" title="Condividi su x"> 
107				    <span class="hide">Condividi su x</span> 
108					<span class="icon-stack" > 
109						<i class="fa-solid fa-x"></i> 
110					</span> 
111				</a> 
112			 </li> 
113		</ul> 
114	</div> 
115	<div class="clearfix"></div> 
116 
117	<#if Documenti.getSiblings()?has_content && Documenti.getSiblings()?size gt 0 && Documenti.getSiblings()?first?? && (Documenti.getSiblings()?first).getData()?? && (Documenti.getSiblings()?first).getData()?has_content> 
118		<h3 class="subtitle text-uppercase">Documenti Allegati</h3> 
119		<div class="table tabella-allegati"> 
120	        <#list Documenti.getSiblings() as cur_Allegati> 
121	            <#if cur_Allegati?has_content && cur_Allegati.getData() != ""> 
122					<#assign groupId = "" > 
123					<#assign uuId = "" > 
124 
125					<#assign counter = 0 > 
126 
127					<#list "${cur_Allegati.getData()}"?split("/") as x> 
128						<#if counter == 2> 
129							<#assign groupId = x?number?long > 
130						</#if> 
131 
132						<#if counter == 5> 
133							<#assign uuId = x?split("?")[0] > 
134						</#if> 
135 
136						<#assign counter = counter+1 > 
137					</#list> 
138 
139					<#assign file = DLFileEntryLocalServiceUtil.getDLFileEntryByUuidAndGroupId(uuId, groupId) /> 
140 
141					<div class="row-table attachments"> 
142						<div class="cell-table min-width-table"> 
143							<i class="fa-light fa-file fa-2x"></i> 
144						</div> 
145						<div class="cell-table"> 
146							<a href="${cur_Allegati.getData()}" target="_blank"> ${file.fileName}</a> 
147						</div> 
148 
149                    </div> 
150                </#if> 
151            </#list> 
152        </div> 
153	</#if> 
154	 
155	<style> 
156		span.icon-stack i { 
157    display: block; 
158    position: relative; 
159    width: 100%; 
160    text-align: center; 
161    padding-top: 8px; 
162    color: #fff; 
163    height: 100%; 
164
165 
166    span.icon-stack { 
167    background: #212121; 
168    border-radius: 50%; 
169    width: 30px !important; 
170    height: 30px !important; 
171    display: inline-block; 
172
173		 
174		ul.inline a:hover{ 
175		text-decoration: none!important; 
176
177		 
178		.post-social.pull-right li { 
179    position: relative; 
180    left: 15px; 
181
182		 
183		.contenuto p { 
184    font-size: 15px!important; 
185
186		 
187		.rt-icon-industria-40:before { 
188    content: "\e607"; 
189    background-color: #5681ae; 
190
191	</style> 
192	 
193	<#if Photogallery.getSiblings()?has_content && Photogallery.getSiblings()?size gt 0 && Photogallery.getSiblings()?first?? && (Photogallery.getSiblings()?first).getData()?? && (Photogallery.getSiblings()?first).getData()?has_content> 
194    <#if locale == "it_IT" > 
195    <h3 class="subtitle text-uppercase">Galleria Fotografica</h3> 
196    <#elseif locale == "en_US"> 
197    <h3 class="subtitle text-uppercase">Photo gallery</h3> 
198    <#else> 
199    <h3 class="subtitle text-uppercase">Galería de fotos</h3> 
200    </#if> 
201    <!-- SEZIONE GALLERIA --> 
202    <div id="gallery-div"> 
203        <#if (Photogallery?? && Photogallery.getData()?has_content) &&  Photogallery.getData()!="">	  
204         
205        <!-- Gallery --> 
206            <ul class="dsu-gallery dsu-grid"> 
207            <#assign count = 0 /> 
208            <#list Photogallery.getSiblings() as cur_Immaginegalleria> 
209                 
210                <#if cur_Immaginegalleria?? && cur_Immaginegalleria.getData()?? && cur_Immaginegalleria.getData() != ""> 
211                    <#assign altImage = "Immagine dell'articolo"/> 
212                     
213                    <#if cur_Immaginegalleria.getAttribute("alt")?? > 
214                        <#assign altImage = cur_Immaginegalleria.getAttribute("alt") /> 
215                    </#if> 
216                <li class="dsu-gallery__item"> 
217                <a data-lightbox="galleria1" data-title="${altImage}" href="${cur_Immaginegalleria.getData()}"> 
218                    <img alt="${altImage}" src="${cur_Immaginegalleria.getData()}"> 
219                </a> 
220                </li> 
221                </#if> 
222                <#assign count = (count + 1) /> 
223            </#list> 
224            </ul> 
225             
226             
227             
228            <script> 
229            $(document).ready(function(){ 
230                $('.dsu-gallery').slick({infinite: true, slidesToShow: 4}); 
231            }); 
232            </script> 
233             
234            <style> 
235             
236            /*li.dsu-gallery__item.slick-slide.slick-active { 
237                height: 85px; 
238            }*/ 
239             
240            #gallery-div { 
241                border: 1px solid #ececec; 
242                padding: 2em 3em 2em 3em; 
243                background-color: #e6e6e6; 
244
245             
246            ul.dsu-gallery.dsu-grid { 
247                padding-left: 0; 
248
249             
250            .slick-track 
251
252                display: flex !important; 
253
254 
255            .slick-slide 
256
257                height: inherit !important; 
258
259 
260            .slick-slide img { 
261                height: 100%; 
262                padding: 0.25rem; 
263
264 
265            </style> 
266             
267        </#if> 
268    </div> 
269    </#if> 
270	 
271	 
272	 
273	 
274	 
275	 
276    <div class="clearfix"></div> 
277			<div class="pull-right text-uppercase readmore"><a href="https://unlock.toscana.it/eventi" title="Archivio Eventi">TUTTI GLI EVENTI > </a></div> 
278			<div class="clearfix"></div> 
279		</div> 
280 
281		<div class="info-utili span4"> 
282 
283			<h3>Info Utili</h3> 
284			<div> 
285				<#if Relatore.getData()?has_content> 
286					<div><span>Relatore: </span>${Relatore.getData()}</div> 
287				</#if> 
288				<#if Luogo.getData()?has_content> 
289					<div><span>Luogo: </span>${Luogo.getData()}</div> 
290				</#if> 
291				<#if Orario.getData()?has_content> 
292					<div><span>Orario: </span>${Orario.getData()}</div> 
293				</#if> 
294			</div> 
295 
296		</div> 
297 
298 
299	</div> 
300 
301</div>