E-(EVA-Hof) - C-305/16

Contentverzamelaar

E-(EVA-Hof) - C-305/16
Er trad een fout op tijdens de verwerking van de sjabloon.
Java method "nl.worth.portal.utils.impl.DocumentUtilsImpl.getFileEntryByDownloadUrl(String)" threw an exception when invoked on nl.worth.portal.utils.impl.DocumentUtilsImpl object "nl.worth.portal.utils.impl.DocumentUtilsImpl@4839cf99"; see cause exception in the Java stack trace.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign fileEntry = documentUtils.get...  [in template "20115#20151#1089690" at line 55, column 17]
----
1<#assign title = .vars['reserved-article-title'].data /> 
2<#assign displaydate = .vars['reserved-article-display-date'].data> 
3<#assign originalLocale = .locale> 
4<#setting locale = localeUtil.getDefault()> 
5<#assign displaydate = displaydate?datetime("EEE, d MMM yyyy HH:mm:ss Z")> 
6<#assign locale = originalLocale> 
7<#escape x as x?html> 
8  <div class="row"> 
9    <div class="col-md-12"> 
10    <#if introductionContent?? && introductionContent.getData()?has_content> 
11      <div class="content__intro"> 
12        ${introductionContent.getData()} 
13      </div> 
14    </#if> 
15      <div class="content__content"> 
16        <#noescape> 
17          ${content.getData()} 
18        </#noescape> 
19      </div> 
20    </div> 
21  </div> 
22</#escape> 
23    <div class="aside"> 
24      <#if zieOok?? && zieOok.getSiblings()?has_content> 
25      <#assign hasZieOok = zieOok.getSiblings()?size gte 1 && validator.isNotNull(zieOok.getSiblings()?first.getData())> 
26      <#if hasZieOok> 
27        <div class="brick"> 
28          <h2>Zie ook</h2> 
29          <ul class="list-common"> 
30            <#list zieOok.getSiblings() as current_zieOok> 
31              <#if validator.isNotNull(current_zieOok.getData())> 
32                <#assign label = htmlUtil.escape(current_zieOok.getData())> 
33                <#assign url = htmlUtil.escapeHREF(current_zieOok.url.getData()) > 
34              <li> 
35                <a href="${url}"> 
36                  ${label} 
37                </a> 
38              </li> 
39              </#if> 
40            </#list> 
41          </ul> 
42        </div> 
43      </#if> 
44    </#if> 
45   
46    <#if documents?? && documents.getSiblings()?has_content> 
47      <#assign hasDocuments = documents.getSiblings()?size gte 1 && validator.isNotNull(documents.getSiblings()?first.getData())> 
48      <#if hasDocuments> 
49        <div class="brick"> 
50          <h2>Gerelateerde documenten</h2> 
51          <ul class="list-common"> 
52           <#list documents.getSiblings() as current_documents> 
53              <#if validator.isNotNull(current_documents.getData())> 
54                <#assign downloadUrl = current_documents.getData()> 
55                <#assign fileEntry = documentUtils.getFileEntryByDownloadUrl(downloadUrl) > 
56                <#if current_documents.documentTitel??> 
57                    <#assign documentTitle = htmlUtil.escape(current_documents.documentTitel.getData()) > 
58                <#else> 
59                    <#assign documentTitle = "" > 
60                </#if> 
61              <li> 
62                <a href="${downloadUrl}"> 
63                  <#if documentTitle?has_content> 
64                  ${documentTitle}  
65                <#else> ${fileEntry.getTitle()} 
66                  </#if> 
67                </a> 
68              </li> 
69              <#else> 
70                <li>  
71                    <a href="${downloadUrl}">  
72                        ${fileEntry.getTitle()}  
73                    </a>  
74                </li>  
75              </#if> 
76            </#list> 
77          </ul> 
78        </div> 
79      </#if> 
80    </#if> 
81  </div>