Buscando, por favor espere....

Información de interés - València

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