Se ha producido un error al procesar la plantilla.
The following has evaluated to null or missing:
==> serviceLocator.findService("com.valencia.liferay.common.utils.api.CommonUtilsApi")  [in template "20115#20151#17257359" at line 1, column 26]

----
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 commonUtilsApi = serviceLocat...  [in template "20115#20151#17257359" at line 1, column 1]
----
1<#assign commonUtilsApi =serviceLocator.findService("com.valencia.liferay.common.utils.api.CommonUtilsApi")/> 
2<div class="row"> 
3    <div class="col-12"> 
4    <#if titularBusqueda?? && titularBusqueda.getData()?has_content> 
5    <h2 class="bloque_titulo">${titularBusqueda.getData()}</h2> 
6</#if> 
7        <#assign bloquesNew = commonUtilsApi.replaceUrlWithUID("${themeDisplay.getURLCurrent()}",bloques.getData())/> 
8${bloquesNew} 
9    </div> 
10</div> 
11 
12<#assign AssetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService") /> 
13<#assign AssetLinkLocalService = serviceLocator.findService("com.liferay.asset.link.service.AssetLinkLocalService") /> 
14 
15 
16<#assign JournalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") /> 
17<#assign journalId = .vars['reserved-article-id'].data/> 
18 
19<#attempt> 
20    <#assign article = JournalArticleLocalService.getLatestArticle( groupId ,journalId) > 
21<#recover> 
22</#attempt> 
23 
24 
25<#if article??> 
26<#assign journalArticleClassname = "com.liferay.journal.model.JournalArticle" > 
27<#assign articleEntry = AssetEntryLocalService.getEntry(journalArticleClassname, article.getResourcePrimKey())> 
28<#assign articleRelatedEntries = AssetLinkLocalService.getDirectLinks(articleEntry.getEntryId()) > 
29 
30<#if articleRelatedEntries?has_content> 
31 
32	<#assign relatedTemplateKey = "38113" > 
33 
34	<#list articleRelatedEntries as relatedAsset> 
35		<#assign relatedEntry = AssetEntryLocalService.getEntry(relatedAsset.getEntryId2()) > 
36		<#assign entryClassPK = relatedEntry.getClassPK() > 
37 
38		<#assign journalArticleClassname = "com.liferay.journal.model.JournalArticle" > 
39		<#if journalArticleClassname==relatedEntry.getClassName()> 
40			<#assign relatedArticle = JournalArticleLocalService.fetchLatestArticle(entryClassPK) > 
41			<#if relatedArticle.getDDMTemplateKey() == relatedTemplateKey > 
42				<#assign relatedArticleContent = JournalArticleLocalService.getArticleContent(relatedArticle, relatedArticle.getDDMTemplateKey(), "view", locale, themeDisplay)> 
43 
44					<div class="bloque-cuadro"> 
45				        <h3 class="titulo-bloque"><@liferay.language key="informacion_adicional" /></h3> 
46					     <#assign urlNew = commonUtilsApi.replaceUrlWithUID("${themeDisplay.getURLCurrent()}",relatedArticleContent)/> 
47					    <div class="col-12 pb-3" >${urlNew}</div> 
48				    </div> 
49			</#if> 
50		</#if> 
51	</#list> 
52</#if> 
53</#if>