Contest Single - FeviCreate
An error occurred while processing the template.
Java method "com.sun.proxy.$Proxy1452.getArticle(long, String)" threw an exception when invoked on com.sun.proxy.$Proxy1452 object "com.liferay.journal.service.impl.JournalArticleLocalServiceImpl@67f54673"; see cause exception in the Java stack trace. ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign article = journalArticleLocal... [in template "381053200#381053239#381220005" at line 10, column 1] ----
1<#if (request.getParameter("articleid")?has_content)>
2<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")>
3<#assign articleIdFromParameter=request.getParameter("articleid")/>
4
5<#assign groupId = themeDisplay.getScopeGroupId()/>
6
7
8
9
10<#assign article = journalArticleLocalService.getArticle(groupId?number,articleIdFromParameter)/>
11
12
13 <@liferay_journal["journal-article"]
14 articleId=article.getArticleId()
15 groupId=article.getGroupId() />
16</#if>
Thank You
Your Entry is successfully submitted