Ajudes Convocatòries 2019

S'ha produït un error mentre es processava la plantilla.
The following has evaluated to null or missing:
==> entry.getAssetRenderer()  [in template "10155#10193#354550917" at line 50, column 25]

----
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: assetRenderer = entry.getAssetRenderer()  [in template "10155#10193#354550917" at line 50, column 9]
----
1<#-- Se incluye el ADT "Macros comunes GVA de publicador de contenidos" --> 
2<#include "${templatesPath}/GVA-MACROS-PUBLICADORES" /> 
3<#-- La macro está aquí arriba porque no funciona abajo --> 
4<#macro getMetadataField 
5fieldName 
6
7    <#if stringUtil.split(metadataFields)?seq_contains(fieldName)> 
8        <#assign dateFormat = "dd/MM/yyyy" /> 
9 
10        <#if stringUtil.equals(fieldName, "author")> 
11            <@liferay_ui['user-portrait'] 
12            userId=assetRenderer.getUserId()/> 
13        <#elseif stringUtil.equals(fieldName, "categories")> 
14            <@liferay_asset["asset-categories-summary"] 
15            className=entry.getClassName() 
16            classPK=entry.getClassPK() 
17            displayStyle="simple-category" 
18            portletURL=renderResponse.createRenderURL() 
19            /> 
20        <#elseif stringUtil.equals(fieldName, "create-date")> 
21            ${dateUtil.getDate(entry.getCreateDate(), dateFormat, locale)} 
22        <#elseif stringUtil.equals(fieldName, "expiration-date")> 
23            ${dateUtil.getDate(entry.getExpirationDate(), dateFormat, locale)} 
24        <#elseif stringUtil.equals(fieldName, "modified-date")> 
25            ${dateUtil.getDate(entry.getModifiedDate(), dateFormat, locale)} 
26        <#elseif stringUtil.equals(fieldName, "publish-date")> 
27            ${dateUtil.getDate(entry.getPublishDate(), dateFormat, locale)} 
28        <#elseif stringUtil.equals(fieldName, "tags")> 
29            <@liferay_asset["asset-tags-summary"] 
30            className=entry.getClassName() 
31            classPK=entry.getClassPK() 
32            portletURL=renderResponse.createRenderURL() 
33            /> 
34        </#if> 
35    </#if> 
36</#macro> 
37<#if !entries?has_content> 
38    <#if !themeDisplay.isSignedIn()> 
39        ${renderRequest.setAttribute("PORTLET_CONFIGURATOR_VISIBILITY", true)} 
40    </#if> 
41 
42    <div class="alert alert-info"> 
43        <@liferay_ui["message"] key="there-are-no-results" /> 
44    </div> 
45</#if> 
46<ul class="list-group show-quick-actions-on-hover"> 
47    <#list entries as entry> 
48        <#assign 
49        entry = entry 
50        assetRenderer = entry.getAssetRenderer() 
51        entryTitle = htmlUtil.escape(assetRenderer.getTitle(locale)) 
52        viewURL = assetPublisherHelper.getAssetViewURL(renderRequest, renderResponse, assetRenderer, entry, !stringUtil.equals(assetLinkBehavior, "showFullContent")) 
53        metaDataFields = stringUtil.split(metadataFields) 
54        /> 
55 
56        <li class="list-group-item list-group-item-flex"> 
57            <#if metaDataFields?seq_contains("author")> 
58                <div class="autofit-col"> 
59                    <span class="inline-item"> 
60                        <@getMetadataField fieldName="author"/> 
61                    </span> 
62                </div> 
63            </#if> 
64            <div class="autofit-col autofit-col-expand"> 
65                <p class="h4 list-group-title text-truncate"> 
66                    <span class="asset-anchor lfr-asset-anchor" id="${entry.getEntryId()}"></span> 
67                    <a href="${viewURL}"> 
68                        ${entryTitle} 
69                    </a> 
70                </p> 
71                <p class="list-group-subtitle text-truncate"> 
72                    <#if metaDataFields?seq_contains("create-date")> 
73                        <@getMetadataField fieldName="create-date" /> 
74                    <#elseif metaDataFields?seq_contains("expiration-date") && entry.getExpirationDate()?has_content> 
75                        <@getMetadataField fieldName="expiration-date" /> 
76                    <#elseif metaDataFields?seq_contains("modified-date")> 
77                        <@getMetadataField fieldName="modified-date" /> 
78                    <#elseif metaDataFields?seq_contains("publish-date")> 
79                        <@getMetadataField fieldName="publish-date" /> 
80                    </#if> 
81                </p> 
82                <#if metaDataFields?seq_contains("categories") || metaDataFields?seq_contains("tags")> 
83                    <div class="list-group-detail"> 
84                        <#if metaDataFields?seq_contains("categories")> <@getMetadataField fieldName="categories"/> </#if> 
85                        <#if metaDataFields?seq_contains("tags")> <@getMetadataField fieldName="tags"/></#if> 
86                    </div> 
87                </#if> 
88            </div> 
89            <div class="autofit-col"> 
90                <@getEditIcon/> 
91            </div> 
92        </li> 
93    </#list> 
94</ul>