Fire Research Details
An error occurred while processing the template.
Java method "com.sun.proxy.$Proxy426.getArticleResourcePrimKey(long, String)" threw an exception when invoked on com.sun.proxy.$Proxy426 object "com.liferay.journal.service.impl.JournalArticleResourceLocalServiceImpl@3cd75977"; see cause exception in the Java stack trace.
----
FTL stack trace ("~" means nesting-related):
- Failed at: articleResourcePrimaryKey = journalAr... [in template "20096#20121#306778" at line 5, column 5]
----
1<#assign
2 journalArticleResourceLocalService=serviceLocator.findService("com.liferay.journal.service.JournalArticleResourceLocalService")
3 assetEntryLocalService=serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService")
4 journalArticleId=.vars['reserved-article-id'].data
5 articleResourcePrimaryKey=journalArticleResourceLocalService.getArticleResourcePrimKey(themeDisplay.getScopeGroupId(),
6 journalArticleId) assetEntry=assetEntryLocalService.getEntry("com.liferay.journal.model.JournalArticle",
7 articleResourcePrimaryKey) assetCategories=assetEntry.getCategories() />
8
9
10<#list assetCategories as category>
11 <#assign categoryName=category.getName() />
12</#list>
13
14<div class="c-report-listing">
15 <div class="c-article-stackable-card c-article-stackable-card--report-card c-redirect-cursor" onclick="this.querySelector('a').click(); return true;">
16 <div class="c-article-stackable-card__image">
17 <#if (CardImage.getData())?? && CardImage.getData() !="">
18 <img class="c-report-listing--img" alt="${CardImage.getAttribute("alt")}"
19 data-fileentryid="${CardImage.getAttribute("fileEntryId")}" src="${CardImage.getData()}" />
20 </#if>
21 </div>
22 <div class="c-article-stackable-card__body">
23 <#if categoryName?has_content>
24 <div class="c-article-stackable-card__category">${categoryName}</div>
25 </#if>
26 <#if (CardTitle.getData())?has_content>
27 <h3 class="c-article-stackable-card__title">
28 ${CardTitle.getData()}
29 </h3>
30 </#if>
31
32 <div class="c-link-redirection d-none">
33 <#if (buttonLink.getFriendlyUrl())?has_content>
34 <a data-senna-off="true" href="${buttonLink.getFriendlyUrl()}">
35 ${buttonLink.getFriendlyUrl()}
36 </a>
37 </#if>
38 <#if (ExternalLink.getData())?has_content>
39 <a data-senna-off="true" href="${ExternalLink.getData()}" target="_blank">
40 ${ExternalLink.getData()}
41 </a>
42 </#if>
43 </div>
44
45 </div>
46 </div>
47</div>