Publicador de contenidos

Se ha producido un error al procesar la plantilla.
Java method "com.sun.proxy.$Proxy473.getLatestArticleByUrlTitle(long, String, int)" threw an exception when invoked on com.sun.proxy.$Proxy473 object "com.liferay.journal.service.impl.JournalArticleLocalServiceImpl@f85ebd1"; see cause exception in the Java stack trace.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign articulo = journalArticleLoca...  [in template "20116#20160#404685" at line 149, column 9]
----
1<style type="text/css"> 
2    #cont_img_cabecera{ 
3		position: relative; 
4		width: 100%; 
5		padding-bottom: 0% !important; 
6		overflow: hidden; 
7
8	#cont_img_cabecera .cabeceraRight { 
9	    height: 450px; 
10
11	#cont_img_cabecera .divimg { 
12        text-align: center; 
13        background-color: black; 
14        height: 420px; 
15
16	#cont_img_cabecera img{ 
17	    /* 
18		z-index: -1; 
19		position: absolute; 
20		top: 50%; 
21		transform: translateY(-50%); 
22		left: 0; 
23		width: 100%; 
24		min-height: 100%; 
25		*/ 
26		height: 100%; 
27
28 
29    #cont_img_cabecera h3 { 
30        position: absolute; 
31		top: 72%; 
32        display: inline; 
33		padding: 10px 10px 10px 8.33333%; 
34       /* font-size: 3vw !important;*/ 
35	    font-size: 225% !important; 
36		font-weight: 700; 
37        line-height: 90%; 
38    	background-color: white; 
39    	color: #3c428b; 
40
41	 
42	#cont_img_cabecera h6 { 
43        position: absolute; 
44		top: 60%; 
45        display: inline; 
46		padding: 10px 15px 10px 8.33333%; 
47       /* font-size: 2vw !important;*/ 
48		font-size: 200% !important; 
49		font-weight: 600; 
50        line-height: 90%; 
51    	background-color: #f3c210; 
52    	color: white; 
53
54	 
55	@media only screen and (max-width: 991px) { 
56		#cont_img_cabecera{ 
57			/*padding-bottom: 150px;*/ 
58
59		 
60		#cont_img_cabecera h2 { 
61			font-size: 38px !important; 
62
63		 
64		#cont_img_cabecera h3 { 
65 
66			font-size:  225% !important; 
67
68	 
69		#cont_img_cabecera h6 { 
70			font-size:  200% !important; 
71
72
73	 
74	@media only screen and (max-width: 476px) { 
75		#cont_img_cabecera h2 { 
76			font-size: 8vw !important; 
77
78		 
79		#cont_img_cabecera h6 { 
80			top: 41%; 
81
82		 
83		#cont_img_cabecera h3 { 
84			top: 53%; 
85
86
87	 
88	#cont_img_cabecera .cabeceraRight { 
89        z-index: 1; 
90        position: absolute; 
91        right: 0; 
92        top: 0; 
93
94	 
95	#cont_img_cabecera #redes_noticia ul li { 
96		color: white; 
97        display: block; 
98        width: 50px; 
99        height: 50px; 
100        margin: 5px 5px 5px 0; 
101        padding: 0 !important; 
102        padding-top: 6px !important; 
103        background-color: #3c428b; 
104        text-align: center; 
105
106	 
107	#cont_img_cabecera .enlaceVenta { 
108        background: #f3c210 !important; 
109        background: -webkit-linear-gradient(90deg, #f3c210, #adad33) !important; 
110        background: -o-linear-gradient(90deg, #f3c210, #adad33) !important; 
111        background: -moz-linear-gradient(90deg, #f3c210, #adad33) !important; 
112        background: #f3c210 !important; 
113
114	 
115	#cont_img_cabecera #redes_noticia ul li:first-child { 
116        margin-top: 10px; 
117
118     
119    #cont_img_cabecera #redes_noticia ul li span { 
120        font-size: 40px; 
121        color: white; 
122
123     
124    #cont_img_cabecera #redes_noticia ul { 
125        list-style-type: none; 
126        padding: 0 !important; 
127        overflow: auto; 
128
129     
130    #cont_img_cabecera #redes_noticia ul li a { 
131       text-decoration: none; 
132
133 
134</style> 
135 
136<#-- ID de la structura STR-RUTASTEATRALIZADAS --> 
137<#assign IDStructure = 173774/> 
138 
139	<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")/> 
140	 
141	<#assign url=portalUtil.getCurrentCompleteURL(request)/> 
142	<#assign articuloDisplay=false/> 
143	 
144	<#if url?contains("?inheritRedirect")> 
145		<#assign idArticulo=url?keep_before("?")?keep_after_last("/")> 
146		<#assign articuloDisplay=true> 
147	</#if> 
148	 
149	<#assign articulo = journalArticleLocalService.getLatestArticleByUrlTitle(themeDisplay.getLayout().getGroupId(), idArticulo, 0) /> 
150	<#assign document = saxReaderUtil.read(articulo.getContentByLocale('${themeDisplay.getLocale()}'))/> 
151	<#assign rootElement = document.getRootElement()/> 
152	 
153	 
154	<#assign xPathSelector = saxReaderUtil.createXPath("dynamic-element[@name='Seccion']")/> 
155	 
156	<#assign t = xPathSelector.selectSingleNode(rootElement).getStringValue()?trim/> 
157	 
158	<#if articuloDisplay == true> 
159	 
160	<#assign ImagenPortada=""> 
161	<#assign Imagen =""> 
162	<#assign Titulo=""> 
163	<#assign UrlVentaEntradasOnline=""/> 
164	<#assign urlSeccion = ""> 
165	 
166	<#assign urlSeccion =url?keep_after_last("2F")?replace("-"," ")> 
167	 
168	<#assign xPathSelector = saxReaderUtil.createXPath("dynamic-element[@name='ImagenPortada']")/> 
169	<#assign ImagenPortada = xPathSelector.selectSingleNode(rootElement).getStringValue()?trim/> 
170	 
171	<#assign xPathSelector = saxReaderUtil.createXPath("dynamic-element[@name='Seccion']")/> 
172	<#assign Titulo = xPathSelector.selectSingleNode(rootElement).getStringValue()?trim/> 
173	 
174	<#if ImagenPortada == ""> 
175	    <#--  
176		<#list Titulo as secciones> 
177			<#if Imagen == ""> 
178				<#assign xPathSelector = saxReaderUtil.createXPath("dynamic-element[@name='Imagen']")/> 
179				<#assign Imagen = xPathSelector.selectSingleNode(secciones).getStringValue()?trim> 
180			<#else> 
181				<#break> 
182			</#if> 
183		</#list> 
184		--> 
185	</#if> 
186	 
187	<#assign xPathSelector = saxReaderUtil.createXPath("dynamic-element[@name='VentaDeEntradas']")/> 
188	<#assign UrlVentaEntradasOnline = xPathSelector.selectSingleNode(rootElement).getStringValue()?trim/> 
189	 
190	<#assign layoutService = serviceLocator.findService("com.liferay.portal.kernel.service.LayoutLocalService") /> 
191	<#assign serviceContext = staticUtil["com.liferay.portal.kernel.service.ServiceContextThreadLocal"].getServiceContext() /> 
192	<#assign themeDisplay = serviceContext.getThemeDisplay() /> 
193 
194	<#assign url = themeDisplay.getURLPortal()+ themeDisplay.getURLCurrent() /> 
195	 
196	<div id="cont_img_cabecera"> 
197		<div class="cabeceraRight"> 
198			<div id="redes_noticia"> 
199				<ul>     
200					<li><a class="i_facebook" data-href='${url}' href="https://www.facebook.com/sharer/sharer.php?u=${url}&amp;src=sdkpreparse" title="Compartir en Facebook" target="_blank"> <span class="icon-facebook"></span> </a></li> 
201					<li><a class="i_linkedin" href="http://www.linkedin.com/shareArticle?url=${url}" title="Compartir en Linkedin" target="_blank"> <span class="icon-linkedin"></span> </a></li> 
202					<li><a class="i_google" href="https://plus.google.com/share?url=${url}" title="Compartir en Google+" target="_blank"> <span class="icon-google_plus"></span> </a></li> 
203					<li><a class="i_twitter" href="https://twitter.com/share?text=${Titulo?keep_after_last(".")}&url=${url}" title="Compartir en Twitter" target="_blank"> <span class="icon-twitter"></span> </a></li> 
204					 
205					 <#if UrlVentaEntradasOnline?? && UrlVentaEntradasOnline != ""> 
206					 
207					<li class="enlaceVenta"><a href="<#if UrlVentaEntradasOnline?contains('http')>${UrlVentaEntradasOnline}<#else>${UrlVentaEntradasOnline?ensure_starts_with('http://')}</#if>" title="Comprar entradas" target="_blank"> <span class="icon-ticket"></span> </a> </li> 
208					</#if> 
209				</ul> 
210			</div> 
211		</div> 
212		<#if ImagenPortada != ""> 
213		    <div class="divimg"> 
214			<img src="${ImagenPortada}"/> 
215			</div> 
216		<#else> 
217		    <div class="divimg"> 
218			<img src="${Imagen}"/> 
219			</div> 
220		</#if> 
221		<#if urlSeccion?starts_with("seccion oficial 20")> 
222			<h6 class="titulo-faimilia-nunito">Sección oficial</h6> 
223		</#if> 
224		<#if urlSeccion?starts_with("seccion off 20") > 
225			<h6 class="titulo-faimilia-nunito">Sección off</h6> 
226		</#if> 
227		<#if urlSeccion?starts_with("estacion norte 20")> 
228			<h6 class="titulo-faimilia-nunito">Estación norte</h6> 
229		</#if> 
230		<h3 class="titulo-faimilia-nunito" id="demo">${articulo.getTitle(locale)}</h3> 
231	</div> 
232	</#if> 

Camino de migas

Camino de migas

Publicador de contenidos

Publicador de contenidos no está disponible temporalmente.

Publicador de contenidos

Se ha producido un error al procesar la plantilla.
Java method "com.sun.proxy.$Proxy473.getLatestArticleByUrlTitle(long, String, int)" threw an exception when invoked on com.sun.proxy.$Proxy473 object "com.liferay.journal.service.impl.JournalArticleLocalServiceImpl@f85ebd1"; see cause exception in the Java stack trace.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign articulo = journalArticleLoca...  [in template "20116#20160#401951" at line 166, column 9]
----
1<#-- ESTILOS EN EL TEMA - adt_datos_compania 
2 
3<style type="text/css"> 
4	.barraInfo22{ 
5		position: relative; 
6		margin-top: 15px; 
7
8 
9	.barraInfo2 .infoLateral2{ 
10		position: relative; 
11		padding: 1%; 
12		background-color: #d9d9d9; 
13
14	 
15	.barraInfo2 .infoLateral2 span{ 
16		font-weight: bold; 
17
18	 
19	.barraInfo2 .infoLateral2 #cortar{ 
20		word-break: break-all; 
21	}	 
22	 
23</style> 
24.barraInfo .infoLateral a { 
25    word-wrap: break-word; 
26    padding: 5px; 
27    border: 1px solid; 
28    text-align: center; 
29    margin: auto; 
30    display: block; 
31    border-radius: 5px; 
32    background: indigo; 
33    font-weight: bold; 
34    background: linear-gradient(90deg, #4e4f5d, #282f79); 
35    color: white; 
36
37--> 
38 
39<style type="text/css"> 
40.barraInfo .infoLateral a { 
41    margin: auto; 
42    display: block; 
43    color: #008cff; 
44
45 
46.barraInfo .infoLateral { 
47    padding: 10px; 
48
49 
50.adt_navegacion_2 .Navigation_Items li .TitleOption.TitleOption2 { 
51	font-size: 1.3vw !important; 
52
53 
54	.margin-top-horarios-tarivas-venta { 
55	    margin-top: 45px; 
56
57	 
58	.margin-top-horarios-tarivas-venta .barraInfo { 
59		margin-top: 0px; 
60
61	 
62	.margin-top-horarios-tarivas-venta .adt_nav2_vert .Navigation_Items li { 
63		margin: 0px; 
64
65	 
66	.margin-top-horarios-tarivas-venta .adt_navegacion_2 .Navigation_Items .NavigationElements { 
67        outline: 8px solid #d9ad0e; 
68        outline-offset: -8px; 
69        background: #b94155; 
70        background: -webkit-linear-gradient(90deg, #ff0, #adad33); 
71        background: -o-linear-gradient(90deg, #ff0, #adad33); 
72        background: -moz-linear-gradient(90deg, #ff0, #adad33); 
73        background: #f3c210; 
74
75    .margin-top-horarios-tarivas-venta .adt_navegacion_2.adt_navegacion_2_mini .Navigation_Items .NavigationElements span[class^="icon-"] { 
76        font-size: 3vw !important; 
77
78 
79    .margin-top-horarios-tarivas-venta .adt_navegacion_2 .Navigation_Items .NavigationElements span[class^="icon-"] { 
80        position: absolute; 
81        top: 20%; 
82        right: 50%; 
83        transform: translateX(50%); 
84        margin: 0; 
85        padding: 2% 2% 4% 2%; 
86        font-size: 8vw !important; 
87        display: inline-block; 
88        color: white; 
89        background: none; 
90
91	 
92	.margin-top-horarios-tarivas-venta .barraInfo{ 
93			margin-bottom: 10px; 
94
95 
96    .margin-top-horarios-tarivas-venta .adt_navegacion_2 .Navigation_Items .NavigationElements .TitleOption { 
97		padding: 10px; 
98        color: #262a59; 
99        background: none; 
100
101 
102    .margin-top-horarios-tarivas-venta .adt_navegacion_2 .Navigation_Items .NavigationElements .OptionImage { 
103        opacity: 0.15; 
104
105	 
106	@media(max-width: 768px){ 
107		.margin-top-horarios-tarivas-venta .adt_navegacion_2.adt_navegacion_2_mini .Navigation_Items .NavigationElements span[class^="icon-"] { 
108			font-size: 4vw !important; 
109
110		 
111		.adt_navegacion_2 .Navigation_Items li .TitleOption.TitleOption2 { 
112			font-size: 2vw !important; 
113
114
115	 
116	@media(max-width: 767px){ 
117		.margin-top-horarios-tarivas-venta .adt_navegacion_2.adt_navegacion_2_mini .Navigation_Items .NavigationElements span[class^="icon-"] { 
118			font-size: 6vw !important; 
119
120		 
121		.adt_navegacion_2 .Navigation_Items li .TitleOption.TitleOption2 { 
122			font-size: 3vw !important; 
123
124		 
125		.adt_navegacion_2 .Navigation_Items_Container { 
126			width: 60%; 
127
128
129	 
130	@media(max-width: 427px){ 
131		.margin-top-horarios-tarivas-venta .adt_navegacion_2.adt_navegacion_2_mini .Navigation_Items .NavigationElements span[class^="icon-"] { 
132			font-size: 10vw !important; 
133
134		 
135		.adt_navegacion_2 .Navigation_Items li .TitleOption.TitleOption2 { 
136			font-size: 5vw !important; 
137
138		 
139		.adt_navegacion_2 .Navigation_Items_Container { 
140			width: 100%; 
141
142
143	 
144</style> 
145 
146<#-- ID de la structura STR-RUTASTEATRALIZADAS --> 
147<#assign IDStructure = 173774> 
148 
149	<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")> 
150	 
151	<#assign url=portalUtil.getCurrentCompleteURL(request)> 
152	<#assign articuloDisplay=false> 
153	 
154	<#assign idArticulo = ""> 
155	<#if url?contains("?inheritRedirect")> 
156		<#assign idArticulo=url?keep_before("?")?keep_after_last("/")> 
157		<#assign articuloDisplay=true> 
158	<#else> 
159		<#if url?contains("content")> 
160			<#assign indiceLugar=url?index_of("content")> 
161			<#assign idArticulo=url?keep_before("?")?keep_after_last("/")> 
162			<#assign articuloDisplay=true> 
163		</#if> 
164	</#if> 
165	<#if idArticulo != ""> 
166	<#assign articulo = journalArticleLocalService.getLatestArticleByUrlTitle(themeDisplay.getLayout().getGroupId(), idArticulo, 0) /> 
167	<#assign document = saxReaderUtil.read(articulo.getContentByLocale('${themeDisplay.getLocale()}'))> 
168	<#assign rootElement = document.getRootElement()> 
169	 
170	 
171	<#assign xPathSelector = saxReaderUtil.createXPath("dynamic-element[@name='Seccion']")> 
172	 
173	<#assign t = xPathSelector.selectSingleNode(rootElement).getStringValue()?trim> 
174	 
175	<#assign seccionRepeatable = xPathSelector.selectNodes(rootElement)> 
176	 
177	<#assign xPathSelector = saxReaderUtil.createXPath("dynamic-element[@name='Pais']")> 
178	<#if xPathSelector.selectSingleNode(rootElement)??> 
179	</#if> 
180	 
181	<#if articuloDisplay == true> 
182	 
183	<#assign text_horarios = journalArticleLocalService.getLatestArticle(182047).getDescription(locale)/> 
184	<#assign text_tarifas = journalArticleLocalService.getLatestArticle(182059).getDescription(locale)/> 
185	<#assign text_venta_de_entradas = journalArticleLocalService.getLatestArticle(182071).getDescription(locale)/> 
186	<#assign text_descargar = journalArticleLocalService.getLatestArticle(218596).getDescription(locale)/> 
187	 
188	 
189	<#assign Pais=""> 
190	<#assign Duracion=""> 
191	<#assign Genero=""> 
192	<#assign masInformacion=""> 
193	 
194	<#assign UrlVentaEntradasOnline=""> 
195	 
196	 
197	<#assign xPathSelector = saxReaderUtil.createXPath("dynamic-element[@name='Pais']")> 
198	<#if xPathSelector.selectSingleNode(rootElement)??> 
199		<#assign Pais = xPathSelector.selectSingleNode(rootElement).getStringValue()?trim> 
200	</#if> 
201	 
202	<#assign xPathSelector = saxReaderUtil.createXPath("dynamic-element[@name='Duracion']")> 
203	<#if xPathSelector.selectSingleNode(rootElement)??> 
204		<#assign Duracion = xPathSelector.selectSingleNode(rootElement).getStringValue()?trim> 
205	</#if> 
206	 
207	<#assign xPathSelector = saxReaderUtil.createXPath("dynamic-element[@name='Genero']")> 
208	<#if xPathSelector.selectSingleNode(rootElement)??> 
209		<#assign Genero = xPathSelector.selectSingleNode(rootElement).getStringValue()?trim> 
210	</#if> 
211	 
212	<#assign xPathSelector = saxReaderUtil.createXPath("dynamic-element[@name='masInformacion']")> 
213	<#if xPathSelector.selectSingleNode(rootElement)??> 
214		<#assign masInformacion = xPathSelector.selectSingleNode(rootElement).getStringValue()?trim> 
215	</#if> 
216	 
217	<#assign xPathSelector = saxReaderUtil.createXPath("dynamic-element[@name='VentaDeEntradas']")> 
218	<#if xPathSelector.selectSingleNode(rootElement)??> 
219		<#assign UrlVentaEntradasOnline = xPathSelector.selectSingleNode(rootElement).getStringValue()?trim> 
220	</#if> 
221	 
222	 
223	<#assign DDMStructureLocalService = serviceLocator.findService("com.liferay.dynamic.data.mapping.service.DDMStructureLocalService") />   
224	<#assign structure = DDMStructureLocalService.getStructure(IDStructure) /> 
225	<#assign DDMFormField = structure.getDDMFormField("DocumentoDeDescarga") />  
226	<#assign nestedFields = DDMFormField.getNestedDDMFormFields() /> 	 
227		 
228	<#assign xPathSelector = saxReaderUtil.createXPath("dynamic-element[@name='DocumentoDeDescarga']") /> 
229	<#if xPathSelector.selectSingleNode(rootElement)??> 
230		<#assign groupDocs = xPathSelector.selectSingleNode(rootElement) /> 
231		 
232		<#assign xPathSelector = saxReaderUtil.createXPath("dynamic-element[@name='TipoDeDocumento']") /> 
233		<#if xPathSelector.selectSingleNode(groupDocs)??> 
234			<#assign valueTypeDoc = xPathSelector.selectSingleNode(groupDocs).getStringValue()?trim /> 
235			 
236			<#list nestedFields as nestedField> 
237				<#if nestedField.getName()=="TipoDeDocumento"> 
238					<#assign options = nestedField.getDDMFormFieldOptions() />  
239					<#assign tipoDocDescarga = options.getOptionLabels(valueTypeDoc).getString(locale) /> 
240				</#if> 
241			</#list> 
242		</#if> 
243		 
244		<#assign xPathSelector = saxReaderUtil.createXPath("dynamic-element[@name='DocumentoDescarga']") /> 
245		<#if xPathSelector.selectSingleNode(groupDocs)??> 
246			<#assign linkDocDescarga = xPathSelector.selectSingleNode(groupDocs).getStringValue()?trim /> 
247		</#if> 
248	</#if> 
249	 
250	<div class="margin-top-horarios-tarivas-venta"> 
251		<#if Duracion != "" || Pais != "" || Genero != ""> 
252			<div class="barraInfo"> 
253				<div class="infoLateral"> 
254					<#if Pais != ""> 
255						<span>PAÍS: </span>${Pais}<br> 
256					</#if> 
257					<#if Duracion != ""> 
258						<span>DURACIÓN: </span>${Duracion}<br> 
259					</#if> 
260					<#if Genero != ""> 
261						<span>GENERO: </span>${Genero}<br> 
262					</#if> 
263					<#if masInformacion != ""> 
264						<p></p> 
265						<span>Más información: </span> 
266						<a href="${masInformacion}">${masInformacion}</a> 
267					</#if> 
268				</div>		 
269			</div> 
270		</#if> 
271		<#if UrlVentaEntradasOnline != ""> 
272			<div class="adt_navegacion_2 adt_nav2_vert adt_navegacion_2_mini adt_nav2_vert adt_navegacion_2_mini_margin">  
273				<div class="Navigation_Items_Container"> 
274					<ul class="Navigation_Items"> 
275						<li> 
276							<div class="NavigationElements"> 
277								<a href="<#if UrlVentaEntradasOnline?contains('http')>${UrlVentaEntradasOnline}<#else>${UrlVentaEntradasOnline?ensure_starts_with('http://')}</#if>" target="_blank"> 
278									<img id="OptionImageApps" class="OptionImage" alt="${text_venta_de_entradas}" src="/documents/20147/385966/Venta+de+entradas.jpg/89906ad5-9499-3ad7-5308-fec35457589e?t=1543494596203"> 
279									<span class="icon-ticket"></span>  
280									<span class="TitleOption TitleOption2"> ${text_venta_de_entradas}</span> 
281								</a> 
282							</div> 
283						</li> 
284					</ul> 
285				</div> 
286			</div> 
287		</#if> 
288	</#if> 
289	</div> 
290</#if> 

Publicador de contenidos