Agrégateur de contenus

Une erreur s'est produite lors du traitement du gabarit.
The following has evaluated to null or missing:
==> curEntry.getAssetRenderer().getArticle  [in template "20116#20160#33875" at line 11, column 54]

----
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 be 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 docXml = saxReaderUtil.read(c...  [in template "20116#20160#33875" at line 11, column 17]
----
1<!-- Toutes les actualités --> 
2<#setting locale = locale /> 
3<#setting date_format="d MMMM yyyy"> 
4<#if entries?has_content> 
5    <div class="all-news"> 
6        <h1 class="all-news-title"> 
7            <@liferay_ui["message"] key="eu.news.all-news" /> 
8        </h1> 
9        <div> 
10            <#list entries as curEntry> 
11                <#assign docXml = saxReaderUtil.read(curEntry.getAssetRenderer().getArticle().getContentByLocale(locale)) /> 
12                <#assign title = docXml.valueOf("//dynamic-element[@name='title']/dynamic-content/text()") /> 
13                <#assign chapo = docXml.valueOf("//dynamic-element[@name='chapo']/dynamic-content/text()") /> 
14                <#assign image = docXml.valueOf("//dynamic-element[@name='image']/dynamic-content/text()") /> 
15                <#assign content = docXml.valueOf("//dynamic-element[@name='content']/dynamic-content/text()") /> 
16                <#assign publishDate = curEntry.getPublishDate() /> 
17                <#assign currentURL = assetPublisherHelper.getAssetViewURL(renderRequest, renderResponse, curEntry) /> 
18                <#assign viewURL = curEntry.getAssetRenderer().getURLViewInContext(renderRequest, renderResponse, currentURL) /> 
19                <div class="news">  
20                    <div class="news-image"> 
21                        <a href="${viewURL}"> 
22                            <img src="${image}" > 
23                        </a> 
24                    </div> 
25                    <div class="news-info"> 
26                        <div class="news-date"> 
27                            <date><@liferay_ui["message"] key="eu.published-on" /> ${publishDate?date}</date> 
28                        </div> 
29                        <div class="news-title"> 
30                            <h4><a href="${viewURL}">${title}</a></h4> 
31                        </div> 
32                        <div class="news-content"> 
33                            ${chapo} 
34                        </div> 
35                    </div> 
36                </div> 
37            </#list> 
38        </div> 
39    </div> 
40</#if>