Anmelden
Fehler bei der Verarbeitung der Vorlage.
Java method "com.sun.proxy.$Proxy108.getFileEntryByUuidAndGroupId(String, long)" threw an exception when invoked on com.sun.proxy.$Proxy108 object "com.liferay.portlet.documentlibrary.service.impl.DLFileEntryLocalServiceImpl@169c6159"; see cause exception in the Java stack trace.
----
FTL stack trace ("~" means nesting-related):
- Failed at: #if dlFileEntryUtil.getFileEntryByUui... [in template "10154#10194#25048" at line 95, 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 <#-- Get DLFileEntry Service --> 
91 <#assign docService = serviceLocator.findService("com.liferay.document.library.kernel.service.DLAppLocalService") /> 
92 <#assign dlFileEntryUtil = serviceLocator.findService("com.liferay.document.library.kernel.service.DLFileEntryLocalService") /> 
93  
94 <#-- Get FileSize Service --> 
95 <#if dlFileEntryUtil.getFileEntryByUuidAndGroupId(uuid, group_id)??> 
96 <#assign fileEntry = dlFileEntryUtil.getFileEntryByUuidAndGroupId(uuid, group_id)> 
97 <#assign fSize = fileEntry.getSize()> 
98  
99 <#function si num> 
100 <#assign order = num?round?c?length /> 
101 <#assign thousands = ((order - 1) / 3)?floor /> 
102 <#if (thousands < 0)><#assign thousands = 0 /></#if> 
103 <#assign siMap = [ {"factor": 1, "unit": " Byte"}, {"factor": 1000, "unit": " KByte"}, {"factor": 1000000, "unit": " MByte"}, {"factor": 1000000000, "unit":" GByte"}, {"factor": 1000000000000, "unit": " TByte"} ]/> 
104 <#assign siStr = (num / (siMap[thousands].factor))?string("0") + siMap[thousands].unit /> 
105 <#return siStr /> 
106 </#function> 
107 <#assign fSize = si(fSize)> 
108  
109 <li class="document"><a data-type="${fileEntry.getMimeType()}" target="_blank" class="anc_more" href="${dokument.getChild("Dokument").getData()}"><img src="/lions-theme/images/file_system/small/${fileEntry.getIcon()}.png"/>${dokument.getData()} (${fSize})</a></li> 
110 <#else> 
111 This Content produces a bug!!! Please contact the Administrator! 
112 </#if> 
113 <#-- --> 
114  
115  
116 </#if> 
117 </#list> 
118 </ul> 
119 </#if> 
120 </#if> 
121  
122 <#-- Extra Images --> 
123 <#if cur_Page.getChild("Bildtext_Extra")??> 
124 <#if cur_Page.getChild("Bildtext_Extra").getSiblings()?has_content> 
125 <div class="extra_images"> 
126 <#list cur_Page.getChild("Bildtext_Extra").getSiblings() as extra_bild> 
127 <#if extra_bild.getData()?has_content> 
128 <div class="extra_image"> 
129 <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"> 
130 <img src="${extra_bild.getChild("Bild_Extra").getData()}&imageThumbnail=3" alt="${extra_bild.getChild("Alternativtext_Bild_Extra").getData()}" title="${extra_bild.getData()}" /> 
131 </a> 
132 </div> 
133 </#if> 
134 </#list> 
135 </div> 
136 </#if> 
137 </#if> 
138  
139 <div class="clear"></div> 
140 </div> 
141 </#list> 
142 </div> 
143 <div class="lions-pagination"></div> 
144 </#if> 
145</div> 
// ]]>