Um erro ocorreu enquanto processava o modelo.
The following has evaluated to null or missing:
==> mainImageFieldSetFieldSet["imageResume"][0].getValue().getString(locale)  [in template "20116#20152#1240666" at line 22, 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: img = mainImageFieldSetFieldSet["imag...  [in template "20116#20152#1240666" at line 22, column 11]
----
1<#assign 
2  dlAppService = serviceLocator.findService("com.liferay.document.library.kernel.service.DLAppService") 
3  dlURLHelper = serviceLocator.findService("com.liferay.document.library.util.DLURLHelper") 
4 
5  locale = localeUtil.getDefault() 
6/> 
7 
8<#if entries?has_content> 
9  <section class="card-thumbs"> 
10    <#list entries as curEntry> 
11      <#assign assetRenderer = curEntry.getAssetRenderer() /> 
12      <#assign className = assetRenderer.getClassName() > 
13 
14      <#if className == "com.liferay.journal.model.JournalArticle"> 
15        <#assign 
16          ddmFormFieldValuesMap = assetRenderer.getDDMFormValuesReader().getDDMFormValues().getDDMFormFieldValuesMap() 
17          ddmFormFieldsReferencesMap = assetRenderer.article.DDMStructure.DDMForm.getDDMFormFieldsReferencesMap(true) 
18 
19          mainImageFieldSet = ddmFormFieldValuesMap["mainImageFieldSet"][0].getNestedDDMFormFieldValuesMap() 
20          mainImageFieldSetFieldSet = mainImageFieldSet["mainImageFieldSetFieldSet"][0].getNestedDDMFormFieldValuesMap() 
21 
22          img = mainImageFieldSetFieldSet["imageResume"][0].getValue().getString(locale) 
23          imgAlt = mainImageFieldSetFieldSet["imageAlt"][0].getValue().getString(locale) 
24          imgPath = "" 
25        /> 
26 
27        <#if img?has_content > 
28          <#assign 
29            fileJson = jsonFactoryUtil.createJSONObject(img) 
30            imgProps = dlAppService.getFileEntryByUuidAndGroupId(fileJson.getString("uuid"), fileJson.getLong("groupId")) 
31            imgPath = dlURLHelper.getPreviewURL(imgProps, imgProps.getFileVersion(), themeDisplay, "") 
32          /> 
33        </#if> 
34 
35        <#assign displaydate = curEntry.getPublishDate()?string("EEE, d MMMM yyyy HH:mm")> 
36 
37        <#assign viewURL = assetPublisherHelper.getAssetViewURL(renderRequest, renderResponse, curEntry) /> 
38        <#if assetLinkBehavior != "showFullContent"> 
39          <#assign viewURL = assetRenderer.getURLViewInContext(renderRequest, renderResponse, viewURL) /> 
40        </#if> 
41      </#if> 
42 
43      <a class="card-thumb" href="${viewURL}"> 
44        <div class="journal-content-article"> 
45          <#if img != "" > 
46            <picture class="hidden-small"><!-- <picture class="hidden-xs"> --> 
47              <source media="(width: 767px)" srcset="#"> 
48              <#if imgPath?has_content > 
49                <img class="card-thumb__image" src="${imgPath}" alt="${imgAlt}"> 
50              </#if> 
51            </picture> 
52          </#if> 
53          <div class="card-thumb__content"> 
54            <time class="card-thumb__date" datetime="${displaydate}"> 
55              ${displaydate?capitalize} 
56            </time> 
57            <h3 class="card-thumb__title">${curEntry.getTitle(locale)}</h3> 
58          </div> 
59        </div> 
60      </a> 
61    </#list> 
62  </section> 
63</#if> 
64 
65<style> 
66.pagination { 
67  display: block; 
68  list-style: none; 
69  margin: 1.5rem 0; 
70  padding-left: 0; 
71  text-align: center; 
72} 
73 
74.pagination li { 
75  display: inline; 
76} 
77 
78.pagination .disabled > a, .pagination .disabled > a:hover, .pagination .disabled > a:focus, .pagination .disabled > span { 
79  background-color: #fff; 
80  color: #6c757d; 
81  cursor: not-allowed; 
82} 
83 
84.pagination li > a, .pagination li > span { 
85  background-color: #fff; 
86  border: 1px solid #aaacad; 
87  border-radius: 15px; 
88  display: inline-block; 
89  padding: 5px 14px; 
90} 
91 
92</style>