Fehler bei der Verarbeitung der Vorlage.
The following has evaluated to null or missing:
==> serviceLocator.findService("com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService")  [in template "1369164#1369202#1381237" at line 2, column 29]

----
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 fileEntryService = serviceLoc...  [in template "1369164#1369202#1381237" at line 2, column 1]
----
1<!-- SERVICES --> 
2<#assign fileEntryService = serviceLocator.findService("com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService") > 
3 
4<#assign textFormatter = staticUtil["com.liferay.portal.kernel.util.TextFormatter"]> 
5 
6<!-- VARIABLES --> 
7 
8<section> 
9	<div class="container-fluid descuentos">	 
10		<div class="container p-0"> 
11			<div class="row mr-0"> 
12				<div class="col-xs-12 col-xs-offset-0 col-sm-6 col-sm-offset-1 col-md-5 col-md-offset-1 p-0 contenido">											 
13					<p class="categoria"> 
14						<@liferay.language key="descuentos.descuentos" /> 
15					</p> 
16					<h3><@liferay.language key="descuentos.dtosBBCard" /></h3>						 
17					<a href="#" class="boton blanco"><@liferay.language key="descuentos.comprar" /></a>					 
18				</div> 
19				<div class="col-xs-12 col-md-6 descargas"> 
20					<ul class="row"> 
21						<#if !validator.equals("", documento1.getData())>							 
22							<#assign fileEntry = getFileEntry(documento1.getData()) /> 
23                        	<#assign size = textFormatter.formatStorageSize(fileEntry.size, locale) /> 
24							<li class="col-xxs-6 col-xs-6"> 
25								<a href="${documento1.getData()}"> 
26									<h4>${titulo1.getData()}</h4> 
27									<p class="archivoDescarga"><span class="iytuicon icon-descargar"></span> <span><@liferay.language key="download" /></span> ${size}</p> 
28								</a> 
29							</li>						 
30						</#if> 
31						<#if !validator.equals("", documento2.getData())> 
32							<#assign fileEntry = getFileEntry(documento2.getData()) > 
33                        	<#assign size = textFormatter.formatStorageSize(fileEntry.size, locale) > 
34							<li class="col-xxs-6 col-xs-6"> 
35								<a href="${documento2.getData()}"> 
36									<h4>${titulo2.getData()}</h4> 
37									<p class="archivoDescarga"><span class="iytuicon icon-descargar"></span> <span><@liferay.language key="download"/></span> ${size}</p> 
38								</a> 
39							</li> 
40						</#if> 
41						<#if !validator.equals("", documento3.getData())> 
42							<#assign fileEntry = getFileEntry(documento3.getData()) > 
43                        	<#assign size = textFormatter.formatStorageSize(fileEntry.size, locale) > 
44							<li class="col-xxs-6 col-xs-6"> 
45								<a href="${documento3.getData()}"> 
46									<h4>${titulo3.getData()}</h4> 
47									<p class="archivoDescarga"><span class="iytuicon icon-descargar"></span> <span><@liferay.language key="download" /></span> ${size}</p> 
48								</a> 
49							</li> 
50						</#if> 
51						<#if !validator.equals("", documento4.getData())> 
52							<#assign fileEntry = getFileEntry(documento4.getData()) > 
53                        	<#assign size = textFormatter.formatStorageSize(fileEntry.size, locale) > 
54							<li class="col-xxs-6 col-xs-6"> 
55								<a href="${documento4.getData()}"> 
56									<h4>${titulo4.getData()}</h4> 
57									<p class="archivoDescarga"><span class="iytuicon icon-descargar"></span> <span><@liferay.language key="download" /></span> ${size}</p> 
58								</a> 
59							</li> 
60						</#if>						 
61					</ul> 
62				</div> 
63			</div> 
64		</div> 
65	</div>	 
66</section> 
67 
68<#function getFileEntry url > 
69     
70	<#assign parts = url?split("/")> 
71	 
72	<#assign group_id = getterUtil.getLong(parts[2]) > 
73	 
74	<#assign parts = parts[5]?split("?") > 
75	<#assign uuid = parts[0] > 
76	 
77	<#return fileEntryService.getDLFileEntryByUuidAndGroupId(uuid?string, group_id) /> 
78     
79</#function> 
80 
81<#function replaceSpecialCharacters(url)> 
82    <#return htmlUtil.escapeHREF(url?replace("|","%7C")) /> 
83</#function>