S'està cercant, espereu....

Servici de sanitat - València

S'ha produït un error mentre es processava la plantilla.
The following has evaluated to null or missing:
==> serviceLocator.findService("com.valencia.liferay.common.utils.api.CommonUtilsApi")  [in template "20115#20151#379502" 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#379502" at line 1, column 1]
----
1<#assign commonUtilsApi =serviceLocator.findService("com.valencia.liferay.common.utils.api.CommonUtilsApi")/> 
2<#assign portletRequestModel = objectUtil("com.liferay.portal.kernel.portlet.PortletRequestModel", renderRequest, renderResponse) /> 
3 
4<div class="row"> 
5    <div class="col-12"> 
6        <#if titularBusqueda?? && titularBusqueda.getData()?has_content> 
7            <h2 class="bloque_titulo">${titularBusqueda.getData()}</h2> 
8        </#if> 
9        <#assign bloquesNew = commonUtilsApi.replaceUrlWithUID("${themeDisplay.getURLCurrent()}",bloques.getData())/> 
10        ${bloquesNew} 
11    </div> 
12</div> 
13 
14<#assign AssetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService") /> 
15<#assign AssetLinkLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetLinkLocalService") /> 
16 
17 
18<#assign JournalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") /> 
19<#assign journalId = .vars['reserved-article-id'].data/> 
20 
21<#attempt> 
22    <#assign article = JournalArticleLocalService.fetchArticle( groupId ,journalId) > 
23<#recover> 
24</#attempt> 
25 
26<#if article??> 
27<#assign journalArticleClassname = "com.liferay.journal.model.JournalArticle" > 
28<#assign articleEntry = AssetEntryLocalService.getEntry(journalArticleClassname, article.getResourcePrimKey())> 
29<#assign articleRelatedEntries = AssetLinkLocalService.getDirectLinks(articleEntry.getEntryId()) > 
30 
31<#if articleRelatedEntries?has_content> 
32	 
33	<#assign relatedTemplateKey = "38113" > 
34		 
35	<#list articleRelatedEntries as relatedAsset> 
36		<#assign relatedEntry = AssetEntryLocalService.getEntry(relatedAsset.getEntryId2()) > 
37		<#assign entryClassPK = relatedEntry.getClassPK() > 
38		 
39		<#assign journalArticleClassname = "com.liferay.journal.model.JournalArticle" > 
40		<#if journalArticleClassname==relatedEntry.getClassName()> 
41			<#assign relatedArticle = JournalArticleLocalService.fetchLatestArticle(entryClassPK) > 
42			<#if relatedArticle.getDDMTemplateKey() == relatedTemplateKey > 
43				<#assign relatedArticleContent = JournalArticleLocalService.getArticleContent(relatedArticle, relatedArticle.getDDMTemplateKey(), "view", locale, portletRequestModel,themeDisplay)> 
44 
45				<div class="bloque-cuadro"> 
46				     <h3 class="titulo-bloque"><@liferay.language key="informacion_adicional" /></h3> 
47					  <#assign urlNew = commonUtilsApi.replaceUrlWithUID("${themeDisplay.getURLCurrent()}",relatedArticleContent)/> 
48					    <div class="col-12 pb-3" >${urlNew}</div> 
49				</div> 
50 
51			</#if> 
52		</#if> 
53	</#list>	 
54</#if> 
55</#if>  
56 
57<style> 
58 
59  .bloque-cuadro{ 
60      border:3px solid; 
61      border-color:#dadada; 
62      padding-left:15px; 
63      padding-right:15px; 
64      margin-top:15px; 
65
66     
67    .titulo-bloque{ 
68      margin-top: 3%; 
69      margin-bottom: 3%; 
70      color:4C4C4C; 
71
72</style>