Publicador de contenidos

Se ha producido un error al procesar la plantilla.
The following has evaluated to null or missing:
==> serviceLocator.findService("com.liferay.portlet.asset.service.AssetCategoryLocalService")  [in template "20155#20195#2182929" at line 1, column 38]

----
Tip: If the failing expression is known to be 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 assetCategoryLocalService = s...  [in template "20155#20195#2182929" at line 1, column 1]
----
1<#assign assetCategoryLocalService = serviceLocator.findService("com.liferay.portlet.asset.service.AssetCategoryLocalService")> 
2<#assign assetVocabularyLocalService = serviceLocator.findService("com.liferay.portlet.asset.service.AssetVocabularyLocalService")> 
3 
4<!--Multiidioma--> 
5<#assign seeMore = languageUtil.get(locale, "view-more")/> 
6 
7<!--Buscamos si el contexto es público o privado--> 
8<#if themeDisplay.getLayout().isPrivateLayout()> 
9    <#assign contexto = "/group/canal-online/"/> 
10<#else> 
11	<#assign contexto = "/web/canal-online/"/> 
12</#if> 
13 
14<#if entries?has_content> 
15<ul class="company-list comp-listado"> 
16    <#list entries as curEntry> 
17        <#assign article = curEntry.getAssetRenderer().getArticle() /> 
18	    <#assign docXml = saxReaderUtil.read(curEntry.getAssetRenderer().getArticle().getContentByLocale(locale)) /> 
19	    <#assign titulo = docXml.valueOf("//dynamic-element[@name='Titulo']/dynamic-content/text()") /> 
20	    <#assign subtitulo = docXml.valueOf("//dynamic-element[@name='Subtitulo']/dynamic-content/text()") /> 
21	    <#assign textoEnlace = docXml.valueOf("//dynamic-element[@name='TextoEnlace']/dynamic-content/text()") /> 
22	    <#assign urlEnlace = docXml.valueOf("//dynamic-element[@name='UrlEnlace']/dynamic-content/text()") /> 
23		<#assign Imagen = docXml.valueOf("//dynamic-element[@name='Imagen']/dynamic-content/text()") /> 
24	    <li class="company-item-double"> 
25		<#if Imagen?has_content> 
26			<div class="imagen"> 
27				<figure class="contImg"> 
28					<img class="img" alt="${titulo}" src="${Imagen}" /> 
29				</figure> 
30			</div> 
31		</#if> 
32			<div class="text-content"> 
33				<h4 class="title"> ${titulo} </h4> 
34				<#if subtitulo!="null"> 
35					<p class="data"> 
36						${subtitulo} 
37					</p> 
38				</#if> 
39 
40				<div class="text-right"> 
41                <#if urlEnlace?has_content> 
42                    <a href='${urlEnlace}' class="link"> 
43                    <#if textoEnlace?has_content> 
44                        <span id="seeMore"> ${textoEnlace} </span>  
45                    <#else> 
46                        <span id="seeMore"> ${seeMore} <i class="icon-angle-right"></i></span>  
47                    </#if> 
48                    </a> 
49                <#else> 
50                    <#assign visorId = "56_INSTANCE_j23b5kT7qr4p" /> 
51                    <#assign article = curEntry.getAssetRenderer().getArticle() /> 
52                    <#assign articleId = article.getArticleId() /> 
53                    <#assign groupId = themeDisplay.getScopeGroupId() /> 
54                    <#assign urlGo = "${contexto}"+"/detalle-empresa/-/journal_content/"+visorId+"/${groupId}/${articleId}?" /> 
55                    <a href="${urlGo}" class="link"> 
56                        <span id="seeMore"> ${seeMore} <i class="icon-angle-right"></i></span>  
57                    </a> 
58                </#if> 
59				</div> 
60			</div>	 
61        </li> 
62    </#list> 
63</ul> 
64</#if> 

Publicador de contenidos

Se ha producido un error al procesar la plantilla.
The following has evaluated to null or missing:
==> serviceLocator.findService("com.liferay.portlet.asset.service.AssetCategoryLocalService")  [in template "20155#20195#1900805" at line 1, column 38]

----
Tip: If the failing expression is known to be 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 assetCategoryLocalService = s...  [in template "20155#20195#1900805" at line 1, column 1]
----
1<#assign assetCategoryLocalService = serviceLocator.findService("com.liferay.portlet.asset.service.AssetCategoryLocalService")> 
2<#assign assetVocabularyLocalService = serviceLocator.findService("com.liferay.portlet.asset.service.AssetVocabularyLocalService")> 
3 
4<!--Multiidioma--> 
5<#assign seeMore = languageUtil.get(locale, "view-more")/> 
6 
7<!--Buscamos si el contexto es público o privado--> 
8<#if themeDisplay.getLayout().isPrivateLayout()> 
9    <#assign contexto = "/group/canal-online/"/> 
10<#else> 
11	<#assign contexto = "/web/canal-online/"/> 
12</#if> 
13 
14<#if entries?has_content> 
15<div class="company-list"> 
16    <#list entries as curEntry> 
17        <#assign article = curEntry.getAssetRenderer().getArticle() /> 
18	    <#assign docXml = saxReaderUtil.read(curEntry.getAssetRenderer().getArticle().getContentByLocale(locale)) /> 
19	    <#assign titulo = docXml.valueOf("//dynamic-element[@name='Titulo']/dynamic-content/text()") /> 
20	    <#assign cp = docXml.valueOf("//dynamic-element[@name='CP']/dynamic-content/text()") /> 
21	    <#assign localidad = docXml.valueOf("//dynamic-element[@name='Localidad']/dynamic-content/text()") /> 
22	    <#assign provincia = docXml.valueOf("//dynamic-element[@name='Provincia']/dynamic-content/text()") /> 
23	    <#assign textoEnlace = docXml.valueOf("//dynamic-element[@name='TextoEnlace']/dynamic-content/text()") /> 
24	    <#assign urlEnlace = docXml.valueOf("//dynamic-element[@name='UrlEnlace']/dynamic-content/text()") /> 
25	    <div class="company-item"> 
26            <h4 class="title"> ${titulo} </h4> 
27            <#if cp!="null"> 
28				<p class="data"> 
29					${cp} - ${localidad} - ${provincia} 
30				</p> 
31            </#if> 
32            <!--<#if textoEnlace?has_content && textoEnlace!= '' && urlEnlace?has_content && urlEnlace!=''> 
33                <div class="more-information"> 
34                    <a href="${urlEnlace}"> <button class="button" id="seeMore"> ${textoEnlace} </button> </a> 
35                </div> 
36            </#if>--> 
37            <#assign catNameUrl = curEntry.getTitle(locale)?lower_case/> 
38    		<#if catNameUrl?contains(" ")> 
39                <#assign catNameUrl = catNameUrl?replace(" ","-")> 
40            </#if> 
41    		<#if catNameUrl?contains("á")> 
42            <#assign catNameUrl = catNameUrl?replace("á","a")> 
43    		</#if> 
44    		<#if catNameUrl?contains("Á")> 
45    		    <#assign catNameUrl = catNameUrl?replace("Á","A")> 
46    		</#if> 
47    		<#if catNameUrl?contains("é")> 
48    		    <#assign catNameUrl = catNameUrl?replace("é","e")> 
49    		</#if> 
50    		<#if catNameUrl?contains("É")> 
51    		    <#assign catNameUrl = catNameUrl?replace("É","E")> 
52    		</#if> 
53    		<#if catNameUrl?contains("í")> 
54    		    <#assign catNameUrl = catNameUrl?replace("í","i")> 
55    		</#if> 
56    		<#if catNameUrl?contains("Í")> 
57    		    <#assign catNameUrl = catNameUrl?replace("Í","I")> 
58    		</#if> 
59    		<#if catNameUrl?contains("ó")> 
60    		    <#assign catNameUrl = catNameUrl?replace("ó","o")> 
61    		</#if> 
62    		<#if catNameUrl?contains("Ó")> 
63    		    <#assign catNameUrl = catNameUrl?replace("Ó","O")> 
64    		</#if> 
65    		<#if catNameUrl?contains("ú")> 
66    		    <#assign catNameUrl = catNameUrl?replace("ú","u")> 
67    		</#if> 
68    		<#if catNameUrl?contains("Ú")> 
69    		    <#assign catNameUrl = catNameUrl?replace("Ú","U")> 
70    		</#if> 
71             
72            <div class="text-right"> 
73                <#if urlEnlace?has_content> 
74                    <a href='${urlEnlace}' class="link"> 
75                    <#if textoEnlace?has_content> 
76                        <span id="seeMore"> ${textoEnlace} </span>  
77                    <#else> 
78                        <span id="seeMore"> ${seeMore} <i class="icon-angle-right"></i></span>  
79                    </#if> 
80                    </a> 
81                <#else> 
82                    <!--<a href='/web/canalonline/fundacion-cofares/-/asset_publisher/7wm2IPFLlRuS/content/${catNameUrl}'>--> 
83                    <#assign visorId = "56_INSTANCE_j23b5kT7qr4p" /> 
84                    <#assign article = curEntry.getAssetRenderer().getArticle() /> 
85                    <#assign articleId = article.getArticleId() /> 
86                    <#assign groupId = themeDisplay.getScopeGroupId() /> 
87                    <#assign urlGo = "${contexto}"+"/detalle-empresa/-/journal_content/"+visorId+"/${groupId}/${articleId}?" /> 
88                    <a href="${urlGo}" class="link"> 
89                        <span id="seeMore"> ${seeMore} <i class="icon-angle-right"></i></span>  
90                    </a> 
91                </#if> 
92            </div> 
93        </div> 
94    </#list> 
95</div> 
96</#if> 

Publicador de contenidos

Se ha producido un error al procesar la plantilla.
The following has evaluated to null or missing:
==> serviceLocator.findService("com.liferay.portlet.asset.service.AssetCategoryLocalService")  [in template "20155#20195#1900805" at line 1, column 38]

----
Tip: If the failing expression is known to be 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 assetCategoryLocalService = s...  [in template "20155#20195#1900805" at line 1, column 1]
----
1<#assign assetCategoryLocalService = serviceLocator.findService("com.liferay.portlet.asset.service.AssetCategoryLocalService")> 
2<#assign assetVocabularyLocalService = serviceLocator.findService("com.liferay.portlet.asset.service.AssetVocabularyLocalService")> 
3 
4<!--Multiidioma--> 
5<#assign seeMore = languageUtil.get(locale, "view-more")/> 
6 
7<!--Buscamos si el contexto es público o privado--> 
8<#if themeDisplay.getLayout().isPrivateLayout()> 
9    <#assign contexto = "/group/canal-online/"/> 
10<#else> 
11	<#assign contexto = "/web/canal-online/"/> 
12</#if> 
13 
14<#if entries?has_content> 
15<div class="company-list"> 
16    <#list entries as curEntry> 
17        <#assign article = curEntry.getAssetRenderer().getArticle() /> 
18	    <#assign docXml = saxReaderUtil.read(curEntry.getAssetRenderer().getArticle().getContentByLocale(locale)) /> 
19	    <#assign titulo = docXml.valueOf("//dynamic-element[@name='Titulo']/dynamic-content/text()") /> 
20	    <#assign cp = docXml.valueOf("//dynamic-element[@name='CP']/dynamic-content/text()") /> 
21	    <#assign localidad = docXml.valueOf("//dynamic-element[@name='Localidad']/dynamic-content/text()") /> 
22	    <#assign provincia = docXml.valueOf("//dynamic-element[@name='Provincia']/dynamic-content/text()") /> 
23	    <#assign textoEnlace = docXml.valueOf("//dynamic-element[@name='TextoEnlace']/dynamic-content/text()") /> 
24	    <#assign urlEnlace = docXml.valueOf("//dynamic-element[@name='UrlEnlace']/dynamic-content/text()") /> 
25	    <div class="company-item"> 
26            <h4 class="title"> ${titulo} </h4> 
27            <#if cp!="null"> 
28				<p class="data"> 
29					${cp} - ${localidad} - ${provincia} 
30				</p> 
31            </#if> 
32            <!--<#if textoEnlace?has_content && textoEnlace!= '' && urlEnlace?has_content && urlEnlace!=''> 
33                <div class="more-information"> 
34                    <a href="${urlEnlace}"> <button class="button" id="seeMore"> ${textoEnlace} </button> </a> 
35                </div> 
36            </#if>--> 
37            <#assign catNameUrl = curEntry.getTitle(locale)?lower_case/> 
38    		<#if catNameUrl?contains(" ")> 
39                <#assign catNameUrl = catNameUrl?replace(" ","-")> 
40            </#if> 
41    		<#if catNameUrl?contains("á")> 
42            <#assign catNameUrl = catNameUrl?replace("á","a")> 
43    		</#if> 
44    		<#if catNameUrl?contains("Á")> 
45    		    <#assign catNameUrl = catNameUrl?replace("Á","A")> 
46    		</#if> 
47    		<#if catNameUrl?contains("é")> 
48    		    <#assign catNameUrl = catNameUrl?replace("é","e")> 
49    		</#if> 
50    		<#if catNameUrl?contains("É")> 
51    		    <#assign catNameUrl = catNameUrl?replace("É","E")> 
52    		</#if> 
53    		<#if catNameUrl?contains("í")> 
54    		    <#assign catNameUrl = catNameUrl?replace("í","i")> 
55    		</#if> 
56    		<#if catNameUrl?contains("Í")> 
57    		    <#assign catNameUrl = catNameUrl?replace("Í","I")> 
58    		</#if> 
59    		<#if catNameUrl?contains("ó")> 
60    		    <#assign catNameUrl = catNameUrl?replace("ó","o")> 
61    		</#if> 
62    		<#if catNameUrl?contains("Ó")> 
63    		    <#assign catNameUrl = catNameUrl?replace("Ó","O")> 
64    		</#if> 
65    		<#if catNameUrl?contains("ú")> 
66    		    <#assign catNameUrl = catNameUrl?replace("ú","u")> 
67    		</#if> 
68    		<#if catNameUrl?contains("Ú")> 
69    		    <#assign catNameUrl = catNameUrl?replace("Ú","U")> 
70    		</#if> 
71             
72            <div class="text-right"> 
73                <#if urlEnlace?has_content> 
74                    <a href='${urlEnlace}' class="link"> 
75                    <#if textoEnlace?has_content> 
76                        <span id="seeMore"> ${textoEnlace} </span>  
77                    <#else> 
78                        <span id="seeMore"> ${seeMore} <i class="icon-angle-right"></i></span>  
79                    </#if> 
80                    </a> 
81                <#else> 
82                    <!--<a href='/web/canalonline/fundacion-cofares/-/asset_publisher/7wm2IPFLlRuS/content/${catNameUrl}'>--> 
83                    <#assign visorId = "56_INSTANCE_j23b5kT7qr4p" /> 
84                    <#assign article = curEntry.getAssetRenderer().getArticle() /> 
85                    <#assign articleId = article.getArticleId() /> 
86                    <#assign groupId = themeDisplay.getScopeGroupId() /> 
87                    <#assign urlGo = "${contexto}"+"/detalle-empresa/-/journal_content/"+visorId+"/${groupId}/${articleId}?" /> 
88                    <a href="${urlGo}" class="link"> 
89                        <span id="seeMore"> ${seeMore} <i class="icon-angle-right"></i></span>  
90                    </a> 
91                </#if> 
92            </div> 
93        </div> 
94    </#list> 
95</div> 
96</#if>