An error occurred while processing the template.
Java method "com.sun.proxy.$Proxy642.getLatestArticle(long, String)" threw an exception when invoked on com.sun.proxy.$Proxy642 object "com.liferay.journal.service.impl.JournalArticleLocalServiceImpl@39b6b3d3"; see cause exception in the Java stack trace. ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign journalArticles = journalArti... [in template "20099#20135#269885" at line 4, column 1] ----
1<#assign Id = paramUtil.getString(request, "Id", "")>
2<#if Id??>
3<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") />
4<#assign journalArticles = journalArticleLocalService.getLatestArticle(themeDisplay.getScopeGroupId(), Id)/>
5<#assign DDMTemplate = serviceLocator.findService("com.liferay.dynamic.data.mapping.service.DDMTemplateLocalService") />
6<#assign templateKey = "269904" />
7<#assign version = journalArticles.getVersion()/>
8<#assign article =journalArticleLocalService.getArticleContent(themeDisplay.getScopeGroupId(), journalArticles.getArticleId(), version, null, templateKey, themeDisplay.getLanguageId(), themeDisplay)/>
9${article}
10</#if>