Contentverzamelaar

2007 Advies Rechtsmacht Hof
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@6a902da9"; see cause exception in the Java stack trace.

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