Se ha producido un error al procesar la plantilla.
The following has evaluated to null or missing:
==> assetRenderer.getArticle()  [in template "20116#20160#575718" at line 25, column 67]

----
Tip: If the failing expression is known to be 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 journalArticle = assetRendere...  [in template "20116#20160#575718" at line 25, column 41]
----
1<#if entries?has_content> 
2	<script type="text/javascript"> 
3		var listaBoolean = new Array();					 
4					function startDown(id) { 
5						listaBoolean[id] = true; 
6					} 
7 
8					function movedown(id) { 
9							listaBoolean[id] = false; 
10					} 
11					function link(id,lnk){ 
12					   if(listaBoolean[id] == true){ 
13					         window.location.href=lnk; 
14					   } 
15					 
16					} 
17	</script> 
18	<div class="oportunidad listado"> 
19			<#list entries as curEntry> 
20			   <#assign assetRenderer = curEntry.getAssetRenderer() /> 
21			   <#assign className = assetRenderer.getClassName() /> 
22 
23	        	<#if className == "com.liferay.journal.model.JournalArticle"> 
24 
25					<#assign journalArticle = assetRenderer.getArticle()> 
26					<#assign prelink = "/detalle-cpi/-/asset_publisher/zxT81Eepo2hu/content/" /> 
27					<#assign link = prelink + journalArticle.getUrlTitle() /> 
28					<#assign boolId= "clickable-" + journalArticle.getUrlTitle() /> 
29					<#assign document = saxReaderUtil.read(journalArticle.getContent())> 
30					<#assign rootElement = document.getRootElement()> 
31					 
32					<#assign defaultLanguageId = parseXml ("@default-locale", rootElement)> 
33 
34			   		<#assign referencia = getField("referencia", locale, defaultLanguageId, rootElement)!> 
35			   		<#assign titulo = getField("titulo", locale, defaultLanguageId, rootElement)!> 
36			   		<#assign contenido = getField("contenido", locale, defaultLanguageId, rootElement)!> 
37			   		<#assign fechapublicacion = getField("fechadepublicacion", locale, defaultLanguageId, rootElement)!> 
38			   		<#assign fechaexpiracion = getField("fechadeexpiracion", locale, defaultLanguageId, rootElement)!> 
39			   		<div class="cont-list"  onmousedown="startDown('${boolId}')" onmousemove="movedown('${boolId}')" onclick="link('${boolId}','${link}')"> 
40					 
41						<#if titulo?? && titulo !=""> 
42					        	<h2>${titulo}</h2> 
43			            </#if> 
44						 
45						 
46						<#if contenido?? && contenido!=""> 
47							<div class="cont"> 
48								<#if contenido?length &lt; 170> 
49									${contenido} 
50								<#else> 
51									${contenido?substring(0,169)}... 
52								</#if> 
53							</div> 
54						</#if> 
55 
56						<#if referencia?? && referencia!="" || fechapublicacion?? && fechapublicacion!=""> 
57							<div class="datos"> 
58								<#if referencia?? && referencia!=""> 
59									<span class="referencia">Referencia:<strong> ${referencia}</strong></span> 
60								</#if> 
61								 
62								<#if fechapublicacion?? && fechapublicacion!=""> 
63									<#assign fecha =  fechapublicacion?date.xs> 
64									<#if journalArticle.getExpirationDate()??> 
65										<#assign fechaExpiracion = journalArticle.getExpirationDate() > 
66										<span class="fecha">Fecha  de  publicación:<strong> ${fecha?string["dd/MM/yyyy"]}</strong></span><div style="clear:both;float:right;margin-right:26pt;"><span class="fecha">Fecha  de  cierre: <strong> ${fechaExpiracion?string["dd/MM/yyyy"]}</strong></span></div> 
67									<#else> 
68										<span class="fecha">Fecha  de  publicación:<strong> ${fecha?string["dd/MM/yyyy"]}</strong></span> 
69									</#if> 
70								</#if> 
71							</div> 
72						</#if> 
73					</div> 
74				</#if> 
75 
76			</#list> 
77		 
78	</div> 
79</#if> 
80 
81<#function getField field languageId defaultLanguageId xml> 
82    <#local defaultSelector = "//dynamic-content[@language-id='" + defaultLanguageId + "' and ancestor-or-self::*[@name='" + field + "']]"> 
83    <#local localeSelector = "//dynamic-content[@language-id='" + languageId + "' and parent::*[@name='" + field + "']]"> 
84     
85    <#local selector = saxReaderUtil.createXPath(localeSelector)> 
86    <#local value = selector.selectSingleNode(xml)!> 
87   
88    <#if value?has_content> 
89        <#return value.getText()> 
90    </#if> 
91     
92    <#local selector = saxReaderUtil.createXPath(defaultSelector)> 
93    <#local value = selector.selectSingleNode(xml)!> 
94     
95    <#if value?has_content> 
96        <#return value.getText()> 
97    </#if> 
98     
99    <#return ""> 
100</#function> 
101 
102<#function parseXml xpath xml> 
103    <#local selector = saxReaderUtil.createXPath(xpath)> 
104    <#local result = selector.selectSingleNode(xml)!> 
105   
106    <#if result?has_content> 
107        <#return result.getStringValue()> 
108    </#if> 
109     
110    <#return ""> 
111</#function>