Navigatiemenu

Latest Tweets

Contentverzamelaar

Er trad een fout op tijdens de verwerking van de sjabloon.
The following has evaluated to null or missing:
==> assetEntryLocalServiceUtil.fetchAssetEntry(assetEntryQuery)  [in template "44029#44070#1746661" at line 6, column 16]

----
Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign entry = assetEntryLocalServic...  [in template "44029#44070#1746661" at line 6, column 1]
----
1<#assign assetEntryLocalServiceUtil = staticUtil['com.liferay.asset.kernel.service.AssetEntryLocalServiceUtil'] /> 
2<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")/> 
3<#--<#assign assetEntryQuery =  objectUtil("com.liferay.asset.kernel.service.persistence.AssetEntryQuery") />--> 
4<#--${paramUtil.getString(request, "assetEntry", "defaultValue")}--> 
5<#assign assetEntryQuery = paramUtil.getLong(request, "assetEntry") /> 
6<#assign entry=assetEntryLocalServiceUtil.fetchAssetEntry(assetEntryQuery) /> 
7<#assign articleId=entry.getAssetRenderer().getArticle().getArticleId() /> 
8<#assign groupId=entry.getAssetRenderer().getArticle().getGroupId() /> 
9<#assign journalArticle = journalArticleLocalService.getLatestArticle(groupId, articleId, 0)/> 
10<@liferay_journal["journal-article"] articleId=journalArticle.getArticleId() groupId=groupId/> 
11 
12<#-- 
13Widget templates can be used to modify the look of a 
14specific application. 
15 
16Please use the left panel to quickly add commonly used variables. 
17Autocomplete is also available and can be invoked by typing "${". 
18-->