An error occurred while processing the template.
Java method "com.sun.proxy.$Proxy774.getArticle(long, String)" threw an exception when invoked on com.sun.proxy.$Proxy774 object "com.liferay.journal.service.impl.JournalArticleLocalServiceImpl@2129dafb"; see cause exception in the Java stack trace. ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign journalArticle = JournalArtic... [in template "83400193686067#20119#48805" at line 17, column 1] ----
1<#if themeDisplay?has_content>
2<#assign
3 ddmFieldLocalService=serviceLocator.findService("com.liferay.dynamic.data.mapping.service.DDMFieldLocalService") />
4<#assign
5 JournalArticleLocalService=serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") />
6<#assign AssetEntryLocalService=serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService") />
7<#assign
8 AssetEntryAssetCategoryRel=serviceLocator.findService("com.liferay.asset.entry.rel.service.AssetEntryAssetCategoryRelLocalService") />
9<#assign
10 AssetVocabularyLocalService=serviceLocator.findService("com.liferay.asset.kernel.service.AssetVocabularyLocalService") />
11<#assign
12 AssetCategoryLocalService=serviceLocator.findService("com.liferay.asset.kernel.service.AssetCategoryLocalService") />
13<#assign url="${themeDisplay.getURLCurrent()}">
14 <#assign lastIndex=url?last_index_of("=") />
15<#assign articleId = url?substring(lastIndex+1) />
16<#assign scopeGroupId = themeDisplay.getScopeGroupId() />
17<#assign journalArticle = JournalArticleLocalService.getArticle(scopeGroupId, articleId) />
18
19 <#assign articleIdLong = journalArticle.getId() />
20
21 <div class="">
22 <@liferay_journal["journal-article"]
23 articleId=articleId
24 ddmTemplateKey="45777"
25 groupId=journalArticle.getGroupId()
26 />
27 </div>
28
29
30 <#assign instanceId = themeDisplay.getPortletDisplay().getInstanceId() />
31<#assign ddmFormStructure = journalArticle.getDDMStructure()
32 ddmForm = ddmFormStructure.getDDMForm()
33 />
34 <#assign ddmFormValues = ddmFieldLocalService.getDDMFormValues(ddmForm, articleIdLong)
35 ddmFormFieldValues = ddmFormValues.getDDMFormFieldValues()
36 />
37 </#if>
Designed and Developed by GIKS India Pvt. Ltd.