Devolución imposiciones genchi

Se ha producido un error al procesar la plantilla.
The following has evaluated to null or missing:
==> tipoAlerta  [in template "20095#20121#43555" at line 18, column 37]

----
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: ${tipoAlerta}  [in template "20095#20121#43555" at line 18, column 35]
----
1<#if (tipo.getData()) ==  'info'> 
2	<#assign  tipoAlerta = "info" /> 
3<#elseif (tipo.getData()) ==  'warning'> 
4	<#assign  tipoAlerta = "warning" /> 
5<#elseif (tipo.getData()) ==  'error'> 
6	<#assign  tipoAlerta = "error" /> 
7<#elseif (tipo.getData()) ==  'success'> 
8	<#assign  tipoAlerta = "success" /> 
9	<#elseif (tipo.getData()) ==  'important'> 
10	<#assign  tipoAlerta = "important" /> 
11</#if> 
12 
13 
14 
15 
16<div class = "dip-alert dip-alert-${tipoAlerta} dip-d-flex dip-gap-8 dip-my-4"> 
17	 
18	<#if (iconoAlerta.getData())??> 
19		<div class = "dip-icono-${iconoAlerta.getData()} dip-m-xl-icon"> 
20			<@liferay_ui["icon"] icon="${iconoAlerta.getData()}" />  
21		</div> 
22	</#if> 
23		 
24	 
25	 
26	<div class = "dip-d-flex dip-flex-direction-column dip-gap-8"> 
27		<div class = "dip-primary-h5 dip-wg-700"> 
28			<#if (codigo.getData())??> 
29				${codigo.getData()} 
30			</#if> 
31		</div> 
32		 
33		<div class = "dip-primary-body1 dip-wg-400 dip-m-0"> 
34			<#if (mensaje.getData())??> 
35				${mensaje.getData()} 
36			</#if> 
37		</div> 
38	</div> 
39	 
40	 
41</div>