An error occurred while processing the template.
Java method "static com.liferay.document.library.kernel.service.DLFileEntryLocalServiceUtil.getFileEntryByUuidAndGroupId(String, long)" threw an exception; see cause exception in the Java stack trace.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign fileEntry = DLFileEntryLocalS...  [in template "10154#10192#32565140" at line 86, column 73]
----
1<#setting locale="it_IT"> 
2 
3<#assign siteBaseURL = themeDisplay.getPortalURL() + themeDisplay.getPathFriendlyURLPublic() + themeDisplay.getLayout().getGroup().getFriendlyURL() />  
4 
5<#assign DLFileEntryLocalServiceUtil = staticUtil["com.liferay.document.library.kernel.service.DLFileEntryLocalServiceUtil"] /> 
6 
7 
8<style> 
9.rt-custom-style{ 
10	color: var(--main-color); 
11	font-weight: bold; 
12
13</style> 
14 
15 
16<#if !entries?has_content> 
17	<#if themeDisplay.isSignedIn()> 
18		<div class="alert alert-info"> 
19			<@liferay.language key="there-are-no-menu-items-to-display" /> 
20		</div> 
21	</#if> 
22</#if> 
23 
24<div class="container rt-container"> 
25    <div class="rt-wrapper"> 
26        <section class="rt-section rt-section--box rt-section--box-col-3" aria-label="Sezione degli aggiornamenti"> 
27            <div class="rt-section-title-wrapper has-button"> 
28                <h2 class="rt-section-title">${themeDisplay.getLayout().getName(locale)}</h2> 
29            </div> 
30 
31            <div class="rt-section__wrapper"> 
32                <#if entries?has_content>  
33                    <#list entries as curEntry> 
34                        <#assign assetRenderer = curEntry.getAssetRenderer() /> 
35                        <#assign className = assetRenderer.getClassName() /> 
36                         
37                        <#assign rendererURL = siteBaseURL + "/-/" + assetRenderer.getUrlTitle() /> 
38 
39                        <#if className = "com.liferay.journal.model.JournalArticle" > 
40                            <#assign article = assetRenderer.getArticle() />  
41                            <#if article?? > 
42                                <#assign docXml = saxReaderUtil.read(article.getContent()) /> 
43                                 
44                                <#assign titleText = curEntry.getTitle(locale) /> 
45                                <#assign titleLength = titleText?length /> 
46 
47                                <#if (titleLength > 98) > 
48                                    <#assign titleText = titleText?substring(0,98) /> 
49                                    <#assign titleText = titleText + "..." /> 
50                                </#if> 
51                                <div class="rt-box rt-box--update"> 
52                                    <div class="rt-box__header"> 
53                                        <div class="rt-box__wrapper"> 
54                                            <div class="rt-box__title"> 
55                                                <a title="Vai alla pagina dell'aggiornamento" aria-label="Vai alla pagina dell'aggiornamento" href="${rendererURL}"> 
56                                                    ${titleText} 
57                                                </a> 
58                                            </div> 
59                                        </div> 
60 
61                                        <div class="rt-box__icon"> 
62                                             
63                                                    <div class="rt-box__icon"> 
64                                                        <div class="rt-box__icon-label"></div> 
65                                                         
66                                                        <#if assetRenderer.getThumbnailPath(renderRequest)?? > 
67                                                            <div class="rt-box__thumb" style="background-image: url('${assetRenderer.getThumbnailPath(renderRequest)}');"></div> 
68                                                        <#else> 
69                                                            <#assign Immagine = docXml.valueOf("//dynamic-element[@name='Immagine']/dynamic-content/text()") /> 
70                                                            <#if Immagine?? && Immagine != ""> 
71                                                                <#assign json = jsonFactoryUtil.createJSONObject(Immagine) /> 
72 
73                                                                <#assign nameImg = json.getString("name") /> 
74                                                                <#assign fileEntryId = json.getLong("fileEntryId") /> 
75                                                                <#assign altImg = json.getString("alt") /> 
76                                                                <#assign fileUrl = "" /> 
77                                                                <#assign uuiD = json.getString("uuid") /> 
78                                                                <#assign groupId = json.getLong("groupId") /> 
79                                                                <#if fileEntryId != 0> 
80                                                                    <#assign fileEntry = DLFileEntryLocalServiceUtil.getFileEntry(fileEntryId) />  
81                                                                    <#assign fileUrl = "/documents/" + fileEntry.getGroupId() + "/" + fileEntry.getFolderId() + "/" + fileEntry.getTitle() + "/" + fileEntry.getUuid() />  
82                                                                    <div class="rt-box__thumb" aria-label="${altImg}" style="background-image: url('${fileUrl}');"></div> 
83                                                                <#else> 
84                                                                    <#if groupId?? && uuiD?? && groupId != 0 && uuiD != ""> 
85                                                                         
86                                                                        <#assign fileEntry = DLFileEntryLocalServiceUtil.getFileEntryByUuidAndGroupId(uuiD,groupId) />  
87                                                                        <#if fileEntry?? > 
88                                                                            <#assign fileUrl = "/documents/" + fileEntry.getGroupId() + "/" + fileEntry.getFolderId() + "/" + fileEntry.getTitle() + "/" + fileEntry.getUuid() />  
89                                                                            <div class="rt-box__thumb" aria-label="${altImg}" style="background-image: url('${fileUrl}');"></div> 
90                                                                        <#else> 
91                                                                 
92                                                                        </#if> 
93                                                                    <#else> 
94                                                                     
95                                                                    </#if> 
96                                                                 
97                                                                </#if> 
98                                                            <#else> 
99                                                                 
100                                                            </#if> 
101                                                        </#if> 
102                                                    </div> 
103                                        </div> 
104                                    </div> 
105 
106                                    <div class="rt-box__text"> 
107                                        <#assign summaryText = curEntry.getSummary(locale)?replace("&lt;/strong>","")?replace("&lt;storng>","")?replace("<strong>","")?replace("</strong>", "") /> 
108                                        <#if summaryText?? && summaryText?has_content> 
109                                            <#if (summaryText?length > 193) > 
110                                                <#assign summaryText = summaryText?substring(0,193) /> 
111                                                <#assign summaryText = summaryText + "..." /> 
112                                            </#if> 
113                                            <p>${summaryText}</p> 
114                                        <#else> 
115                                            <#assign Testo = docXml.valueOf("//dynamic-element[@name='Testo']/dynamic-content/text()") /> 
116                                            <#if Testo?? && Testo?has_content > 
117                                                <#assign appTesto = Testo?replace('<[^>]+>','','r') /> 
118                                                <#if (appTesto?length > 193) > 
119                                                    <#assign appTesto = appTesto?substring(0,193) /> 
120                                                    <#assign appTesto = appTesto + "..." /> 
121                                                </#if> 
122                                                <p>${appTesto}</p> 
123                                            </#if> 
124                                        </#if> 
125                                    </div> 
126 
127                                    <div class="rt-box__footer"> 
128                                        <#if curEntry.publishDate?? && curEntry.publishDate?has_content> 
129                                            <div class="rt-box__date-published rt-custom-style">Pubblicato il ${curEntry.publishDate?string["dd.MM.yyyy"]}</div> 
130                                        </#if> 
131                                    </div> 
132                                </div> 
133                            </#if> 
134                        </#if> 
135                    </#list> 
136                </#if> 
137            </div> 
138        </section> 
139    </div> 
140</div>