Buscando, por favor espere....

Estás en: Ayuntamiento de València

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