An error occurred while processing the template.
The following has evaluated to null or missing:
==> data.tipo  [in template "37727#37775#183998" at line 24, column 139]

----
Tip: It's the step after the last dot that caused this error, not those before it.
----
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: ${(locale == "eu_ES")?then(data.tipo_...  [in template "37727#37775#183998" at line 24, column 101]
----
1<#assign freeMarkerUtilities = serviceLocator.findService("es.alava.freemarker.utilities.api.FreemarkerUtilities") /> 
2 
3<#if status == 200 && data?? && data!='null'> 
4	<#assign locale = miLocale /> 
5    <section class="titulo-de-pagina"> 
6        <div class="container"> 
7            <a class="enlace-a-inicio" href="${redirect}">${languageUtil.get(resourceBundle, "volver")}</a> 
8        </div> 
9		<#if ((locale = "es_ES" && (data.enunciado?? && data.enunciado !='null')) ||(locale = "eu_ES" && (data.enunciado_e?? && data.enunciado_e !='null'))) > 
10	        <div class="titulo-principal"> 
11	            <div class="container"> 
12		            <h2 class="descripcion">${(locale=="eu_ES")?then(data.enunciado_e, data.enunciado)}</h2> 
13	            </div> 
14	        </div> 
15		</#if> 
16    </section> 
17    <section class="detalle-iniciativa"> 
18        <div class="container"> 
19            <div class="row"> 
20                <div class="col-12"> 
21                    <div class="info-destacada"> 
22                        <ul class="informacion-principal"> 
23                            <li> 
24                                <strong>${languageUtil.get(resourceBundle, "type")}: </strong><span>${(locale=="eu_ES")?then(data.tipo_e, data.tipo)}</span> 
25	                            <#if data.documento?? && data.documento !='null'> 
26		                            <#assign descarga = freeMarkerUtilities.getURLDocument(data.documento)> 
27		                            <a class="download" href="${descarga}" target="_blank">${languageUtil.get(resourceBundle, "adt-detalle-expediente.ver-documento")}</a> 
28	                            </#if> 
29                            </li> 
30                            <li> 
31                                <strong>${languageUtil.get(resourceBundle, "adt-detalle-norma.fecha")}: </strong><span>${ data.fechaDocumento}</span> 
32                            </li> 
33                            <li> 
34                                <strong>${languageUtil.get(resourceBundle, "adt-detalle-norma.numero")}: </strong><span>${ data.numero}</span> 
35                            </li> 
36                            <li> 
37                                <strong>${languageUtil.get(resourceBundle, "adt-detalle-norma.organo")}: </strong><span>${(locale=="eu_ES")?then(  data.organo_e, data.organo)}</span> 
38                            </li> 
39                            <li> 
40                                <strong>${languageUtil.get(resourceBundle, "adt-detalle-norma.expediente-asociado")}: </strong><span>${ data.num_exp}</span> 
41                            </li> 
42                            <li> 
43                                <strong>${languageUtil.get(resourceBundle, "adt-detalle-norma.fuente")}: </strong><span>${(locale=="eu_ES")?then( data.fuente_e, data.fuente)} / ${ data.num_fuente}</span> 
44                            </li> 
45                            <li> 
46                                <strong>${languageUtil.get(resourceBundle, "adt-detalle-norma.fecha-publicacion")}: </strong><span>${ data.fechaPublicacion}</span> 
47                            </li> 
48 
49                        </ul> 
50                        <div class="enlaces"> 
51							<#if data.documentoRelacionado.length() gt 0 || ( data.documentoCorreccion?? && data.documentoCorreccion !='null'&& data.documentoCorreccion?has_content)> 
52								 <h3>${languageUtil.get(resourceBundle, "related-documents")}</h3> 
53								<#assign documentosRelacionados = data.documentoRelacionado/> 
54								<#assign tipoDocumentoRelacionado = data.tipoDocumentoRelacionado/> 
55								 <ul> 
56									<#if data.documentoRelacionado.length() gt 0> 
57										<#list 0..documentosRelacionados.length()-1 as i> 
58											<#assign descarga = freeMarkerUtilities.getURLDocument(documentosRelacionados.get(i))> 
59		                                    <li><a class="download" href="${descarga}" target="_blank">${tipoDocumentoRelacionado.get(i)}</a></li> 
60										</#list> 
61									</#if> 
62									 <#if data.documentoCorreccion?? && data.documentoCorreccion !='null'&& data.documentoCorreccion?has_content> 
63										 <#assign descarga = freeMarkerUtilities.getURLDocument(data.documentoCorreccion)> 
64										 <li><a class="download" href="${descarga}" target="_blank">${languageUtil.get(locale, "adt-detalle-norma.correccion")}</a></li> 
65									 </#if> 
66								 </ul> 
67							</#if> 
68                        </div> 
69                    </div> 
70                </div> 
71            </div> 
72        </div> 
73    </section> 
74<#else> 
75    <#if themeDisplay.isSignedIn()> 
76        <div class="my-3"> 
77            <div class="container"> 
78                <div class="alert alert-danger"> 
79                    <p class="mb-0"><b>Status: </b> ${status}</p> 
80                </div> 
81            </div> 
82        </div> 
83    <#else> 
84        ${request.setAttribute("PORTLET_CONFIGURATOR_VISIBILITY", false)} 
85    </#if> 
86</#if>