Se ha producido un error al procesar la plantilla.
The following has evaluated to null or missing:
==> buttonText.button_style_0  [in template "776318#776366#SEG_PP_PROMO" at line 105, column 48]

----
Tip: It's the step after the last dot 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: #assign styleButton = buttonText.butt...  [in template "776318#776366#SEG_PP_PROMO" at line 105, column 25]
----
1<#-- Obtenemos del expando el campo personalizado de la analítica --> 
2<#assign JournalArticleService = serviceLocator.findService("com.liferay.journal.service.JournalArticleService")> 
3<#assign journalArticle = JournalArticleService.getArticle(groupId, .vars["reserved-article-id"].data)> 
4 
5<#if journalArticle??> 
6    <#assign expandoBridge = journalArticle.getExpandoBridge()> 
7    <#assign customAnalyticsProperties = expandoBridge.getAttribute("Campos Personalizados Analítica")> 
8</#if> 
9 
10<#assign parameterMedofi = "" /> 
11 
12<#if serviceLocator.findService("com.axa.publicportals.odh.service.OdhService")??> 
13    <#assign AgentPresenceService = serviceLocator.findService("com.axa.publicportals.odh.service.OdhService")> 
14    <#if AgentPresenceService.getPresenciaAgente(request)??> 
15        <#assign agent = AgentPresenceService.getPresenciaAgente(request)> 
16        <#if agent?? && agent?has_content> 
17            <#assign parameterMedofi = agent.getMedofi() /> 
18        </#if> 
19    </#if> 
20</#if> 
21 
22<#assign presencePriority = Presencia.getData()> 
23<#if presencePriority == '0'> 
24    <#assign sectionTitle = section_title_0 > 
25    <#assign cardBackground = background_color_0 > 
26<#elseif presencePriority == '1'> 
27    <#if parameterMedofi?has_content> 
28        <#assign sectionTitle = section_title_1 > 
29        <#assign cardBackground = background_color_1 > 
30    <#else> 
31        <#assign sectionTitle = section_title_0 > 
32        <#assign cardBackground = background_color_0 > 
33    </#if> 
34<#elseif presencePriority == '2'> 
35    <#if themeDisplay.isSignedIn()> 
36        <#assign sectionTitle = section_title_2 > 
37        <#assign cardBackground = background_color_2 > 
38    <#else> 
39        <#assign sectionTitle = section_title_0 > 
40        <#assign cardBackground = background_color_0 > 
41    </#if> 
42</#if> 
43<div class="c-promo-banners"> 
44    <#if (titleSize?? && titleSize.getData()?? && titleSize.getData() != "")> 
45        <#assign titleSize = titleSize.getData() /> 
46    <#else> 
47        <#assign titleSize = "h2" /> 
48    </#if> 
49    <#if sectionTitle?? && sectionTitle.getData()?? && sectionTitle.getData() != ""> 
50        <${titleSize} class="c-promo-banners__title c-title">${sectionTitle.getData()}</${titleSize}> 
51    </#if> 
52    <div class="c-promo-banners__content container"> 
53        <#if cardBackground.getSiblings()?has_content > 
54            <#list cardBackground.getSiblings() as card > 
55                <#if presencePriority == '0' > 
56                    <#assign cardImage = card.card_image_0 > 
57                    <#assign cardTitle = card.card_title_0 > 
58                    <#assign cardSubtitle = card.card_subtitle_0 > 
59                    <#assign buttonText = card.button_text_0 > 
60                    <#assign styleButton = buttonText.button_style_0.getData() > 
61                    <#assign buttonTextIsDownload = buttonText.is_download_0 > 
62                    <#assign isDownload = getterUtil.getBoolean(buttonText.is_download_0.getData()) > 
63                    <#assign downloadable = buttonText.file_to_download_0 > 
64                    <#assign buttonLink = buttonText.button_link_0 > 
65                    <#assign secondaryButtonText = card.secondary_button_text_0 > 
66                    <#assign secondaryStyleButton = secondaryButtonText.secondary_button_style_0.getData() > 
67                    <#assign secondaryButtonTextIsDownload = secondaryButtonText.secondary_is_download_0 > 
68                    <#assign secondaryIsDownload = getterUtil.getBoolean(secondaryButtonText.secondary_is_download_0.getData()) > 
69                    <#assign secondaryDownloadable = secondaryButtonText.secondary_file_to_download_0 > 
70                    <#assign secondaryButtonLink = secondaryButtonText.secondary_button_link_0 > 
71                    <#assign smallText = card.small_text_0 > 
72 
73                    <#assign linkTarget = "_self" /> 
74                    <#if buttonLink.selectTarget_0?? && buttonLink.selectTarget_0.getData()?has_content> 
75                        <#assign linkTarget = buttonLink.selectTarget_0.getData() /> 
76                    </#if> 
77                <#elseif presencePriority == '1' > 
78                    <#if parameterMedofi?has_content > 
79                        <#assign cardImage = card.card_image_1 > 
80                        <#assign cardTitle = card.card_title_1 > 
81                        <#assign cardSubtitle = card.card_subtitle_1 > 
82                        <#assign buttonText = card.button_text_1 > 
83                        <#assign styleButton = buttonText.button_style_1.getData() > 
84                        <#assign buttonTextIsDownload = buttonText.is_download_1 > 
85                        <#assign isDownload = getterUtil.getBoolean(buttonText.is_download_1.getData()) > 
86                        <#assign downloadable = buttonText.file_to_download_1 > 
87                        <#assign buttonLink = buttonText.button_link_1 > 
88                        <#assign secondaryButtonText = card.secondary_button_text_1 > 
89                        <#assign secondaryStyleButton = secondaryButtonText.secondary_button_style_1.getData() > 
90                        <#assign secondaryButtonTextIsDownload = secondaryButtonText.secondary_is_download_1 > 
91                        <#assign secondaryIsDownload = getterUtil.getBoolean(secondaryButtonText.secondary_is_download_1.getData()) > 
92                        <#assign secondaryDownloadable = secondaryButtonText.secondary_file_to_download_1 > 
93                        <#assign secondaryButtonLink = secondaryButtonText.secondary_button_link_1 > 
94                        <#assign smallText = card.small_text_1 > 
95 
96                        <#assign linkTarget = "_self" /> 
97                        <#if buttonLink.selectTarget_1?? && buttonLink.selectTarget_1.getData()?has_content> 
98                            <#assign linkTarget = buttonLink.selectTarget_1.getData() /> 
99                        </#if> 
100                    <#else> 
101                        <#assign cardImage = card.card_image_0 > 
102                        <#assign cardTitle = card.card_title_0 > 
103                        <#assign cardSubtitle = card.card_subtitle_0 > 
104                        <#assign buttonText = card.button_text_0 > 
105                        <#assign styleButton = buttonText.button_style_0.getData() > 
106                        <#assign buttonTextIsDownload = buttonText.is_download_0 > 
107                        <#assign isDownload = getterUtil.getBoolean(buttonText.is_download_0.getData()) > 
108                        <#assign downloadable = buttonText.file_to_download_0 > 
109                        <#assign buttonLink = buttonText.button_link_0 > 
110                        <#assign secondaryButtonText = card.secondary_button_text_0 > 
111                        <#assign secondaryStyleButton = secondaryButtonText.secondary_button_style_0.getData() > 
112                        <#assign secondaryButtonTextIsDownload = secondaryButtonText.secondary_is_download_0 > 
113                        <#assign secondaryIsDownload = getterUtil.getBoolean(secondaryButtonText.secondary_is_download_0.getData()) > 
114                        <#assign secondaryDownloadable = secondaryButtonText.secondary_file_to_download_0 > 
115                        <#assign secondaryButtonLink = secondaryButtonText.secondary_button_link_0 > 
116                        <#assign smallText = card.small_text_0 > 
117 
118                        <#assign linkTarget = "_self" /> 
119                        <#if buttonLink.selectTarget_0?? && buttonLink.selectTarget_0.getData()?has_content> 
120                            <#assign linkTarget = buttonLink.selectTarget_0.getData() /> 
121                        </#if> 
122                    </#if> 
123                <#elseif presencePriority == '2' > 
124                    <#if themeDisplay.isSignedIn() > 
125                        <#assign cardImage = card.card_image_2 > 
126                        <#assign cardTitle = card.card_title_2 > 
127                        <#assign cardSubtitle = card.card_subtitle_2 > 
128                        <#assign buttonText = card.button_text_2 > 
129                        <#assign styleButton = buttonText.button_style_2.getData() > 
130                        <#assign buttonTextIsDownload = buttonText.is_download_2 > 
131                        <#assign isDownload = getterUtil.getBoolean(buttonText.is_download_2.getData()) > 
132                        <#assign downloadable = buttonText.file_to_download_2 > 
133                        <#assign buttonLink = buttonText.button_link_2 > 
134                        <#assign secondaryButtonText = card.secondary_button_text_2 > 
135                        <#assign secondaryStyleButton = secondaryButtonText.secondary_button_style_2.getData() > 
136                        <#assign secondaryButtonTextIsDownload = secondaryButtonText.secondary_is_download_2 > 
137                        <#assign secondaryIsDownload = getterUtil.getBoolean(secondaryButtonText.secondary_is_download_2.getData()) > 
138                        <#assign secondaryDownloadable = secondaryButtonText.secondary_file_to_download_2 > 
139                        <#assign secondaryButtonLink = secondaryButtonText.secondary_button_link_2 > 
140                        <#assign smallText = card.small_text_2 > 
141 
142                        <#assign linkTarget = "_self" /> 
143                        <#if buttonLink.selectTarget_2?? && buttonLink.selectTarget_2.getData()?has_content> 
144                            <#assign linkTarget = buttonLink.selectTarget_2.getData() /> 
145                        </#if> 
146                    <#else> 
147                        <#assign cardImage = card.card_image_0 > 
148                        <#assign cardTitle = card.card_title_0 > 
149                        <#assign cardSubtitle = card.card_subtitle_0 > 
150                        <#assign buttonText = card.button_text_0 > 
151                        <#assign styleButton = buttonText.button_style_0.getData() > 
152                        <#assign buttonTextIsDownload = buttonText.is_download_0 > 
153                        <#assign isDownload = getterUtil.getBoolean(buttonText.is_download_0.getData()) > 
154                        <#assign downloadable = buttonText.file_to_download_0 > 
155                        <#assign buttonLink = buttonText.button_link_0 > 
156                        <#assign secondaryButtonText = card.secondary_button_text_0 > 
157                        <#assign secondaryStyleButton = secondaryButtonText.secondary_button_style_0.getData() > 
158                        <#assign secondaryButtonTextIsDownload = secondaryButtonText.secondary_is_download_0 > 
159                        <#assign secondaryIsDownload = getterUtil.getBoolean(secondaryButtonText.secondary_is_download_0.getData()) > 
160                        <#assign secondaryDownloadable = secondaryButtonText.secondary_file_to_download_0 > 
161                        <#assign secondaryButtonLink = secondaryButtonText.secondary_button_link_0 > 
162                        <#assign smallText = card.small_text_0 > 
163 
164                        <#assign linkTarget = "_self" /> 
165                        <#if buttonLink.selectTarget_0?? && buttonLink.selectTarget_0.getData()?has_content> 
166                            <#assign linkTarget = buttonLink.selectTarget_0.getData() /> 
167                        </#if> 
168                    </#if> 
169                </#if> 
170                <div class="c-promo-banner"> 
171                    <#if card?? && card.getData()?has_content && card.getData()!=''> 
172                        <div class="c-promo-banner__wrapper" style="background-color:${card.getData()};"> 
173                    <#else> 
174                        <div class="c-promo-banner__wrapper"> 
175                    </#if> 
176                        <#if cardImage?? && cardImage.getData()?? && cardImage.getData() != ""> 
177                            <div class="c-promo-banner__image"> 
178                                <figure> 
179                                    <img alt="${cardImage.getAttribute("alt")}" data-fileentryid="${cardImage.getAttribute("fileEntryId")}" src="${cardImage.getData()}" /> 
180                                </figure> 
181                            </div> 
182                        </#if> 
183                        <#if cardTitle?? && cardTitle.getData()?has_content && cardTitle.getData()!='' && cardSubtitle?? && cardSubtitle.getData()?has_content && cardSubtitle.getData()!='' && buttonText?? && buttonText.getData()?has_content && buttonText.getData()!=''> 
184                            <div class="c-promo-banner__text"> 
185                        <#else> 
186                            <div class="c-promo-banner__text c-promo-banner__text--incomplete"> 
187                        </#if> 
188 
189                            <#if (card.cardTitleSize?? && card.cardTitleSize.getData()?? && card.cardTitleSize.getData() != "")> 
190                                <#assign cardTitleSize = card.cardTitleSize.getData() /> 
191                            <#else> 
192                                <#assign cardTitleSize = "p" /> 
193                            </#if> 
194                            <#if cardTitle?? && cardTitle.getData()?has_content && cardTitle.getData()!=''> 
195                                <${cardTitleSize} class="c-promo-banner__title">${cardTitle.getData()}</${cardTitleSize}> 
196                            </#if> 
197                            <#if cardSubtitle?? && cardSubtitle.getData()?has_content && cardSubtitle.getData()!=''> 
198                                <#if cardTitle?? && cardTitle.getData()?has_content && cardTitle.getData()!=''> 
199                                    <div class="c-promo-banner__subtitle"> 
200                                <#else> 
201                                    <div class="c-promo-banner__subtitle c-promo-banner__subtitle--lonely"> 
202                                </#if> 
203                                ${cardSubtitle.getData()} 
204                                </div> 
205                            </#if> 
206                            <#if buttonText?? && buttonText.getData()?has_content && buttonText.getData()!=''> 
207                                <#if cardTitle?? && cardTitle.getData()?has_content && cardTitle.getData()!='' || cardSubtitle?? && cardSubtitle.getData()?has_content && cardSubtitle.getData()!='' > 
208                                    <#if buttonTextIsDownload?? && buttonTextIsDownload.getData()?? && isDownload> 
209                                        <a class="c-promo-banner__button button ${styleButton?has_content?then(styleButton, 'variant-contained')} color-blue analytics_interaccion_boton" href="${downloadable.getData()}" onclick="checkWebviewLink(this, event)" target="_blank" style="opacity: 1;" data-custom-properties='${customAnalyticsProperties}'> 
210                                    <#else> 
211                                        <a target="${linkTarget}" class="c-promo-banner__button button ${styleButton?has_content?then(styleButton, 'variant-contained')} color-blue analytics_interaccion_boton" href="${buttonLink.getData()}" onclick="checkWebviewLink(this, event)" style="opacity: 1;" data-custom-properties='${customAnalyticsProperties}'> 
212                                    </#if> 
213                                <#else> 
214                                    <#if isDownload > 
215                                        <a class="c-promo-banner__button button ${styleButton?has_content?then(styleButton, 'variant-contained')} color-blue c-promo-banner__button--lonely analytics_interaccion_boton" href="${downloadable.getData()}" onclick="checkWebviewLink(this, event)" target="_blank" style="opacity: 1;" data-custom-properties='${customAnalyticsProperties}'> 
216                                    <#else> 
217                                        <a target="${linkTarget}" class="c-promo-banner__button button ${styleButton?has_content?then(styleButton, 'variant-contained')} color-blue c-promo-banner__button--lonely analytics_interaccion_boton" href="${buttonLink.getData()}" onclick="checkWebviewLink(this, event)" style="opacity: 1;" data-custom-properties='${customAnalyticsProperties}'> 
218                                    </#if> 
219                                </#if> 
220                                <span class="button__text">${buttonText.getData()}</span> 
221                                </a><#-- Este código no está correctamente indentado porque se ha compactado intencionadamente de esta forma para evitar saltos de línea que generan espacios en blanco en el HTML renderizado. --></#if><#if 
222                                    secondaryButtonText?? && secondaryButtonText.getData()?has_content && secondaryButtonText.getData()!='' 
223                                ><#if 
224                                    cardTitle?? && cardTitle.getData()?has_content && cardTitle.getData()!='' || cardSubtitle?? && cardSubtitle.getData()?has_content && cardSubtitle.getData()!='' 
225                                ><#if 
226                                    secondaryButtonTextIsDownload?? && secondaryButtonTextIsDownload.getData()?? && secondaryIsDownload 
227                                ><a 
228                                    class="c-promo-banner__button button ${secondaryStyleButton?has_content?then(secondaryStyleButton, 'variant-contained')} color-blue analytics_interaccion_boton" href="${secondaryDownloadable.getData()}" onclick="checkWebviewLink(this, event)" target="_blank" style="opacity: 1;" data-custom-properties='${customAnalyticsProperties}' 
229                                ><#else><a 
230                                    target="${linkTarget}" class="c-promo-banner__button button ${secondaryStyleButton?has_content?then(secondaryStyleButton, 'variant-contained')} color-blue analytics_interaccion_boton" href="${secondaryButtonLink.getData()}" onclick="checkWebviewLink(this, event)" style="opacity: 1;" data-custom-properties='${customAnalyticsProperties}' 
231                                ></#if><#else><#if 
232                                    secondaryIsDownload 
233                                ><a 
234                                    class="c-promo-banner__button button ${secondaryStyleButton?has_content?then(secondaryStyleButton, 'variant-contained')} color-blue c-promo-banner__button--lonely analytics_interaccion_boton" href="${secondaryDownloadable.getData()}" onclick="checkWebviewLink(this, event)" target="_blank" style="opacity: 1;" data-custom-properties='${customAnalyticsProperties}' 
235                                ><#else><a 
236                                    target="${linkTarget}" class="c-promo-banner__button button ${secondaryStyleButton?has_content?then(secondaryStyleButton, 'variant-contained')} color-blue c-promo-banner__button--lonely analytics_interaccion_boton" href="${secondaryButtonLink.getData()}" onclick="checkWebviewLink(this, event)" style="opacity: 1;" data-custom-properties='${customAnalyticsProperties}' 
237
238                                    </#if> 
239                                </#if> 
240                                <span class="button__text">${secondaryButtonText.getData()}</span> 
241                                </a> 
242                            </#if> 
243                            <#if smallText?? && smallText.getData()?has_content && smallText.getData()!=''> 
244                                <p class="c-promo-banner__small-text"> 
245                                    ${smallText.getData()} 
246                                </p> 
247                            </#if> 
248                        </div> 
249                    </div> 
250                </div> 
251            </#list> 
252        </#if> 
253    </div> 
254</div>