An error occurred while processing the template.
The following has evaluated to null or missing:
==> mathTool  [in template "10132#10165#NOTICIES_CARRUSEL" at line 1, column 20]

----
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: #assign idRandom = mathTool.random(0,...  [in template "10132#10165#NOTICIES_CARRUSEL" at line 1, column 1]
----
1<#assign idRandom= mathTool.random(0,1000000)>  
2<#assign imagenURL= imatge.getData()>  
3<#if !imagenURL?has_content ||  imagenURL?length ==0>  
4   <#assign imagenURL= imatge.urlExterna.getData()>  
5</#if>   
6  
7<a href="#" id="showNoticia${.vars["reserved-article-id"].data}${idRandom}"><h3>${.vars["reserved-article-title"].data}</h3></a>  
8<#if imagenURL?has_content &&  imagenURL?length gt 0>  
9<div class="destacat">  
10<div class="tc30 flotantesquerra" height="200">  
11${entradeta.getData()}  
12</div>  
13<div class="tc65 flotantdreta" height="200" >  
14    <img src="${imagenURL}" title="${peuImatge.getData()}" width="250" height="137" class="flotantdreta" />  
15</div>  
16</div>  
17</#if>  
18  
19  
20<#assign contingutPopUp="<h3>"+ .vars["reserved-article-title"].data+"</h3>"+ entradeta.getData()+ cos.getData()>  
21  
22<script type="text/javascript" charset="utf-8">  
23AUI().ready(function(A) {  
24    A.one("#showNoticia${.vars["reserved-article-id"].data}${idRandom}").on("click", function() {  
25                Liferay.Util.openWindow( 
26
27                            dialog: { 
28                                constrain: true, 
29                                modal: true, 
30                                centered: true 
31                            }, 
32                            title: '', 
33                            id: "popup${.vars["reserved-article-id"].data}" 
34                        }, function(){ 
35                            A.one("#popup${.vars["reserved-article-id"].data} .modal-body").html("${htmlUtil.escapeJS(contingutPopUp)}"); 
36                        }); 
37    });   
38});  
39</script>