Agenda de la ciutat - València

S'ha produït un error mentre es processava la plantilla.
Error while invoking the "journal-article" JSP custom tag; see cause exception

----
FTL stack trace ("~" means nesting-related):
	- Failed at: @liferay_journal["journal-article"] a...  [in template "20115#20151#1906328" at line 38, column 13]
----
1<#assign serviceContext = staticUtil["com.liferay.portal.kernel.service.ServiceContextThreadLocal"].getServiceContext()> 
2<#assign themeDisplay = serviceContext.getThemeDisplay() /> 
3<#assign url = themeDisplay.getURLPortal() + themeDisplay.getURLCurrent() /> 
4<#assign universalIdParam = httpUtil.getParameter(url, "uid", false) > 
5 
6<#if universalIdParam?has_content> 
7    <#assign universalId = universalIdParam > 
8<#else>  
9        <#assign universalId = "" > 
10     
11</#if> 
12 
13 
14<#if universalId?has_content> 
15    <#assign expandoService = serviceLocator.findService("com.liferay.expando.kernel.service.ExpandoColumnLocalService") /> 
16    <#assign defaultColumn = expandoService.getDefaultTableColumn(themeDisplay.getCompanyId(), "com.liferay.journal.model.JournalArticle", "universalid") > 
17 
18     
19 
20    <#assign classLoader = staticUtil["com.liferay.portal.kernel.util.PortalClassLoaderUtil"]/> 
21    <#assign expandoValueClass = staticUtil["com.liferay.petra.lang.ClassResolverUtil"].resolve("com.liferay.expando.kernel.model.ExpandoValue",classLoader.getClassLoader()) > 
22    <#assign dynamicQuery = dynamicQueryFactory.forClass(expandoValueClass) > 
23    <#assign VOID = dynamicQuery.add(propertyFactory.forName("tableId").eq(defaultColumn.getTableId())).add(propertyFactory.forName("data").eq(universalId))> 
24    <#assign results = expandoService.dynamicQuery(dynamicQuery) > 
25    <#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") /> 
26     
27    <#if results?has_content > 
28        <#list results as result> 
29            <#assign classPK = result.getClassPK() > 
30        </#list> 
31         
32        <#assign article = journalArticleLocalService.fetchArticle(classPK) > 
33        <#if article??> 
34        <#assign latestArticle = journalArticleLocalService.fetchLatestArticle(article.getResourcePrimKey())> 
35         
36         
37        <div> 
38            <@liferay_journal["journal-article"] 
39                articleId=latestArticle.getArticleId() 
40                ddmTemplateKey=latestArticle.getDDMTemplateKey() 
41                groupId=latestArticle.getGroupId() 
42            />  
43        </div> 
44</#if>  
45    </#if> 
46 
47</#if>