Ocorreu um erro ao processar o template.
Java method "com.sun.proxy.$Proxy71.getEntry(long)" threw an exception when invoked on com.sun.proxy.$Proxy71 object "com.liferay.portlet.asset.service.impl.AssetEntryLocalServiceImpl@5262859e"; see cause exception in the Java stack trace.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign entry = assetEntryLocalServic...  [in template "20116#20152#104458" at line 49, column 9]
----
1<#assign serviceContext = staticUtil["com.liferay.portal.kernel.service.ServiceContextThreadLocal"].getServiceContext()> 
2<#assign httpServletRequest = serviceContext.getRequest()> 
3 
4<#if !httpServletRequest.getParameter('articleId')??> 
5 
6	<div class="row" style="margin-top:20px;"> 
7 
8	    <div class="col-md-10 col-md-offset-1" style="padding-top:20px;"> 
9	     
10		    <#if entries?has_content> 
11		    	<#list entries as curEntry> 
12 
13		    		<#assign renderer = curEntry.getAssetRenderer() /> 
14					<#assign className = renderer.getClassName() /> 
15 
16					<#if className == "com.liferay.journal.model.JournalArticle"> 
17						<#assign journalArticle = renderer.getArticle() /> 
18						<#assign document = saxReaderUtil.read(journalArticle.getContent()) /> 
19						<#assign rootElement = document.getRootElement() /> 
20				 
21						<#assign xPathSelector = saxReaderUtil.createXPath("dynamic-element[@name='title']") /> 
22						<#assign titulo = xPathSelector.selectSingleNode(rootElement).getStringValue() /> 
23						 
24						<#assign xPathSelector = saxReaderUtil.createXPath("dynamic-element[@name='subtitle']") /> 
25						<#assign subtitle = xPathSelector.selectSingleNode(rootElement).getStringValue() /> 
26						 
27			    		<div class="col-md-12" style="padding-top:30px;"> 
28			    			<div class="col-md-1"> 
29								<img style="width: 90px; height: 90px;" src="/documents/20143/31436/Projectos.png/051c880b-6aca-25a7-e251-601f0f5dae61?t=1540900009422"/> 
30			    			</div> 
31			    			<div class="col-md-11"> 
32			    				<a href="/projectos?articleId=${curEntry.getEntryId()}"><h4 style="margin:0;">${titulo}</h4></a> 
33			    				<p style="margin-top:10px;;">${subtitle}</p> 
34			    			</div> 
35			    		</div> 
36			    	</#if> 
37		    		 
38		    	</#list> 
39		    </#if> 
40 
41		</div> 
42 
43	</div> 
44 
45<#else> 
46 
47	<#assign articleId = httpServletRequest.getParameter('articleId')?number> 
48	<#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService") /> 
49	<#assign entry = assetEntryLocalService.getEntry(articleId) /> 
50 
51	<div class="row" id="printableArea"> 
52		 
53		<#assign renderer = entry.getAssetRenderer() /> 
54		<#assign className = renderer.getClassName() /> 
55 
56		<#if className == "com.liferay.journal.model.JournalArticle"> 
57			<#assign journalArticle = renderer.getArticle() /> 
58			<#assign document = saxReaderUtil.read(journalArticle.getContent()) /> 
59			<#assign rootElement = document.getRootElement() /> 
60 
61			<#assign xPathSelector = saxReaderUtil.createXPath("dynamic-element[@name='title']") /> 
62			<#assign titulo = xPathSelector.selectSingleNode(rootElement).getStringValue() /> 
63			 
64			<#assign xPathSelector = saxReaderUtil.createXPath("dynamic-element[@name='subtitle']") /> 
65			<#assign subtitle = xPathSelector.selectSingleNode(rootElement).getStringValue() /> 
66			 
67			<#assign xPathSelector = saxReaderUtil.createXPath("dynamic-element[@name='content']") /> 
68			<#assign conteudo = xPathSelector.selectSingleNode(rootElement).getStringValue() /> 
69 
70 
71			<div class="col-md-10 col-md-offset-1"> 
72				 
73				<div class="col-md-12" style="padding-top:50px; padding-bottom:50px;"> 
74					 
75					<div class="col-md-9"> 
76						<div class="col-md-1"> 
77							<img style="width: 90px; height: 90px;" src="/documents/20143/31436/Projectos.png/051c880b-6aca-25a7-e251-601f0f5dae61?t=1540900009422"/> 
78						</div> 
79						<div class="col-md-11"> 
80							<h4 style="margin: 0;">${titulo}</h4> 
81							<p style="margin-top:10px;;">${subtitle}</p> 
82						</div> 
83					</div> 
84					<div class="col-md-3"> 
85 
86						<div class="col-md-12" style="padding-bottom:20px;" id="shareArea"> 
87							<div id="shareIcons" class="jssocials" style="font-size: 14px;"> 
88								<div class="jssocials-shares"> 
89									 
90									<div class="jssocials-share jssocials-share-email"> 
91										<a target="_self" href="#"> 
92											<span class="fa fa-print jssocials-share-logo" aria-hidden="true" onclick="printDiv('printableArea')"></span> 
93										</a> 
94									</div> 
95									 
96									<div class="jssocials-share jssocials-share-email"> 
97										<a target="_self" href="mailto:?subject=Share DGRM Website Content" class="jssocials-share-link"> 
98											<i class="fa fa-at jssocials-share-logo"></i> 
99										</a> 
100									</div> 
101									 
102								</div> 
103							</div> 
104						 
105						</div> 
106 
107					</div> 
108					 
109				</div> 
110				 
111				<div class="col-md-12"> 
112					<div class="col-md-12"> 
113						${conteudo} 
114					</div> 
115				</div> 
116			</div> 
117		</#if> 
118	</div> 
119 
120</#if> 
121 
122<script> 
123    function printDiv(divName) { 
124	      
125    	$("#shareArea").hide() 
126 
127	    var printContents = document.getElementById(divName).innerHTML; 
128	    var originalContents = document.body.innerHTML; 
129 
130	    document.body.innerHTML = printContents; 
131 
132	    window.print(); 
133 
134	    document.body.innerHTML = originalContents; 
135 
136	    $("#shareArea").show() 
137 
138
139 
140</script>