Breadcrumb

Yayımcı(Asset Publisher)

Şablon işlenirken bir hata oluştu.
Java method "com.sun.proxy.$Proxy482.getArticle(long, String)" threw an exception when invoked on com.sun.proxy.$Proxy482 object "com.liferay.journal.service.impl.JournalArticleLocalServiceImpl@5c389101"; see cause exception in the Java stack trace.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign article = journalArticleLocal...  [in template "20116#20152#79539" at line 18, column 5]
----
1<@liferay_theme["defineObjects"] /> 
2<#assign liferay_ui = taglibLiferayHash["/META-INF/liferay-ui.tld"] /> 
3<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") /> 
4<#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService") /> 
5<#assign OrderByComparatorFactoryUtil = staticUtil["com.liferay.portal.kernel.util.OrderByComparatorFactoryUtil"] /> 
6<#assign categoriesOrderBy = OrderByComparatorFactoryUtil.create("assetentry", ["modifiedDate", false]) /> 
7<#assign assetTagLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetTagLocalService") /> 
8 
9<#assign articleId = request.getParameter("updates_news")!'0' /> 
10 
11<#if articleId == "0"> 
12    <#assign assetTag= assetTagLocalService.fetchTag(scopeGroupId,'updates')!''> 
13    <#assign defaultTagFirstArticle = assetEntryLocalService.getAssetTagAssetEntries(assetTag.getTagId(),1,2,categoriesOrderBy)> 
14    <#assign article = journalArticleLocalService.getLatestArticle(defaultTagFirstArticle[0].classPK)> 
15</#if> 
16 
17<#if articleId != "0"> 
18    <#assign article = journalArticleLocalService.getArticle(groupId, articleId) /> 
19</#if> 
20 
21<div class="updates-news-detail"> 
22    <@liferay_ui["asset-display"] 
23        className="com.liferay.journal.model.JournalArticle" 
24        classPK=getterUtil.getLong(article.getResourcePrimKey(), 0) 
25        template="full_content" 
26    /> 
27</div> 

Yayımcı(Asset Publisher)