Photos And Videos

Photos And Videos

An error occurred while processing the template.
Java method "mnp.custom.dlfile.util.DLFileUtilServiceImpl.getFileVersion(Long)" threw an exception when invoked on mnp.custom.dlfile.util.DLFileUtilServiceImpl object "mnp.custom.dlfile.util.DLFileUtilServiceImpl@48570658"; see cause exception in the Java stack trace.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #if dlAppServiceUtil.getFileVersion(f...  [in template "20116#20152#114030" at line 20, column 49]
----
1<#if entries?has_content> 
2	<div class="popup-gallery"> 
3		<div class="row"> 
4	<#list entries as curEntry> 
5		<#assign rootElement = saxReaderUtil.read(curEntry.getAssetRenderer().getArticle().getContentByLocale(locale)).getRootElement()> 
6		<div class="col-lg-3 col-md-4 col-sm-6 col-xs-6 gallery-box"> 
7		<#list rootElement.elements() as dynamicElement> 
8			<#if "photo" == dynamicElement.attributeValue("name") > 
9				<#assign  
10					imageContent = dynamicElement.element("dynamic-content") 
11					photo = dynamicElement.element("dynamic-content").getData() 
12					/> 
13				<a href=${photo} title="${curEntry.getTitle(locale)}"> 
14					<#assign dlAppServiceUtil = serviceLocator.findService("mnp.custom.dlfile.util.DLFileUtilService") />  
15					<#assign  
16						fileEntryIdNumber = imageContent.attributeValue("fileEntryId") 
17					/> 
18					<#if fileEntryIdNumber?? && fileEntryIdNumber?has_content> 
19						<#assign fileEntryIdNumber = imageContent.attributeValue("fileEntryId")?number /> 
20						<#if dlAppServiceUtil.getFileVersion(fileEntryIdNumber)?? && dlAppServiceUtil.getFileVersion(fileEntryIdNumber)?has_content> 
21							<@adaptive_media_image["img"]  
22							fileVersion=dlAppServiceUtil.getFileVersion(fileEntryIdNumber)  
23							class="modal-img"/>  
24						<#else> 
25							<img src=${photo} class="modal-img" /> 
26						</#if> 
27					<#else> 
28						<img src=${photo} class="modal-img" /> 
29					</#if> 
30					 
31				</a> 
32			</#if> 
33		</#list> 
34			<p>${stringUtil.shorten(curEntry.getTitle(locale),40)}</p> 
35		</div> 
36	</#list> 
37	</div> 
38		</div> 
39<#else> 
40 <h1>${themeDisplay.translate("mnp-no-data-available")}</h1> 
41</#if> 
HOT NEWS
January 4,