Ocorreu um erro ao processar o template.
Java method "com.sun.proxy.$Proxy105.getDLFileEntryByUuidAndGroupId(String, long)" threw an exception when invoked on com.sun.proxy.$Proxy105 object "com.liferay.portlet.documentlibrary.service.impl.DLFileEntryLocalServiceImpl@7ee6132d"; see cause exception in the Java stack trace.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign dlFileEntry = dlFileEntryLoca...  [in template "20099#20135#43463" at line 8, column 1199]
----
1<section data-aos="fade-up" id="noticiasHome"> 
2   <h1 class="title1 text-center"><a href="/noticias" title="Ver lista notícias">Notícias</a></h1> 
3   <div class="container"> 
4      <div class="row"> 
5         <#if entries?has_content> 
6         <#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService")> 
7         <#assign dlFileEntryLocalService = serviceLocator.findService("com.liferay.document.library.kernel.service.DLFileEntryLocalService")> 
8         <#assign HttpUtil = staticUtil["com.liferay.portal.kernel.util.HttpUtil"] /> <#list entries as curEntry> <#assign article = curEntry.getAssetRenderer().getArticle() /> <#assign assetRenderer = curEntry.getAssetRenderer() /> <#assign viewURL = assetPublisherHelper.getAssetViewURL(renderRequest, renderResponse, assetRenderer, curEntry, !stringUtil.equals(assetLinkBehavior, "showFullContent")) /> <#assign journalArticle = assetRenderer.getArticle() /> <#assign className = assetRenderer.getClassName() /> <#if curEntry?index==0> <div class="col-md-7 col-sm-12"> <div class="noticiasItem"> <div class="row"> <div class="col-md-6 col-sm-12"> <div class="noticiasHomeImg"> <#if className == "com.liferay.journal.model.JournalArticle"> <#assign fields = assetRenderer.getDDMFormValuesReader().getDDMFormValues().getDDMFormFieldValues() /> <#list fields as field> <#if field.getName() == "imagemNoticia"> <#assign articleImageAsJson = jsonFactoryUtil.createJSONObject(field.getValue().getString(locale)) /> <#if articleImageAsJson.uuid?? && articleImageAsJson.uuid!= ""> <#assign entryUuid = articleImageAsJson.uuid /> <#assign entryGroupId = getterUtil.getLong(articleImageAsJson.groupId) /> <#assign dlFileEntry = dlFileEntryLocalService.getDLFileEntryByUuidAndGroupId(entryUuid, entryGroupId) /> <#assign assetEntry = assetEntryLocalService.getEntry("com.liferay.document.library.kernel.model.DLFileEntry", dlFileEntry.fileEntryId) /> <#assign assetRenderer = assetEntry.assetRenderer /> <#assign docUrl = assetRenderer.getURLDownload(themeDisplay) /> <#assign end =docUrl?split("&")/> <div style=" background: url(${end[0]}) no-repeat center center ; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; height: 200px; "></div> <#else> <div style=" background: url(data:image/ png;base64,iVBORw0KGgoAAAANSUhEUgAAAlgAAABQCAQAAABvo8MTAAAA4ElEQVR42u3UQREAAAjDMKYc6aBjd4mEPprbAagQwwIMC8CwAMMCMCwAwwIMC8CwAAwLMCwAwwIwLMCwAAwLwLAAwwIwLADDAgwLwLAADAswLADDAjAswLAADAvAsADDAjAswLAMCzAsAMMCDAvAsAAMCzAsAMMCMCzAsAAMC8CwAMMCMCwAwwIMC8CwAAwLMCwAwwIwLMCwAAwLwLAAwwIwLADDAgwLwLAAwxIBMCwAwwIMC8CwAAwLMCwAwwIwLMCwAAwLwLAAwwIwLADDAgwLwLAADAswLADDAjAsoN0D6N53sbeu0UwAAAAASUVORK5CYII=) no-repeat center center ; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; height: 200px; "></div> </#if> </#if> </#list> </#if> </div> </div> <div class="col-md-6 col-sm-12"> <div class="noticiasDate"> <#assign articleDisplayDate = article.displayDate/> 
9          
10 <#assign date=article.displayDate> 
11  <#setting time_zone = languageUtil.get(locale, "template-timezone")> 
12 
13<#-- Saving original locale to be able to reset it to that later --> 
14<#assign originalLocale = locale> 
15 
16<#-- Set locale to en_US to be able to parse the date string and make it a date object --> 
17<#setting locale = 'pt_PT'> 
18 
19 ${dateUtil.getDate(date, "dd MMM yyyy", locale)} 
20          
21         </div> <div class="noticiasTitle">${curEntry.getTitle(locale)}</div> <div class="noticiasLink"><a title="${curEntry.getTitle(locale)}" href="/detalhenoticias/-/asset_publisher/Hlh4Wzlma1lB/content/${HttpUtil.encodeURL(journalArticle.getUrlTitle())}">Saber mais</a></div> </div> </div> </div> </div> </#if> <#if curEntry?index==1> <div class="col-md-5 col-sm-12"> <div class="noticiasItem"> <div class="noticiasDate">${article.displayDate?string["dd MMM yyyy"]}</div> <div class="noticiasTitle">${curEntry.getTitle(locale)}</div> <div class="noticiasLink"><a title="${curEntry.getTitle(locale)}" href="/detalhenoticias/-/asset_publisher/Hlh4Wzlma1lB/content/${HttpUtil.encodeURL(journalArticle.getUrlTitle())}">Saber mais</a></div> </div> </#if> <#if curEntry?index==2> <div class="noticiasItem"> <div class="noticiasDate">${article.displayDate?string["dd MMM yyyy"]}</div> <div class="noticiasTitle">${curEntry.getTitle(locale)}</div> <div class="noticiasLink"> <a title="${curEntry.getTitle(locale)}" href="/detalhenoticias/-/asset_publisher/Hlh4Wzlma1lB/content/${HttpUtil.encodeURL(journalArticle.getUrlTitle())}">Saber mais</a></div> </div> </div> </#if> </#list> </#if> </div> </div> </section>