Juegos online

Se ha producido un error al procesar la plantilla.
The following has evaluated to null or missing:
==> industriaService.findByName(NombreDeLaIndustria.getData())  [in template "61606#61645#69535" at line 4, column 17]

----
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: industria = industriaService.findByNa...  [in template "61606#61645#69535" at line 4, column 5]
----
1<!-- assets/portal-publico/categorias/templates/categoria.ftl --> 
2<#assign  
3    industriaService = serviceLocator.findService("com.sencillito.publico.portal.service.IndustriaLocalService") 
4    industria = industriaService.findByName(NombreDeLaIndustria.getData()) 
5     
6    industriaConvenioService = serviceLocator.findService("com.sencillito.publico.portal.service.IndustriaConvenioLocalService") 
7    convenios = industriaConvenioService.findByIndustriaId(industria.getId(), false) 
8     
9    imagesPath = themeDisplay.getPathThemeImages() 
10	prefix = "ppt" 
11	largo = convenios?size 
12	valor = -1 
13/> 
14 
15<section class="${prefix}-centro-de-ayuda ${prefix}-categoria container-secondary"> 
16   
17    <div class="px-2"> 
18    	<div class="container ${prefix}-categoria-header ${prefix}-card-message mb-3 p-3"> 
19    		<div class="row h-100 m-0 p-0"> 
20    			<div class="d-flex col-sm-12 my-auto align-items-center"> 
21    				<span class="${prefix}-categoria-header__title"> ${industria.getNombre()}</span> 
22    				<#if industria.getLogoPath()?? && industria.getLogoPath() != ""> 
23    					<img class="${prefix}-categoria-header__image" src="${industria.getLogoPath()}" /> 
24    				</#if> 
25    				<div class="d-flex flex-column"> 
26        				<h3 class="text-blue"> 
27        				    <div id="parrafo_sin_salto"> 
28        				        <p>${TituloParte1.getData()} ${industria.getNombre()?lower_case}  ${TituloParte2.getData()}</p> 
29        				    </div> 
30        				</h3> 
31        				<p class="m-0"> 
32        				    <div id="parrafo_sin_salto"> 
33        				        ${pieTitulo1.getData()} ${industria.getNombre()?lower_case} ${PieTitulo2.getData()} 
34        				    </div> 
35        				</p> 
36    				</div> 
37    			</div> 
38    		</div> 
39    	</div> 
40	</div> 
41     
42	<div class="container"> 
43	<div class="row"> 
44		<#if convenios?has_content> 
45		    <#list convenios as convenio1> 
46		           
47			    <#if convenio1.getShortUtilityName()?has_content> 
48		            <#if convenio1.getUtilityNumber() == 6500> 
49                        <#assign valor = convenio1.getId()/> 
50			        </#if> 
51			    </#if> 
52			</#list> 
53			<#list convenios as convenio> 
54			     
55    			    <#if convenio.getUtilityNumber() != 7241 && convenio.getUtilityNumber() != 1284 && convenio.getUtilityNumber() != 1314 && convenio.getUtilityNumber() != 1334> 
56        			    <#if convenio.getShortUtilityName()?has_content> 
57            			    <#assign url = themeDisplay.getPortalURL() + "/pagos-de-la-factura?industriaId=" + industria.getId() + "&convenioId=" + convenio.getId() /> 
58                                 <#if convenio.getConvenioFatherId()== 0> 
59                    				<div class="custom-col"> 
60                    					<a title="${convenio.getShortUtilityName()}" href="${url}" class="${prefix}-centro-de-ayuda-item text-center"> 
61                    						<div class="${prefix}-centro-de-ayuda-item__content ${prefix}-categorias-item__content"> 
62                								<div class="${prefix}-categorias__image-wrapper"> 
63                									<#if convenio.getLogoPath()?? && convenio.getLogoPath() != ""> 
64                										<img class="${prefix}-categorias__image" src="${convenio.getLogoPath()}" /> 
65                									<#else> 
66                										<img class="${prefix}-categorias__image" src="${imagesPath}/shared/globals/default_image.png" /> 
67                									</#if> 
68                								</div> 
69                    							<h4 class="${prefix}-centro-de-ayuda-item__title font-weight-normal">${convenio.getShortUtilityName()}</h4> 
70                    						</div> 
71                    					</a> 
72                    				</div> 
73                    		    <#else> 
74                    			    <#if convenio.getConvenioFatherId()== valor> 
75                    			       <div class="custom-col"> 
76                    					<a title="${convenio.getShortUtilityName()}" href="${url}" class="${prefix}-centro-de-ayuda-item text-center"> 
77                    						<div class="${prefix}-centro-de-ayuda-item__content ${prefix}-categorias-item__content"> 
78                								<div class="${prefix}-categorias__image-wrapper"> 
79                									<#if convenio.getLogoPath()?? && convenio.getLogoPath() != ""> 
80                										<img class="${prefix}-categorias__image" src="${convenio.getLogoPath()}" /> 
81                									<#else> 
82                										<img class="${prefix}-categorias__image" src="${imagesPath}/shared/globals/default_image.png" /> 
83                									</#if> 
84                								</div> 
85                    							<h4 class="${prefix}-centro-de-ayuda-item__title font-weight-normal">${convenio.getShortUtilityName()}</h4> 
86                    						</div> 
87                    					</a> 
88                    				</div> 
89                    			    </#if> 
90                    		    </#if> 
91                    		     
92                    		      
93        				</#if> 
94        			</#if> 
95        		 
96			</#list> 
97		</#if> 
98	</div> 
99	</div> 
100	<div class="px-2"> 
101    	<div class="p-3 ${prefix}-card-message"> 
102    		<div class="row h-100 m-0 p-0"> 
103    			<div class="d-flex col-sm-12 my-auto align-items-center"> 
104    				<div class="d-flex m-0"> 
105    				    <div id="parrafo_sin_salto"> 
106                            <#assign count = 0 /> 
107                            ${MensajePieDePagina.getData()} 
108                                <p> 
109                                   <#list convenios as convenio1> 
110                                        <#if convenio1.getUtilityNumber() != 7241> 
111                                            <#if convenio1.getConvenioFatherId() == 0> 
112                                                <#if convenio1.getShortUtilityName()?has_content> 
113        										    <#assign count = count + 1 /> 
114        											<#if (convenios?size > 4 )> 
115        												<#if (count > 3 )> 
116                                                        ${convenio1.shortUtilityName} 
117                                                        <#break> 
118        												</#if> 
119        											</#if> 
120        											<#if convenio1?is_last> 
121        												${convenio1.shortUtilityName} 
122        												<#break> 
123        											</#if> 
124                                                    ${convenio1.shortUtilityName}, 
125                                                </#if> 
126                                            </#if> 
127                                        </#if> 
128                    			    </#list> 
129                    			</p> 
130            			    ${Mensaje2.getData()} 
131            			</div>     
132    				</div> 
133    			</div> 
134    		</div> 
135    	</div> 
136	</div> 
137 
138</section> 
139 
140<style> 
141 
142.ppt-card-message { 
143    background-color: #FFF; 
144    border-radius: 12px; 
145    width: 100%; 
146    height:max-content; 
147
148 
149.ppt-card-message p { 
150    color:#283A86; 
151    margin:0; 
152
153 
154#parrafo_sin_salto p{ 
155    display: inline; 
156
157 
158 
159</style> 
160 
161<script> 
162 
163	$(function() { 
164 
165		shave('.${prefix}-centro-de-ayuda-item__title', 44); 
166 
167	}) 
168</script>