Gipuzkoa Naturaldiaren Historikoa

Errorea gertatu da txantiloia prozesatzerakoan.
The following has evaluated to null or missing:
==> serviceLocator.findService("com.liferay.portlet.asset.service.AssetCategoryLocalService")  [in template "20907#20945#3808363" at line 1, column 38]

----
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 assetCategoryLocalService = s...  [in template "20907#20945#3808363" at line 1, column 1]
----
1<#assign assetCategoryLocalService = serviceLocator.findService("com.liferay.portlet.asset.service.AssetCategoryLocalService")> 
2 
3<#if entries?has_content> 
4<ul> 
5	<#list entries as curEntry> 
6	    <#assign renderer = curEntry.getAssetRenderer() /> 
7	    <#assign enlace = assetPublisherHelper.getAssetViewURL(renderRequest, renderResponse, curEntry) /> 
8        <#assign enlace_friendly = renderer.getURLViewInContext(renderRequest, renderResponse, enlace) /> 
9         
10        <#assign categoryList = assetCategoryLocalService.getEntryCategories( getterUtil.getLong(curEntry.getEntryId())) /> 
11 
12         
13        <#assign docXml = saxReaderUtil.read(curEntry.getAssetRenderer().getArticle().getContentByLocale(locale)) /> 
14        <li> 
15            <#assign counter = 0 /> 
16            <#assign textCat = '[' /> 
17        	<#list categoryList as item> 
18        	    <#if counter gt 0> 
19	                <#assign counter = counter + 1 /> 
20                    <#assign textCat = textCat + ' | ' /> 
21                </#if> 
22                <#assign textCat = textCat + item.getTitle(locale) /> 
23            </#list> 
24            <#assign textCat = textCat + ']' /> 
25             
26			<a href="${enlace_friendly}">${textCat} ${curEntry.getTitle(locale)}</a> 
27		</li> 
28		 
29	</#list> 
30</ul> 
31</#if> 
— 20 Elementu orri bakoitzeko
1 - 20 erakusten 21 emaitzetatik.