Información por departamento - Juntaex.es

Información por departamento - Juntaex.es
Se ha producido un error al procesar la plantilla.
The following has evaluated to null or missing:
==> request.getParameter("departamento")  [in template "20101#20128#1400480" at line 4, column 20]

----
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: departamento = request.getParameter("...  [in template "20101#20128#1400480" at line 4, column 5]
	- Reached through: #assign-container  [in template "20101#20128#1400480" at line 1, column 1]
----
1<#assign  
2    journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") 
3    assetCategoryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetCategoryLocalService") 
4    departamento = request.getParameter("departamento") 
5/> 
6<section class="laJuntaActuaciones"> 
7    <div class="row actuacionesNoticiasContenido"> 
8	    <#list entries as curEntry> 
9	        <#assign 
10            	journalArticle = journalArticleLocalService.fetchLatestArticle( 
11            		curEntry.getClassPK())                
12            	content = journalArticleLocalService.getArticleContent( 
13            		journalArticle, "PL_ACTUACION_LISTADO_JUNTA", "VIEW", locale, themeDisplay) 
14            	categories = assetCategoryLocalService.getCategories("com.liferay.journal.model.JournalArticle",curEntry.getClassPK()) 
15            /> 
16            <#list categories as cat> 
17    	        <#if cat.getCategoryId()?string == departamento> 
18                    <div class="col-md-6"> 
19			            ${content} 
20			        </div> 
21                </#if> 
22            </#list> 
23	    </#list> 
24	</div> 
25</section> 
26 
27<#if ! entries?has_content> 
28    <#if themeDisplay.isSignedIn()> 
29        <div class="alert alert-info text-center" role="alert"> 
30            No se encuentran actuaciones para el departamento indicado 
31        </div> 
32    <#else> 
33        <script> 
34            $("section").last().closest("div[class*=NestedPortletsPortlet]").hide() 
35        </script> 
36    </#if> 
37</#if>