Reconduction de la marque NF-LIANTS HYDRAULIQUES - Cimalux
Une erreur s'est produite lors du traitement du gabarit.
Java method "com.sun.proxy.$Proxy128.getFileEntryByUuidAndGroupId(String, long)" threw an exception when invoked on com.sun.proxy.$Proxy128 object "it.ariadne.buzzi.dlFileEntryServiceWrapper.DlFileEntryServiceWrapper@3b8502bd"; see cause exception in the Java stack trace.
----
FTL stack trace ("~" means nesting-related):
- Failed at: #assign dlDocument = dlAppService.get... [in template "20116#20152#52307" at line 54, column 32]
---- 1<div class="container"> 2 3 <div class="row"> 4 5 <div class="col-sm-8 col-sm-offset-2"> 6 7 <!-- Web Content --> 8 <article class="webcontent"> 9 <figure class="webcontent__figure"> 10 <#if NewsImage.getData()?? && NewsImage.getData() != ""> 11 <img data-fileentryid="${NewsImage.getAttribute("fileEntryId")}" alt="${NewsImage.getAttribute("alt")}" src="${NewsImage.getData()}" class="webcontent__img" /> 12 </#if> 13 </figure> 14 15 <div class="webcontent__date"> 16 <#assign NewsDate_Data = getterUtil.getString(NewsDate.getData())> 17 18 <#if validator.isNotNull(NewsDate_Data)> 19 <#assign NewsDate_DateObj = dateUtil.parseDate("yyyy-MM-dd", NewsDate_Data, locale)> 20 21 <#if locale == 'de_DE'> 22 <#assign dateFormat = "dd.MMMMyyyy" /> 23 <#else> 24 <#assign dateFormat = "dd MMMM yyyy" /> 25 </#if> 26 27 ${dateUtil.getDate(NewsDate_DateObj, dateFormat, locale)} 28 </#if> 29 </div> 30 31 <h1 class="webcontent__title">${NewsTitle.getData()}</h1> 32 33 <div class="webcontent__text"> 34 ${NewsBody.getData()} 35 </div> 36 37 <#if NewsDocument?? && NewsDocument.getSiblings()?has_content > 38 39 <#assign dlAppService = serviceLocator.findService("com.liferay.document.library.kernel.service.DLAppService") /> 40 41 <#assign SPACE_KB = 1024 /> 42 <#assign SPACE_MB = SPACE_KB?int * 1024 /> 43 <#assign SPACE_GB = SPACE_MB?int * 1024 /> 44 <#assign SPACE_TB = SPACE_GB?int * 1024 /> 45 46 <div class="file-list"> 47 48 <#list NewsDocument.getSiblings() as file> 49 50 <#if file?? && validator.isNotNull(file.data) > 51 <#assign urlSplitted = file.data?split("/") /> 52 <#assign indexToken = urlSplitted?size - 1 /> 53 <#assign uuid = urlSplitted[indexToken]?split("?")[0] /> 54 <#assign dlDocument = dlAppService.getFileEntryByUuidAndGroupId(uuid,groupId) /> 55 <#assign dlDocumentSize = dlDocument.size?int /> 56 57 <#if dlDocumentSize lt SPACE_KB> 58 <#assign dlDocumentSize = dlDocumentSize?round?string + " Byte" /> 59 <#elseif dlDocumentSize lt SPACE_MB> 60 <#assign dlDocumentSize = dlDocumentSize / SPACE_KB /> 61 <#assign dlDocumentSize = dlDocumentSize?round?string + " KB" /> 62 <#elseif dlDocumentSize lt SPACE_GB > 63 <#assign dlDocumentSize = dlDocumentSize / SPACE_MB /> 64 <#assign dlDocumentSize = dlDocumentSize?round?string + " MB" /> 65 <#elseif dlDocumentSize lt SPACE_TB> 66 <#assign dlDocumentSize = dlDocumentSize / SPACE_GB /> 67 <#assign dlDocumentSize = dlDocumentSize?round?string + " GB" /> 68 <#else> 69 <#assign dlDocumentSize = dlDocumentSize / SPACE_TB /> 70 <#assign dlDocumentSize = dlDocumentSize?round?string + " TB" /> 71 </#if> 72 73 <div class="file has-icon"> 74 <i class="fa fa-file-pdf-o" aria-hidden="true"></i> 75 <div class="file__name"><a href="${file.data}" title="${dlDocument.getTitle()}" class="file__link" target="_blank">${dlDocument.getTitle()}</a></div> 76 <div class="file__info">(${dlDocument.extension?upper_case} ${dlDocumentSize})</div> 77 </div> 78 79 </#if> 80 81 </#list> 82 83 </div> 84 85 </#if> 86 <#include "${templatesPath}/SLIDER_MASTER" /> 87 </article> 88 89 </div> 90 91 </div> 92 93</div>