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

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign file = fileEntry.getFileEntry...  [in template "20116#20152#RESOURCE" at line 24, column 13]
----
1<#import "aqha-theme_SERVLET_CONTEXT_/templates/base22/freemarker-utils.ftl" as utils> 
2<#if displayTitle?? && displayTitle.getData() != ""> 
3	<div class="row b-source-title-container"> 
4		<div class="b-resource-title col-sm-12 col-md-12 col-lg-12 col-xl-12"> 
5            <h2 class="b-h1">${displayTitle.getData()}</h2> 
6            <div class="b-subtitles"> 
7                <span> 
8                <#if abstract?? && abstract.getData() != ""> 
9                    ${abstract.getData()} 
10                </#if> 
11                </span> 
12            </div> 
13		</div> 
14	</div> 
15</#if> 
16 
17<#if image?? && image.getData() != ""> 
18<div class="row b-source-image-container"> 
19	<div class="b-resource-image col-sm-12 col-md-12 col-lg-12 col-xl-12"> 
20	<#assign alttext = "" /> 
21	    <#if image.getData()?string?split("/")[5]??> 
22		    <#assign imgID = image.getData()?string?split("/")[5]?split("?")[0]> 
23            <#assign fileEntry = serviceLocator.findService('com.liferay.document.library.kernel.service.DLFileEntryService')> 
24            <#assign file=fileEntry.getFileEntryByUuidAndGroupId(imgID, groupId) > 
25			<#assign alttext = file.getDescription() /> 
26		</#if> 
27        <#-- Temporal fix to remove versioning issues when use export/import lar files --> 
28		<#-- TODO: Remove this temporal fix once the problem has been resolved --> 
29        <#-- <img datasrc="${utils.cleanPath(image.getData())}" data-src="${utils.cleanPath(image.getData())}" class="image-responsive b-image-to-modal lazy-load" src="" /> --> 
30		<p><img src="${utils.cleanPath(image.getData())}" datasrc="${utils.cleanPath(image.getData())}" data-src="${utils.cleanPath(image.getData())}" alt="${alttext}" class="image-responsive b-image-to-modal"  /></p> 
31        <p class="b-metadata" > ${image.getAttribute("alt")}</p> 
32	</div> 
33</div> 
34 
35<div class="row"> 
36	<div class="col-xs-8"> 
37		<@utils.createLinksForSharing displayTitle.getData() /> 
38	</div> 
39	<div class="col-xs-4"> 
40		<@utils.createZoomButtons /> 
41	</div> 
42</div> 
43</#if> 
44<#if body?? && body.getData() != ""> 
45<div class="row b-source-summary-container b-zoom-container"> 
46	<div class="b-resource-summary col-sm-12 col-md-12 col-lg-12 col-xl-12"> 
47        <p class="text-line-height-lg"> 
48            ${body.getData()} 
49		</p> 
50        <@utils.getAttachment attachment /> 
51	</div> 
52</div> 
53</#if> 
54 
55<script> 
56  //(function($){ 
57  //      $(document).on('ready', function() { 
58  //          if(!!window.tablesToCards){ 
59  //                  tablesToCards(); 
60  //          } 
61  //      }); 
62//})(jQuery); 
63//updated after upgrade to fixpack 90 
64(function($){ 
65	   var onReady5 = function() { 
66	                       // console.log('Finally hit the kickoff function tablesToCards'); 
67							tablesToCards(); 
68
69								 
70						AUI().ready(onReady5); 
71})(jQuery); 
72</script>