Um erro ocorreu enquanto processava o modelo.
The following has evaluated to null or missing:
==> friendlyURLs[themeDisplay.getLanguageId()]  [in template "20098#20124#510014" at line 73, column 72]

----
Tip: It's the final [] step that caused this error, not those before it.
----
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: ${friendlyURLs[themeDisplay.getLangua...  [in template "20098#20124#510014" at line 73, column 70]
----
1<#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService") /> 
2<#assign assetLinkLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetLinkLocalService") /> 
3<#assign JournalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")> 
4<#assign article = JournalArticleLocalService.getArticle(groupId, .vars['reserved-article-id'].data)> 
5<#assign asset = assetEntryLocalService.getEntry('com.liferay.journal.model.JournalArticle', article.resourcePrimKey) > 
6<#assign serviceContext = staticUtil["com.liferay.portal.kernel.service.ServiceContextThreadLocal"].getServiceContext()> 
7<#assign assetLinks = assetLinkLocalService.getDirectLinks(asset.getEntryId()) /> 
8<#assign themeDisplay = serviceContext.getThemeDisplay() /> 
9<#assign mytitle = .vars['reserved-article-title'].data> 
10<#assign minititle=(mytitle)> 
11<#assign SiteMex = false /> 
12<#assign catIdSite = '' /> 
13<#list asset.getCategories() as category> 
14    <#if (category.vocabularyId = 2031592 )> 
15        <#assign SiteMex = true /> 
16        <#assign catIdSite = category.categoryId /> 
17    </#if> 
18</#list> 
19<#if (SiteMex = true)> 
20    <ul class="breadcrumb-list"> 
21	<li class="breadcrumb-item-list"> 
22 
23            <#if (catIdSite == 2031608)> 
24                <a href="/web/cesce-mexico/cescemex-fianzas/noticias-cescemex-fianzas" title="Sala de prensa">Noticias CESCEMEX Fianzas</a> 
25            </#if> 
26             <#if (catIdSite == 2031602)> 
27                <a href="/web/cesce-mexico//noticias" title="Sala de prensa">Noticias CESCE MÉXICO</a> 
28            </#if> 
29             
30            <span title="${Titulo.getData()}" class="breadcrumbItem">${Titulo.getData()}</span> 
31        </li> 
32    </ul> 
33</#if> 
34 
35 
36 
37<div class="view-news"> 
38<div class="header-new"> 
39    <div class="title waypoints" effect="animate__fadeInLeft" delay=".6"> 
40        <div class="d-flex w-100 justify-content-between align-item-baseline"> 
41            <p class="cat-date"> 
42            <#--<#assign Fecha_Data = getterUtil.getString(Fecha.getData())> 
43            <#if validator.isNotNull(Fecha_Data)> 
44                <#assign Fecha_DateObj = dateUtil.parseDate("yyyy-MM-dd", Fecha_Data, locale)> 
45                <strong>${dateUtil.getDate(Fecha_DateObj, "dd MMM yyyy", locale)}</strong> 
46            </#if>--> 
47			<strong>${dateUtil.getDate(asset.getPublishDate(), "dd MMM yyyy", locale)}</strong> 
48            </p> 
49            <p class="categories"> 
50            <#list asset.getCategories() as category> 
51                <#if (category.vocabularyId = 67255 )> 
52                <span> 
53                    ${category.name} 
54                </span> 
55                </#if> 
56            </#list> 
57            </p> 
58        </div> 
59        <#if Titulo.getData()?? && Titulo.getData() != ""> 
60        <h1>${Titulo.getData()}</h1> 
61        </#if> 
62    </div> 
63    <#if ImagenPrincipal1.getData()?? && ImagenPrincipal1.getData() != ""> 
64        <div class="image waypoints" effect="animate__fadeInRight" delay="1.3" title="${ImagenPrincipal1.getAttribute("alt")}" style="background-image:url(${ImagenPrincipal1.getData()})"> 
65        <#else> 
66        <div class="image waypoints" effect="animate__fadeInRight" delay="1.3" title="imagen noticia" style="background-color:gray"> 
67    </#if> 
68    </div> 
69</div> 
70<#if Entradilla.getData()?? && Entradilla.getData() != ""> 
71<div class="align-items-stretch d-flex flex-wrap header-entrance justify-content-between waypoints" effect="animate__fadeInUp" delay="1.5"> 
72    <div class="share"> 
73       <a target="_blank" href="https://twitter.com/intent/tweet?url=${friendlyURLs[themeDisplay.getLanguageId()]}&text=${Titulo.getData()}&via=cesce_es" ><span class="fontello icon-x-twitter" aria-hidden="true"></span></a> 
74        <a target="_blank" href="https://www.linkedin.com/shareArticle?mini=true&url=${friendlyURLs[themeDisplay.getLanguageId()]}/&title=${minititle}" ><span class="icon-linkedin" aria-hidden="true"></span></a> 
75        <a target="_blank" href="https://www.facebook.com/sharer/sharer.php?u=${friendlyURLs[themeDisplay.getLanguageId()]}" ><span class="icon-facebook" aria-hidden="true"></span></a> 
76    </div> 
77    <div class="content"> 
78        <div>${Entradilla.getData()}</div> 
79    </div> 
80</div> 
81</#if> 
82<#if Cuerpo.getData()?? && Cuerpo.getData() != ""> 
83<div class="body-new"> 
84    ${Cuerpo.getData()} 
85</div> 
86</#if> 
87<#assign download = ''> 
88<#list Descargables.getSiblings() as cur_Descargables> 
89    <#if cur_Descargables.Archivo_descargable.getData()?? && cur_Descargables.Archivo_descargable.getData() != ""> 
90        <#assign download = 'yes'> 
91    </#if> 
92</#list> 
93<#if download == 'yes'> 
94<div class="box-download border-bottom mb-3" > 
95 <#list Descargables.getSiblings() as cur_Descargables> 
96    <#if cur_Descargables.Archivo_descargable.getData()?? && cur_Descargables.Archivo_descargable.getData() != ""> 
97    
98        <a class="download-icon link border-0 w-auto mr-4" href="${cur_Descargables.Archivo_descargable.getData()}"> 
99             ${cur_Descargables.Nombre_descargable.getData()} 
100        </a> 
101     
102    </#if> 
103</#list> 
104</div> 
105 <#list Fuentes.getSiblings() as cur_Fuentes> 
106    <#if cur_Fuentes.Enlace_fuentes.getData()?? && cur_Fuentes.Enlace_fuentes.getData() != ""> 
107    
108        <a class="external-link link border-0 w-auto mr-4" href="${cur_Fuentes.Enlace_fuentes.getData()}"> 
109             ${cur_Fuentes.Nombre_fuentes.getData()} 
110        </a> 
111    </#if> 
112</#list> 
113</#if> 
114 <#assign tags = false> 
115<#list asset.getTags() as tag> 
116    <#assign tags = true> 
117</#list> 
118<#if (tags = true)> 
119    <div class="cat-tags d-inline-block mt-3 w-100"> 
120    <#list asset.getTags() as tag> 
121        <span>${tag.name}</span> 
122    </#list> 
123    </div> 
124</#if> 
125<div class="cat-share-bottom"> 
126            <span> 
127            Compártelo: 
128            </span> 
129            <div class="share">  
130               <a target="_blank" href="https://twitter.com/intent/tweet?url=${friendlyURLs[themeDisplay.getLanguageId()]}&text=${Titulo.getData()}&via=cesce_es" ><span class="fontello icon-x-twitter" aria-hidden="true"></span></a> 
131                <a target="_blank" href="https://www.linkedin.com/shareArticle?mini=true&url=${friendlyURLs[themeDisplay.getLanguageId()]}/&title=${minititle}" ><span class="icon-linkedin" aria-hidden="true"></span></a> 
132                <a target="_blank" href="https://www.facebook.com/sharer/sharer.php?u=${friendlyURLs[themeDisplay.getLanguageId()]}" ><span class="icon-facebook" aria-hidden="true"></span></a> 
133            </div> 
134        </div> 
135        <#assign cats =  false> 
136        <#list asset.getCategories() as category> 
137            <#assign cats =  true> 
138        </#list> 
139        <#if ( cats =  true)> 
140        <div class="cat-links"> 
141         
142            <div class="categories"> 
143            <span> 
144            Seguir leyendo sobre: 
145            </span> 
146            <#list asset.getCategories() as category> 
147                    <a href="/web/guest/noticias/-/categories/${category.categoryId}"> 
148                        ${category.name} 
149                    </a>        
150            </#list> 
151            </div> 
152        </div>  
153        </#if> 
154</div> 
155 
156<script> 
157 
158incrementViewCounter('${asset.getClassPK()}'); 
159 
160function incrementViewCounter(classPK) { 
161	Liferay.Service( 
162	  '/assetentry/increment-view-counter', 
163
164		companyId: Liferay.ThemeDisplay.getCompanyId(), 
165		className: 'com.liferay.journal.model.JournalArticle', 
166		classPK: classPK 
167	  }, 
168	  function(obj) { 
169		//no need to do anything 
170
171	); 
172
173</script> 
174<style> 
175.component-html img { 
176    max-width: 100%; 
177    width: auto; 
178    height: auto; 
179
180</style> 

Te podría interesar

Publicador de Conteúdos e Mídias

Um erro ocorreu enquanto processava o modelo.
The following has evaluated to null or missing:
==> friendlyURLs[themeDisplay.getLanguageId()]  [in template "20098#20124#97605" at line 13, column 17]

----
Tip: It's the final [] step that caused this error, not those before it.
----
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: ${friendlyURLs[themeDisplay.getLangua...  [in template "20098#20124#97605" at line 13, column 15]
----
1<#assign journalArticleId = .vars['reserved-article-id'].data> 
2<#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService") /> 
3<#assign journalArticleResourceLocalServiceUtil = serviceLocator.findService("com.liferay.journal.service.JournalArticleResourceLocalService")> 
4<#assign assetCategoryLocalServiceUtil = serviceLocator.findService("com.liferay.asset.kernel.service.AssetCategoryLocalService")> 
5<#assign assetVocabularyLocalServiceUtil = serviceLocator.findService("com.liferay.asset.kernel.service.AssetVocabularyLocalService")> 
6 
7<#assign articleResourcePK = journalArticleResourceLocalServiceUtil.getArticleResourcePrimKey(groupId, journalArticleId)/> 
8<#assign categoryList=assetCategoryLocalServiceUtil.getCategories("com.liferay.journal.model.JournalArticle",articleResourcePK) > 
9<#assign asset = assetEntryLocalService.getEntry('com.liferay.journal.model.JournalArticle', articleResourcePK) > 
10 
11<div class="box-inform container -reducida -view-small"> 
12    <#if ImagenPrincipal1?? && ImagenPrincipal1.getData()?? && ImagenPrincipal1.getData() != ""> 
13     <a href="${friendlyURLs[themeDisplay.getLanguageId()]}" class="image w-100 " style="background-image:url(${ImagenPrincipal1.getData()})" title="${ImagenPrincipal1.getAttribute("alt")}"> 
14     <#else> 
15     <a href="${friendlyURLs[themeDisplay.getLanguageId()]}" class="image w-100 " style="background-color:gray" title="noticia destacada"> 
16    </#if> 
17       
18     </a> 
19     
20     
21    <div class="info-content w-100"> 
22    <a href="${friendlyURLs[themeDisplay.getLanguageId()]}" class="title-news mt-0"> 
23    <#if Titulo.getData()?length &lt; 90> 
24    ${Titulo.getData()} 
25    <#else> 
26    ${Titulo.getData()?substring(0,90)}... 
27    </#if> 
28    </a> 
29    <div class="d-flex date-share flex-wrap justify-content-between"> 
30    <span class="date">${dateUtil.getDate(asset.getPublishDate(), "dd MMM yyyy", locale)}</span> 
31     <#list categoryList as category> 
32        <#if (category.vocabularyId = 67258 )> 
33          <#assign countPais =  category?index /> 
34        </#if> 
35      </#list> 
36      
37      <div class="cat-share d-flex flex-wrap"> 
38       <#list categoryList as category> 
39        <#if (category.vocabularyId = 67258 )> 
40             <#if (countPais lt 3 )> 
41              <a target="_blank" href="/web/guest/noticias/-/categories/${category.categoryId}" class="cat"> 
42              ${category.name} 
43              </a> 
44              </#if> 
45              <#if (countPais gt 3 )> 
46             <span class="cat"> 
47             VARIOS PAISES 
48              </span> 
49              <#break> 
50                 
51              </#if> 
52             
53        </#if> 
54      </#list> 
55        <#--  <span class="share"> 
56           
57        </span>  --> 
58      </div> 
59    </div> 
60    <#--  <a href="${friendlyURLs[themeDisplay.getLanguageId()]}">VER MÁS</a>  --> 
61     
62</div> 
63 
64         
65</div> 
Um erro ocorreu enquanto processava o modelo.
The following has evaluated to null or missing:
==> friendlyURLs[themeDisplay.getLanguageId()]  [in template "20098#20124#97605" at line 13, column 17]

----
Tip: It's the final [] step that caused this error, not those before it.
----
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: ${friendlyURLs[themeDisplay.getLangua...  [in template "20098#20124#97605" at line 13, column 15]
----
1<#assign journalArticleId = .vars['reserved-article-id'].data> 
2<#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService") /> 
3<#assign journalArticleResourceLocalServiceUtil = serviceLocator.findService("com.liferay.journal.service.JournalArticleResourceLocalService")> 
4<#assign assetCategoryLocalServiceUtil = serviceLocator.findService("com.liferay.asset.kernel.service.AssetCategoryLocalService")> 
5<#assign assetVocabularyLocalServiceUtil = serviceLocator.findService("com.liferay.asset.kernel.service.AssetVocabularyLocalService")> 
6 
7<#assign articleResourcePK = journalArticleResourceLocalServiceUtil.getArticleResourcePrimKey(groupId, journalArticleId)/> 
8<#assign categoryList=assetCategoryLocalServiceUtil.getCategories("com.liferay.journal.model.JournalArticle",articleResourcePK) > 
9<#assign asset = assetEntryLocalService.getEntry('com.liferay.journal.model.JournalArticle', articleResourcePK) > 
10 
11<div class="box-inform container -reducida -view-small"> 
12    <#if ImagenPrincipal1?? && ImagenPrincipal1.getData()?? && ImagenPrincipal1.getData() != ""> 
13     <a href="${friendlyURLs[themeDisplay.getLanguageId()]}" class="image w-100 " style="background-image:url(${ImagenPrincipal1.getData()})" title="${ImagenPrincipal1.getAttribute("alt")}"> 
14     <#else> 
15     <a href="${friendlyURLs[themeDisplay.getLanguageId()]}" class="image w-100 " style="background-color:gray" title="noticia destacada"> 
16    </#if> 
17       
18     </a> 
19     
20     
21    <div class="info-content w-100"> 
22    <a href="${friendlyURLs[themeDisplay.getLanguageId()]}" class="title-news mt-0"> 
23    <#if Titulo.getData()?length &lt; 90> 
24    ${Titulo.getData()} 
25    <#else> 
26    ${Titulo.getData()?substring(0,90)}... 
27    </#if> 
28    </a> 
29    <div class="d-flex date-share flex-wrap justify-content-between"> 
30    <span class="date">${dateUtil.getDate(asset.getPublishDate(), "dd MMM yyyy", locale)}</span> 
31     <#list categoryList as category> 
32        <#if (category.vocabularyId = 67258 )> 
33          <#assign countPais =  category?index /> 
34        </#if> 
35      </#list> 
36      
37      <div class="cat-share d-flex flex-wrap"> 
38       <#list categoryList as category> 
39        <#if (category.vocabularyId = 67258 )> 
40             <#if (countPais lt 3 )> 
41              <a target="_blank" href="/web/guest/noticias/-/categories/${category.categoryId}" class="cat"> 
42              ${category.name} 
43              </a> 
44              </#if> 
45              <#if (countPais gt 3 )> 
46             <span class="cat"> 
47             VARIOS PAISES 
48              </span> 
49              <#break> 
50                 
51              </#if> 
52             
53        </#if> 
54      </#list> 
55        <#--  <span class="share"> 
56           
57        </span>  --> 
58      </div> 
59    </div> 
60    <#--  <a href="${friendlyURLs[themeDisplay.getLanguageId()]}">VER MÁS</a>  --> 
61     
62</div> 
63 
64         
65</div>