Um erro ocorreu enquanto processava o modelo.
The following has evaluated to null or missing:
==> sucesso.imageSuccess.getAttribute("alt") [in template "4166024#4166065#4287623" at line 38, column 33]
----
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: ${sucesso.imageSuccess.getAttribute("... [in template "4166024#4166065#4287623" at line 38, column 31]
----
1<!-- Iniciando leitura de GTM -->
2<#assign JournalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")>
3<#assign JA = JournalArticleLocalService.getArticle(getterUtil.getLong(groupId), getterUtil.getString(.vars['reserved-article-id'].data))/>
4
5<#assign content = "">
6<#assign objects = "">
7
8<#attempt>
9 <#if JA.getExpandoBridge().getAttribute("commonField")?? && JA.getExpandoBridge().getAttribute("commonField") != ''>
10 <#assign content = JA.getExpandoBridge().getAttribute("commonField")>
11 </#if>
12<#recover>
13 <#assign content = "">
14</#attempt>
15
16<#attempt>
17 <#if JA.getExpandoBridge().getAttribute("hashobjects")?? && JA.getExpandoBridge().getAttribute("hashobjects") != ''>
18 <#assign objects = JA.getExpandoBridge().getAttribute("hashobjects")>
19 </#if>
20<#recover>
21 <#assign objects = "">
22</#attempt>
23<!-- Fim Iniciando leitura de GTM -->
24
25<!-- Iniciando leitura de gtmObj -->
26<#assign gtmObj = "">
27<#if objects != ''>
28 <#assign gtmObj = 'data-gtm-obj="' + objects?replace('"', "'") + '"'>
29</#if>
30<!-- Fim leitura de gtmObj -->
31<div class="container-recarga-recorrente" ${gtmObj}>
32
33 <div class="ms-resposta-form recarga-sucesso hide">
34 <div class="row">
35 <div class="col-xs-12 col-sm-10 ms-box-clean-garantia">
36
37 <#if sucesso.imageSuccess.getData()?? && sucesso.imageSuccess.getData() != "">
38 <img alt="${sucesso.imageSuccess.getAttribute("alt")}" data-fileentryid="${sucesso.imageSuccess.getAttribute("fileEntryId")}" src="${sucesso.imageSuccess.getData()}" />
39 </#if>
40
41 <div class="subHeading high text-center">${sucesso.titleSuccess.getData()}</div>
42
43 <p class="text-center">${sucesso.subTitleSuccess.getData()}</p>
44
45 <div class="row ms-box-botoes-garantia">
46 <div class="col-xs-12 col-md-10">
47 <#if sucesso.txtLink1.txtLink1Child.getData() != ''>
48 <#assign link1 = sucesso.txtLink1.urlExterna1.getData()>
49 <#if sucesso.txtLink1.linkInter1.getData() != ''>
50 <#assign link1 = sucesso.txtLink1.linkInter1.getData()>
51 </#if>
52
53 <a href="${link1}" <#if getterUtil.getBoolean(sucesso.txtLink1.newTab1.getData())>target="_blank"</#if> class="btn buttonIcon pull-left">
54 <span class="sky_icon ${sucesso.txtLink1.icon1.getData()} brand"></span>
55 ${sucesso.txtLink1.txtLink1Child.getData()}
56 </a>
57 </#if>
58
59 <#if sucesso.txtLink2.txtLink2Child.getData() != ''>
60 <#assign link2 = sucesso.txtLink2.urlExterna2.getData()>
61 <#if sucesso.txtLink2.linkInter2.getData() != ''>
62 <#assign link2 = sucesso.txtLink2.linkInter2.getData()>
63 </#if>
64
65 <a href="${link2}" <#if getterUtil.getBoolean(sucesso.txtLink2.newTab2.getData())>target="_blank"</#if> class="btn buttonIcon pull-right">
66 <span class="sky_icon ${sucesso.txtLink2.icon2.getData()} brand"></span>
67 ${sucesso.txtLink2.txtLink2Child.getData()}
68 </a>
69 </#if>
70 </div>
71 </div>
72 </div>
73 </div>
74 </div>
75
76 <div class="ms-resposta-form recarga-erro hide">
77 <div class="row">
78 <div class="col-xs-12 col-sm-10 ms-box-clean-garantia">
79
80 <#if erro.imageError.getData()?? && erro.imageError.getData() != "">
81 <img alt="${erro.imageError.getAttribute("alt")}" data-fileentryid="${erro.imageError.getAttribute("fileEntryId")}" src="${erro.imageError.getData()}" />
82 </#if>
83
84 <div class="subHeading high text-center">${erro.titleError.getData()}</div>
85
86 <p class="text-center">${erro.subTitleError.getData()}</p>
87
88 <div class="row ms-box-botoes-garantia">
89 <div class="col-xs-12 col-md-10">
90 <#if erro.errorTextLink1.errorTextLink1Child.getData() != ''>
91 <a href="javascript:;" class="btn buttonIcon pull-left try-again">
92 <span class="sky_icon ${erro.errorTextLink1.errorIcon1.getData()} brand"></span>
93 ${erro.errorTextLink1.errorTextLink1Child.getData()}
94 </a>
95 </#if>
96
97 <#if erro.errorTextLink2.errorTextLink2Child.getData() != ''>
98 <#assign link2 = erro.errorTextLink2.errorUrlExterna2.getData()>
99 <#if erro.errorTextLink2.errorLinkInter2.getData() != ''>
100 <#assign link2 = erro.errorTextLink2.errorLinkInter2.getData()>
101 </#if>
102
103 <a href="${link2}" <#if getterUtil.getBoolean(erro.errorTextLink2.errorNewTab2.getData())>target="_blank"</#if> class="btn buttonIcon pull-right">
104 <span class="sky_icon ${erro.errorTextLink2.errorIcon2.getData()} brand"></span>
105 ${erro.errorTextLink2.errorTextLink2Child.getData()}
106 </a>
107 </#if>
108
109 </div>
110 </div>
111 </div>
112 </div>
113 </div>
114
115<#setting url_escaping_charset='utf-8'>
116<#assign
117 serviceContext = staticUtil["com.liferay.portal.kernel.service.ServiceContextThreadLocal"].getServiceContext()
118 themeDisplay = serviceContext.getThemeDisplay()
119 url = themeDisplay.getPortalURL() + themeDisplay.getURLCurrent()
120/>
121
122<#if url?contains('cms-dev') || url?contains('cms-hml')>
123 <#assign
124 apiKey = m4u.apiDev.getData()
125 urlApi = m4u.urlApiDev.getData()
126 urlFrame = m4u.urlFrameDev.getData()
127 />
128<#else>
129 <#assign
130 apiKey = m4u.apiPrd.getData()
131 urlApi = m4u.urlApiPrd.getData()
132 urlFrame = m4u.urlFramePrd.getData()
133 />
134</#if>
135
136
137 <div id="frame-recarga" class="validateM4U" data-api-key="${apiKey}" data-url-api="${urlApi}" data-url-frame="${urlFrame}" data-M4U-img='${telaDeErroM4U.imgDeErro.getData()}' data-M4U-title="${telaDeErroM4U.tituloDoErroM4U.getData()}" data-M4U-description='${telaDeErroM4U.descricaoDoErroM4U.getData()!""}' data-M4U-btndescription='${telaDeErroM4U.btnDaTelaDeErro.textoDoBotao.getData()}' data-M4U-btnhref='${telaDeErroM4U.btnDaTelaDeErro.urlDoBotao.getData()}' >
138 </div>
139
140</div>
141
142<script type="text/javascript">
143 require_acc(['recarga-programada']);
144</script>