Plenos

Plenos
Se ha producido un error al procesar la plantilla.
The following has evaluated to null or missing:
==> entry  [in template "33650#33685#35293" at line 10, column 87]

----
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: ${entry.getVocabularyId()}  [in template "33650#33685#35293" at line 10, column 85]
----
1<#assign assetTool = utilLocator.findUtil('lportal-ce-hook', 'as.asac.template.tools.AssetTool') /> 
2 
3<div class="panels-wrapper"> 
4	<div class="panels"> 
5		<#if entries?has_content> 
6			<#list entries as entry> 
7				<div class="panel panel-default"> 
8					<div class="panel-heading"> 
9						<div class="panel-title"> 
10							<a aria-controls="vocabulary${entry.getVocabularyId()}" aria-expanded="false" class="collapse-icon collapse-icon-middle" data-toggle="collapse" href="#vocabulary${entry.getVocabularyId()}"> 
11								${entry.getUnambiguousTitle(entries, themeDisplay.getSiteGroupId(), themeDisplay.getLocale())} 
12							</a> 
13						</div> 
14					</div> 
15					 
16					<#assign categories = entry.getCategories() /> 
17					<#assign categories = assetTool.sortCategories(categories)! /> 
18					<@displayCategories vocabularyId=entry.getVocabularyId() categories=categories /> 
19				</div> 
20			</#list> 
21		</#if> 
22 
23		<#macro displayCategories vocabularyId categories > 
24			<#if categories?has_content> 
25				<div id="vocabulary${vocabularyId}" class="panel-collapse collapse"> 
26					<div class="panel-body"> 
27					<div class="lfr-asset-category-list-container"> 
28						<ul class="lfr-asset-category-list"> 
29						<#list categories?sort_by("description") as category> 
30					 
31							<li class="category ${category.getName()}"> 
32								<#assign categoryURL = renderResponse.createRenderURL() /> 
33 
34								${categoryURL.setParameter("resetCur", "true")} 
35								${categoryURL.setParameter("categoryId", category.getCategoryId()?string)} 
36 
37								<a href="${categoryURL}">${category.getName()}</a> 
38 
39								<#if serviceLocator??> 
40									<#assign 
41										assetCategoryService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetCategoryService") 
42 
43										childCategories = assetCategoryService.getChildCategories(category.getCategoryId()) 
44									/> 
45 
46									<@displayCategories vocabularyId=vocabularyId categories=childCategories /> 
47								</#if> 
48							</li> 
49							 
50						</#list> 
51						</ul> 
52					</div> 
53					</div> 
54				</div>	 
55			</#if> 
56		</#macro> 
57	</div> 
58</div>