Si è verificato un errore nell'elaborarazione del modello.
Denied access to method or field forName of class java.lang.Class

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign textFormatter = portal.getCla...  [in template "10155#10195#12290" at line 101, column 17]
----
1<#setting locale=locale> 
2<div id="pagina-evento" class="assets-news-container container-fluid"> 
3 
4	<#assign JournalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") /> 
5	<#assign articleId = getterUtil.getLong(.vars['reserved-article-id'].data) /> 
6	<#assign article = JournalArticleLocalService.fetchArticle(articleId)!"" /> 
7	<#if article?has_content> 
8	    <#assign resourcePrimKey = article.resourcePrimKey /> 
9	<#else> 
10	    <#assign resourcePrimKey = "" /> 
11	</#if> 
12 
13	<#assign AssetCategoryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetCategoryLocalService") /> 
14	<#assign categories = AssetCategoryLocalService.getCategoryNames("com.liferay.journal.model.JournalArticle", getterUtil.getLong(resourcePrimKey)) /> 
15	<div> 
16		<#list categories as category> 
17			<#assign catName = category.getName()?lower_case /> 
18			<#assign catName = catName?replace("à","a") /> 
19			<#assign catNameIcon = catName?replace(" e ","_") /> 
20			<#assign catNameLink = catName?replace(" ","-") /> 
21			<span><a href="${catNameLink}" title="Leggi altre notizie della categoria ${catName}" class="nodecoration"><i class="circle-block"></i></a></span> 
22		</#list> 
23	</div> 
24 
25	 <div class="data text-uppercase date" style="font-size: 14px;"> 
26		<#assign DataVisualizzata_DateObj = getterUtil.getString(DataVisualizzazione.getData()) /> 
27		<#assign display_date = DataVisualizzata_DateObj?datetime("yyyy-MM-dd") /> 
28		<#assign display_date = display_date?string["dd MMMM yyyy"] /> 
29		${display_date} 
30    </div> 
31 
32	<div class="clearfix"></div> 
33 
34	<div class="multimedia"> 
35	    <#if IdVideoYoutube.getData()?has_content> 
36		    <div class="video"> 
37			    <iframe width="460" height="315" src="https://www.youtube-nocookie.com/embed/${IdVideoYoutube.getData()}"  allowfullscreen style="width: 100%; border:0"> 
38			    	${IdVideoYoutube.getChild("TestoAlternativoVideo").getData()} 
39			    </iframe> 
40		    </div> 
41		</#if> 
42 
43		<#if Immagine.getData()?has_content> 
44			<#if Immagine.getChild("MostraSoloElenco").getData() != "true"> 
45			    <img class="img-top img-responsive" alt="${Immagine.getChild('TestoAlternativoImmagine').getData()}" src="${Immagine.getData()}"/> 
46		    </#if> 
47		</#if> 
48	</div> 
49 
50 
51    <div class="lancio" style="display: none;">${TestoLancio.getData()}</div> 
52	<div class="info"> 
53	    <#if Luogo.getData()?has_content> 
54		    <span>${Luogo.getData()}</span> 
55		</#if> 
56		<#if Luogo.getData()?has_content && Indirizzo.getData()?has_content> 
57		    <span style="margin-left: -5px;">, </span> 
58		</#if> 
59		<#if Indirizzo.getData()?has_content> 
60	    	<span>${Indirizzo.getData()}</span> 
61	    </#if> 
62		<#if Orario.getData()?has_content> 
63		    <br> 
64		    <#assign francese = "fr_FR"> 
65		    <#if locale == francese> 
66		    <span>Horaire : ${Orario.getData()} </span> 
67		    <#else> 
68		    <span>Ore: ${Orario.getData()}</span> 
69		    </#if> 
70		</#if> 
71		<#if Relatore.getData()?has_content> 
72		    <br> 
73	        <#assign francese = "fr_FR"> 
74		    <#if locale == francese> 
75				<span>Intervenant : ${Relatore.getData()}</span> 
76		    <#else> 
77				<span>Relatore: ${Relatore.getData()}</span> 
78		    </#if> 
79		</#if> 
80	</div> 
81 
82	<br> 
83	<#if Sottotitolo.getData()?has_content> 
84		<h4 class="sottotitolo">${Sottotitolo.getData()}</h4> 
85	</#if> 
86 
87	<div class="contenuto">${Contenuto.getData()}</div> 
88 
89	<div class="clearfix"></div> 
90 
91 
92	<#if Documenti.getSiblings()?has_content && Documenti.getData()?has_content > 
93	<div class="tabella-allegati"> 
94 
95		<h4 class="subtitle text-uppercase text-it">Documenti Allegati</h4> 
96		<h4 class="subtitle text-uppercase text-fr">Documents</h4> 
97 
98 
99		<#assign fileEntryLocalService = serviceLocator.findService("com.liferay.document.library.kernel.service.DLFileEntryLocalService") /> 
100 
101		<#assign textFormatter = portal.getClass().forName('com.liferay.portal.kernel.util.TextFormatter').newInstance() /> 
102 
103		<div class="table"> 
104			<#list Documenti.getSiblings() as cur_Documenti> 
105			        <#assign gid = getterUtil.getLong(cur_Documenti.getData()?split("/")[2]) /> 
106 
107			        <#assign fid = getterUtil.getLong(cur_Documenti.getData()?split("/")[3]) /> 
108 
109			        <#assign fileTitle = getterUtil.getString(cur_Documenti.getData()?split("/")[4]) /> 
110 
111			        <#assign uuid = getterUtil.getString(cur_Documenti.getData()?split("/")[5]?keep_before("?")) /> 
112 
113					<#assign fileEntry = fileEntryLocalService.fetchDLFileEntryByUuidAndGroupId(uuid, gid)!"" /> 
114					<#if cur_Documenti.getData()?has_content && fileEntry?has_content> 
115					<div class="row-table attachments"> 
116						<div  class="cell-table min-width-table"><i class="icon-file icon-2x"></i></div> 
117						<div  class="cell-table"><a href="${cur_Documenti.getData()}" target="_blank">${fileTitle}</a></div> 
118						<span class="cell-table cell-size">[ ${textFormatter.formatStorageSize(fileEntry.getSize(), locale)} - ${fileEntry.getExtension()} ]</span> 
119					</div> 
120					</#if> 
121			</#list> 
122		</div> 
123	</div> 
124	</#if> 
125 
126	<#if Photogallery.getData()?has_content> 
127		<div class="foto-gallery"> 
128			<h4 class="subtitle text-uppercase">Galleria Fotografica</h4> 
129			<div id="makeMeScrollable"> 
130				<#list Photogallery.getSiblings() as cur_Photogallery> 
131					<a href="${cur_Photogallery.getData()}.jpg" style="float: left;"> 
132				    	<img alt="${cur_Photogallery.getChild('TestoAlternativoPhotogallery').getData()}" src="${cur_Photogallery.getData()}" style="width:300px; height: 200px;" /><br> 
133				    </a> 
134				</#list> 
135			</div> 
136		</div> 
137	</#if> 
138 
139 
140	<div class="clearfix"></div> 
141	<div class="pull-right  readall"><a href="/web/pc-marittimo/eventi" title="Archivio eventi"><span>${languageUtil.get(locale, "po-all-events")}</span></a></div> 
142 
143</div>