Errorea gertatu da txantiloia prozesatzerakoan.
The following has evaluated to null or missing:
==> serviceLocator.findService("com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService")  [in template "20907#20945#9433727" at line 2, column 40]

----
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 dlFileEntryLocalService = ser...  [in template "20907#20945#9433727" at line 2, column 5]
----
1<#if entries?has_content> 
2    <#assign dlFileEntryLocalService = serviceLocator.findService("com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService")> 
3    <#assign baseUrl = portalUtil.getPortalURL(renderRequest)+ "/c/document_library/get_file?uuid="> 
4    <#assign counter = 0 /> 
5    <#assign limitImages = 8 /> 
6    <#list entries as curEntry> 
7        	<#assign counter = 0 /> 
8        <#assign docXml = saxReaderUtil.read(curEntry.getAssetRenderer().getArticle().getContentByLocale(locale)) /> 
9        <#assign titulo = docXml.valueOf( "//dynamic-element[@name='titulo']/dynamic-content/text()") /> 
10        <#assign descripcion = docXml.valueOf( "//dynamic-element[@name='descripcion']/dynamic-content/text()") /> 
11        <#assign enlace_ver_todos = docXml.valueOf( "//dynamic-element[@name='enlace_ver_todos']/dynamic-content/text()") /> 
12        <#assign texto_enlace_ver_todos = docXml.valueOf( "//dynamic-element[@name='texto_enlace_ver_todos']/dynamic-content/text()") /> 
13        <#assign folderId = docXml.valueOf( "//dynamic-element[@name='folderId']/dynamic-content/text()") /> 
14        <#assign fileEntries = dlFileEntryLocalService.getFileEntries(themeDisplay.getScopeGroupId(), getterUtil.getLong(folderId))> 
15        <div class="row-fluid mb6"> 
16        <div class="span8 pt2"> 
17            <div class="mb5"> 
18                <h3 class="ma0 f1 lh-title">${titulo}</h3> 
19            </div> 
20 
21            <p class="f5">${descripcion}</p> 
22        </div> 
23		 
24        <div class="relative z-99"><a class="view-all ba bg-black white absolute top-0 ttu tracked f7 pl3 pr3" href="${enlace_ver_todos}" style="right: 86px;height: 45px;line-height: 44px;">${texto_enlace_ver_todos}</a> 
25            <div class="pagination-arrows-holder ba flex"> 
26                <div class="arrow-holder bg-white arrow-holder-left dt cursor-pointer slide-container-swiper-button-prev"> 
27                    <div class="dtc v-mid text-center br"> 
28                    <span class="arrow-ico arrow-ico-small arrow-ico-left dib"><span class="dn">&nbsp;</span></span> 
29                    </div> 
30                </div> 
31 
32                <div class="arrow-holder bg-white arrow-holder-right dt cursor-pointer slide-container-swiper-button-next"> 
33                    <div class="dtc v-mid text-center"> 
34                    <span class="arrow-ico arrow-ico-small arrow-ico-right dib"> 
35                    <span class="dn">&nbsp;</span></span> 
36                    </div> 
37                </div> 
38            </div> 
39        </div> 
40         
41        <div class="slide-container"> 
42            <div class="swiper-wrapper flex galeria">     
43             
44				<#assign counter = counter + 1 /> 
45                <#list fileEntries as fileEntry>	 
46                    <#assign fileVersionId = fileEntry.getFileVersion().getFileVersionId() > 
47                    <#assign version = fileEntry.getVersion() > 
48                    <#assign latestVersion = fileEntry.getLatestFileVersion(true).getVersion() > 
49                    <#assign isApproved = fileEntry.getLatestFileVersion(true).isApproved() > 
50					<#if counter <= limitImages && version == latestVersion && isApproved> 
51					 
52                        <#assign fieldsMap = fileEntry.getFieldsMap(fileVersionId) > 
53						<#assign textoPie = "" /> 
54                        <#assign url = portalUtil.getPortalURL(renderRequest)+ "/c/document_library/get_file?uuid="> 
55                        <#assign fileUrl = baseUrl + fileEntry.getUuid()+ "&groupId="+themeDisplay.getScopeGroupId()>  
56                        <#list fieldsMap?keys as structureKey> 
57                            <#list fieldsMap[structureKey].iterator() as field> 
58                    <#attempt> 
59                            <#if locale == "es_ES" && field.getName() == 'tituloCas'> 
60						        <#assign textoPie = field.getValue() > 
61                            <#elseif locale == "eu_ES" && field.getName() == 'tituloEus'> 
62						        <#assign textoPie = field.getValue() > 
63                            </#if> 
64                    <#recover> 
65                    </#attempt> 
66                             
67                            </#list> 
68                        </#list> 
69						<div class="swiper-slide h6 w-auto mr4"> 
70							<figure class="db h-100 w-auto ma0"> 
71								<a href="${fileUrl}"><img alt="2018" class="db h-100 w-auto" src="${fileUrl}"></a> 
72								<figcaption class="f8 text-center pt3 fw5">${textoPie}</figcaption> 
73							</figure> 
74						</div> 
75				        <#assign counter = counter + 1 /> 
76					</#if> 
77					 
78                </#list> 
79            </div> 
80        </div> 
81        </div> 
82    </#list> 
83</#if>