Anmelden
Fehler bei der Verarbeitung der Vorlage.
Java method "com.sun.proxy.$Proxy111.getFileEntryByUuidAndGroupId(String, long)" threw an exception when invoked on com.sun.proxy.$Proxy111 object "com.liferay.portlet.documentlibrary.service.impl.DLAppLocalServiceImpl@710ee849"; see cause exception in the Java stack trace.
----
FTL stack trace ("~" means nesting-related):
- Failed at: #if docService.getFileEntryByUuidAndG... [in template "10154#10194#25048" at line 101, column 33]
----
1<div class="article article_main ${Vorschau_Spaltenbreite.getData()}"> 
2 <div class="article_headline"> 
3 <h2> 
4 <#if Untertitel?? && Untertitel.getData()?has_content> 
5 <span class="subheadline">${Untertitel.getData()}</span> 
6 </#if> 
7 ${.vars['reserved-article-title'].data} 
8 </h2> 
9 </div> 
10 <#if Teaser_Ausblenden?? && !getterUtil.getBoolean(Teaser_Ausblenden.getData())> 
11 <div class="article_teaser"> 
12 <p>${Teaser_Text.getData()}</p> 
13 </div> 
14 </#if> 
15 
16 <#-- For each page --> 
17 <#if Page.getSiblings()?has_content> 
18 <div class="cnt-pages"> 
19 <#list Page.getSiblings() as cur_Page> 
20 <div class="article_text cnt-page"> 
21 <#if cur_Page.getChild("Bild").getData()?has_content && cur_Page.getChild("Bild").getData()!="null"> 
22 <div class="article_image_${cur_Page.getChild("Bildausrichtung").getData()}"> 
23 <#if cur_Page.getChild("lightbox_anzeigen").getData() == "true"> 
24 <#-- LIGHTBOX ANZEIGEN --> 
25 <a href="${cur_Page.getChild("Bild").getData()}.jpg" title="${cur_Page.getChild("Alternativtext_Bild").getData()}" class="fancybox" rel="group-all"> 
26 <img src="${cur_Page.getChild("Bild").getData()}&imageThumbnail=3" alt="${cur_Page.getChild("Alternativtext_Bild").getData()}" />  
27 </a> 
28 <#if cur_Page.getChild("Bildtext").getData()?has_content> 
29 <#-- BILDTEXT VORHANDEN --> 
30 <div class="description"> 
31 ${cur_Page.getChild("Bildtext").getData()} 
32 <a class="zoom-link fancybox-trigger-zoom" href="${cur_Page.getChild("Bild").getData()}.jpg" title="${cur_Page.getChild("Alternativtext_Bild").getData()}" class="fancybox" rel="group-all"> 
33 <div class="zoom"></div> 
34 <div class="clear"></div> 
35 </a> 
36 </div> 
37 </#if> 
38  
39 <#else> 
40 <#-- LIGHTBOX NICHT ANZEIGEN --> 
41 <img src="${cur_Page.getChild("Bild").getData()}&imageThumbnail=3" alt="${cur_Page.getChild("Alternativtext_Bild").getData()}" />  
42  
43 <#if cur_Page.getChild("Bildtext").getData()?has_content> 
44 <#-- BILDTEXT VORHANDEN --> 
45 <div class="description"> 
46 ${cur_Page.getChild("Bildtext").getData()} 
47 </div> 
48 </#if> 
49 </#if> 
50 </div> 
51 </#if> 
52  
53 ${cur_Page.getData()} 
54  
55  
56 <#-- Documents --> 
57 <#if cur_Page.getChild("Dokumenttitel")??> 
58 <#if cur_Page.getChild("Dokumenttitel").getSiblings()?has_content> 
59 <ul class="documents"> 
60 <#list cur_Page.getChild("Dokumenttitel").getSiblings() as dokument> 
61 <#-- Get Document Parameters --> 
62 <#if dokument.getData()?has_content && dokument.getChild("Dokument").getData()?has_content> 
63 <#assign url = dokument.getChild("Dokument").getData()> 
64 <#assign parts = stringUtil.split(url, "/")> 
65 <#assign group_id = 0> 
66 <#assign folder_id = 0> 
67 <#assign doc_name = ""> 
68 <#assign last = ""> 
69  
70 <#list parts as part> 
71 <#if part_index == 2> 
72 <#assign group_id = getterUtil.getLong(part)> 
73 <#elseif part_index == 3> 
74 <#assign folder_id = getterUtil.getLong(part)> 
75 <#elseif part_index == 4> 
76 <#assign doc_name = part> 
77 <#elseif part_index == 5> 
78 <#assign last = part> 
79 </#if> 
80 </#list> 
81  
82 <#assign uuid = 0> 
83 <#assign parts2 = stringUtil.split(last, "?")> 
84 <#list parts2 as part2> 
85 <#if part2_index == 0> 
86 <#assign uuid = part2> 
87 </#if> 
88 </#list> 
89  
90 <#attempt> 
91 <#-- Get DLFileEntry Service --> 
92 <#-- 20.12-2016 Workaround for : Expression serviceLocator is undefined on line 94, column 87 in 10154#10194#25048 --> 
93 <#assign docService = serviceLocator.findService("com.liferay.document.library.kernel.service.DLAppLocalService") /> 
94 <#assign noRestrictedVariables = true /> 
95 <#recover> 
96 <#assign noRestrictedVariables = true /> 
97 </#attempt> 
98  
99 <#-- Get FileSize Service --> 
100 <#-- 20.12-2016 Workaround for : Expression serviceLocator is undefined on line 94, column 87 in 10154#10194#25048 --> 
101 <#if docService.getFileEntryByUuidAndGroupId(uuid, group_id)??> 
102 <#assign fileEntry = docService.getFileEntryByUuidAndGroupId(uuid, group_id)> 
103 <#assign fSize = fileEntry.getSize()> 
104  
105 <#function si num> 
106 <#assign order = num?round?c?length /> 
107 <#assign thousands = ((order - 1) / 3)?floor /> 
108 <#if (thousands < 0)><#assign thousands = 0 /></#if> 
109 <#assign siMap = [ {"factor": 1, "unit": " Byte"}, {"factor": 1000, "unit": " KByte"}, {"factor": 1000000, "unit": " MByte"}, {"factor": 1000000000, "unit":" GByte"}, {"factor": 1000000000000, "unit": " TByte"} ]/> 
110 <#assign siStr = (num / (siMap[thousands].factor))?string("0") + siMap[thousands].unit /> 
111 <#return siStr /> 
112 </#function> 
113 <#assign fSize = si(fSize)> 
114  
115 <li class="document"><a data-type="${fileEntry.getMimeType()}" target="_blank" class="anc_more" href="${dokument.getChild("Dokument").getData()}"><img src="/o/lions-theme/images/file_system//small/${fileEntry.getIcon()}.png"/>${dokument.getData()} (${fSize})</a></li> 
116 <#else> 
117 <p>This Content produces a bug!!! Please contact the Administrator!</p> 
118 </#if> 
119 <#-- --> 
120  
121  
122 </#if> 
123 </#list> 
124 </ul> 
125 </#if> 
126 </#if> 
127  
128 <#-- Extra Images --> 
129 <#if cur_Page.getChild("Bildtext_Extra")??> 
130 <#if cur_Page.getChild("Bildtext_Extra").getSiblings()?has_content> 
131 <div class="extra_images"> 
132 <#list cur_Page.getChild("Bildtext_Extra").getSiblings() as extra_bild> 
133 <#if extra_bild.getData()?has_content> 
134 <div class="extra_image"> 
135 <a href="${extra_bild.getChild("Bild_Extra").getData()}.jpg" alt="${extra_bild.getChild("Alternativtext_Bild_Extra").getData()}" title="${extra_bild.getData()}" class="fancybox" rel="group-all"> 
136 <img src="${extra_bild.getChild("Bild_Extra").getData()}&imageThumbnail=3" alt="${extra_bild.getChild("Alternativtext_Bild_Extra").getData()}" title="${extra_bild.getData()}" /> 
137 </a> 
138 </div> 
139 </#if> 
140 </#list> 
141 </div> 
142 </#if> 
143 </#if> 
144  
145 <div class="clear"></div> 
146 </div> 
147 </#list> 
148 </div> 
149 <div class="lions-pagination"></div> 
150 </#if> 
151</div> 
// ]]>