Kick off meeting - Kick off meeting - SASPAS

Asset Publisher

An error occurred while processing the template.
Java method "com.sun.proxy.$Proxy181.getFileEntryByUuidAndGroupId(String, long)" threw an exception when invoked on com.sun.proxy.$Proxy181 object "com.liferay.portlet.documentlibrary.service.impl.DLFileEntryServiceImpl@49ba0511"; see cause exception in the Java stack trace.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign file = dlFileEntryService.get...  [in template "20099#20135#40037" at line 8, column 4907]
----
1<div class="events container pl-1 pr-1"> 
2	<!--div class="breadcrumb-details d-flex pb-3 pl-5 ml-2 font-weight-bold"> 
3    	<a href="/home">Home</a>&nbsp;&nbsp;/&nbsp;&nbsp;<a href="/events">Events</a>&nbsp;&nbsp;/&nbsp;&nbsp;<a href="" style="color: #1abae9">Details</a> 
4    </div--> 
5	<div class="slider-details d-flex align-items-center justify-content-center" style="background-image: url('/documents/20126/51018/Rectangle.png/e994fa0f-49e8-a3ca-d66a-51eb385cfafc?t=1547458674086'); background-size: cover; background-position: center;"> 
6		<div class="row slider-details-info d-flex flex-column justify-content-center text-center"> 
7			<#setting locale = localeUtil.getDefault()> 
8			<#assign fomatDate = "dd/MM/yyyy" /> <#assign dataPublished = .vars['reserved-article-display-date'].data/> <#assign dataPublished = dataPublished?datetime("EEE, d MMM yyyy HH:mm:ss Z")/> <#assign dataPublished = dateUtil.getDate(dataPublished, fomatDate, locale)/> <#assign dataModified = .vars['reserved-article-modified-date'].data/> <#assign dataModified = dataModified?datetime("EEE, d MMM yyyy HH:mm:ss Z")/> <#assign dataModified = dateUtil.getDate(dataModified, fomatDate, locale)/> <#if Title.getData()?has_content> <h2 class="slider-title pb-3">${Title.getData()}</h2> </#if> <div class="subtitle">Published on ${dataPublished} (last modified ${dataModified})</div> <a class="pt-2" href="/events"> <button type="button" class="btn bottone white" style="font-size: larger;">BACK TO ALL EVENTS</button> </a> </div> </div> <div class="box-map row"> <div class="col-md-4 col-sm-12 col-xs-12 d-flex justify-content-center"> <div class="row w-100 pl-0 pr-0"> <div class="col-md-2 col-sm-2"></div> <div class="col-md-8 col-sm-8 d-flex flex-column justify-content-center"> <div class=""> <#if DateFrom.getData()?has_content> <#assign DateFrom_Data = getterUtil.getString(DateFrom.getData())> <#if validator.isNotNull(DateFrom_Data)> <#assign DateFrom_DateObj = dateUtil.parseDate("yyyy-MM-dd", DateFrom_Data, locale)> <p class="title mb-0 text">START DATE</p> <p class="pb-0 mb-2 text"> ${dateUtil.getDate(DateFrom_DateObj, "MMM dd, yyyy", locale)} h.${FromHour.getData()}</p> </#if> </#if> </div> <div class=""> <#if DateTo.getData()?has_content> <#assign DateTo_Data = getterUtil.getString(DateTo.getData())> <#if validator.isNotNull(DateTo_Data)> <#assign DateTo_DateObj = dateUtil.parseDate("yyyy-MM-dd", DateTo_Data, locale)> <p class="title mb-0 text">END DATE</p> <p class="pb-0 mb-2 text">${dateUtil.getDate(DateTo_DateObj, "MMM dd, yyyy", locale)} h.${ToHour.getData()}</p> </#if> </#if> </div> <div class=""> <#if Place.getData()?has_content> <p class="title mb-0 text">PLACE</p> <p class="pb-0 mb-2 text">${Place.getData()?replace('<[^>]+>','','r')}</p> </#if> </div> <div class=""> <#if Address.getData()?has_content> <p class="title mb-0 text">ADDRESS</p> <p class="pb-0 mb-2 text">${Address.getData()?replace('<[^>]+>','','r')}</p> </#if> </div> <div class=""> <#if EventReferencePersonNameSurname.getData()?has_content || EventReferencePersonPhone.getData()?has_content || EventReferencePersonEmail.getData()?has_content> <p class="title mb-0 text">CONTACT</p> <#if EventReferencePersonNameSurname.getData()?has_content> <p class="font-weight-bold mb-0">${EventReferencePersonNameSurname.getData()}</p> </#if> <#if EventReferencePersonPhone.getData()?has_content> <div class="d-flex"> <div class="col-md-1 pl-0 pr-0"> <img src="/documents/20135/34097/phone.png" /> </div> <div class="col-md-11 pl-0">${EventReferencePersonPhone.getData()}</div> </div> </#if> <#if EventReferencePersonEmail.getData()?has_content> <div class="d-flex"> <div class="col-md-1 pl-0 pr-0"> <img src="/documents/20135/34097/mail.png" /> </div> <div class="col-md-11 pl-0">${EventReferencePersonEmail.getData()}</div> </div> </#if> </#if> </div> </div> <div class="col-md-2 col-sm-2"></div> </div> </div> <div class="col-md-8 col-sm-12 col-xs-12 pl-0 pr-0"> <#if GoogleMaps.getData()?has_content> <#assign googleUrl = GoogleMaps.getData()?replace('<[^>]+>','','r') /> <iframe src="${googleUrl}" width="100%" height="400" frameborder="0" style="border:0" allowfullscreen></iframe> </#if> </div> </div> <div class="row pt-5 d-flex align-items-center justify-content-center"> <div class="w-50"> <#if Abstract.getData()?has_content> <div class="text-title-secondary">${Abstract.getData()}</div> </#if> <#if FullText.getData()?has_content> <div class="text-justify text-content">${FullText.getData()}</div> </#if> </div> </div> <#if ImageOfTheGallery.getSiblings()?has_content> <#assign count = 0 /> <#list ImageOfTheGallery.getSiblings() as cur_ImageOfTheGallery> <#if cur_ImageOfTheGallery.getData()?has_content && cur_ImageOfTheGallery.getData()?length gt 0> <#assign count = count + 1 /> </#if> </#list> <#if count gt 0> <div class="event-gallery"> <div class="custom-carousel"> <div id="customcarousel" class="carousel slide carousel-thumbnails" data-ride="carousel"> <#assign imageMimeTypes = propsUtil.getArray("dl.file.entry.preview.image.mime.types")/> <#assign videoMimeTypes = propsUtil.getArray("dl.file.entry.preview.video.mime.types")/> <#assign count = 0 /> <!-- Indicators --> <div class="maxwidth-class carousel-indicators"> <#list ImageOfTheGallery.getSiblings() as cur_ImageOfTheGallery> <#if cur_ImageOfTheGallery.getData()?has_content & cur_ImageOfTheGallery.getData()?length gt 0> <#assign splitter = cur_ImageOfTheGallery.getData()?split("/") /> <#assign dlFileEntryService = serviceLocator.findService('com.liferay.document.library.kernel.service.DLFileEntryService') /> <#assign file = dlFileEntryService.getFileEntryByUuidAndGroupId(splitter[5]?split("?")[0], splitter[2]?number) /> <#assign dlFileEntryLocalService = serviceLocator.findService("com.liferay.document.library.kernel.service.DLFileEntryLocalService")> <#assign dlFileEntry = dlFileEntryLocalService.getDLFileEntryByUuidAndGroupId(splitter[5]?split("?")[0], splitter[2]?number) /> <#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService")> <#assign assetEntry = assetEntryLocalService.getEntry("com.liferay.document.library.kernel.model.DLFileEntry", dlFileEntry.fileEntryId) /> <#assign assetRenderer = assetEntry.assetRenderer /> <#assign docUrl = assetRenderer.getURLDownload(themeDisplay) /> <#if imageMimeTypes?seq_contains(file.getMimeType())> <#if count == 0> <div data-target="#customcarousel" data-slide-to="${count}" class="car-ind-element active"> <img class="thumbnail img-fluid fluidImg" src="${docUrl}" /> </div> <#else> <div data-target="#customcarousel" data-slide-to="${count}" class="car-ind-element"> <img class="thumbnail img-fluid fluidImg" src="${docUrl}" /> </div> </#if> <#assign count = count + 1 /> <#elseif videoMimeTypes?seq_contains(file.getMimeType())> <#if count == 0> <div data-target="#customcarousel" data-slide-to="${count}" class="car-ind-element active"> <img class="thumbnail img-fluid fluidImg" src="/documents/20126/0/Play.png"> </div> <#else> <div data-target="#customcarousel" data-slide-to="${count}" class="car-ind-element"> <img class="thumbnail img-fluid fluidImg" src="/documents/20126/0/Play.png"> </div> </#if> <#assign count = count + 1 /> </#if> </#if> </#list> </div> <!-- The slideshow --> <div class="carousel-inner"> <#assign count = 0 /> <#list ImageOfTheGallery.getSiblings() as cur_ImageOfTheGallery> <#if cur_ImageOfTheGallery.getData()?has_content & cur_ImageOfTheGallery.getData()?length gt 0> <#assign splitter = cur_ImageOfTheGallery.getData()?split("/") /> <#assign dlFileEntryService = serviceLocator.findService('com.liferay.document.library.kernel.service.DLFileEntryService') /> <#assign file = dlFileEntryService.getFileEntryByUuidAndGroupId(splitter[5]?split("?")[0], splitter[2]?number) /> <#assign dlFileEntryLocalService = serviceLocator.findService("com.liferay.document.library.kernel.service.DLFileEntryLocalService")> <#assign dlFileEntry = dlFileEntryLocalService.getDLFileEntryByUuidAndGroupId(splitter[5]?split("?")[0], splitter[2]?number) /> <#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService")> <#assign assetEntry = assetEntryLocalService.getEntry("com.liferay.document.library.kernel.model.DLFileEntry", dlFileEntry.fileEntryId) /> <#assign assetRenderer = assetEntry.assetRenderer /> <#assign docUrl = assetRenderer.getURLDownload(themeDisplay) /> <#if imageMimeTypes?seq_contains(file.getMimeType())> <#if count == 0> <div class="carousel-item active"> <img src="${docUrl}" /> </div> <#else> <div class="carousel-item"> <img src="${docUrl}"> </div> </#if> <#assign count = count + 1 /> <#elseif videoMimeTypes?seq_contains(file.getMimeType())> <#if count == 0> <div class="carousel-item active"> <video class="video-fluid" controls> <source src="${docUrl}" type="${file.getMimeType()}" /> </video> </div> <#else> <div class="carousel-item"> <video class="video-fluid" controls> <source src="${docUrl}" type="${file.getMimeType()}" /> </video> </div> </#if> <#assign count = count + 1 /> </#if> </#if> </#list> </div> <!-- Left and right controls --> <div class="row d-flex justify-content-between"> <a class="carousel-control-prev" href="#customcarousel" data-slide="prev"> <span class="carousel-control-prev-icon"></span> </a> <a class="carousel-control-next" href="#customcarousel" data-slide="next"> <span class="carousel-control-next-icon"></span> </a> </div> </div> </div> </div> </#if> </#if> </div>