Ongoing evaluations

Search Results Filters

An error occurred while processing the template.
Java method "com.sun.proxy.$Proxy918.getArticleContent(long, String, String, String, String, com.liferay.portal.kernel.portlet.PortletRequestModel, com.liferay.portal.kernel.theme.ThemeDisplay)" threw an exception when invoked on com.sun.proxy.$Proxy918 object "com.liferay.journal.service.impl.JournalArticleLocalServiceImpl@3045558d"; see cause exception in the Java stack trace.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign content = journalArticleLocal...  [in template "10154#10192#42718138" at line 35, column 25]
----
1<#assign ddmTemplateKey = 'ABSTRACT_ROW_IOE'> 
2<#-- append programatically asset_box_template_id: <#assign ddmTemplateKey = "">--> 
3<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") /> 
4<#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService") /> 
5<#assign groupLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.GroupLocalService")/> 
6<#assign classNameLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.ClassNameLocalService")/> 
7 
8<#if portletPreferences["emptyResultsLabel"]?has_content> 
9    <#assign labelPrefs = portletPreferences["emptyResultsLabel"] > 
10    <#assign emptyResultsLabel = labelPrefs[0] > 
11</#if> 
12 
13<#if entries?has_content> 
14    <#list entries as curEntry > 
15        <div class="container" id="search-results-display-list"> 
16            <div class="row"> 
17                <div class="col-lg-10 offset-lg-1 col-md-12"> 
18                    <#assign showAssetTitle = themeDisplay.getPortletDisplay().getPortletSetup().getValue("portletSetupUseCustomTitle", "false") /> 
19                    <#if showAssetTitle == "true" > 
20                        <div class="adt-title"> 
21                            <h2 class="title-underline mt-3 mb-3">${htmlUtil.escape(themeDisplay.getPortletDisplay().getTitle())} ${emptyResultsLabel}</h2> 
22                        </div> 
23                    </#if> 
24                </div> 
25            </div> 
26            <div class="row"> 
27                <div class="col-lg-10 offset-lg-1 col-md-12"> 
28                    <div class="search-results-row"> 
29                        <#assign unused = renderRequest.setAttribute("viewURL", curEntry.getViewURL()) /> 
30                        <#assign assetEntry = assetEntryLocalService.getEntry(curEntry.getClassName(), curEntry.getClassPK()) /> 
31                        <#assign assetRenderer = assetEntry.getAssetRenderer()> 
32                        <#assign entryTitle = htmlUtil.escape(assetRenderer.getTitle(locale)) /> 
33                        <#assign article = journalArticleLocalService.getLatestArticle(curEntry.getClassPK()) /> 
34                        <#assign content = journalArticleLocalService.getArticleContent(article.getGroupId(), article.getArticleId(), 
35                        "VIEW", ddmTemplateKey, themeDisplay.getLanguageId(), model, themeDisplay)> 
36                        ${content} 
37                    </div> 
38                </div> 
39            </div> 
40        </div> 
41    </#list> 
42<#else> 
43    <p>${emptyResultsLabel}</p> 
44</#if>