Consommations émergentes : la fin d`une société de

« Consommations émergentes : la fin d’une société
de consommation ? »
Failed to execute the [velocity] macro
org.xwiki.rendering.macro.MacroExecutionException: Failed to evaluate Velocity Macro for content [#* velocity document *#
##<html xmlns=”http://www.w3.org/1999/xhtml”>
#* Sheet actualité (Modification/Affichage d’une actualité) *#
#* @author Abdelkrim Merzouk *#
#set($ok = $xwiki.jsfx.use(’js/jquery/js/JQuery1.5/jquery-ui-1.8.13.custom.min.js’, { ’defer’:false} ))
#set($ok = $xwiki.ssfx.use(’js/jquery/css/smoothness/jquery-ui-1.8.2.custom.css’))
#set($ok = $xwiki.jsfx.use(’js/jquery/js/Validate/jquery.validate.min1.8.js’, { ’defer’:false} ))
$xwiki.jsfx.use(’js/jquery/js/datepicker/jquery.ui.datepicker.js’, { ’defer’:false} )
$xwiki.jsfx.use(”js/jquery/js/datepicker/jquery.ui.datepicker-fr.js”, { ’defer’:false} )
##$xwiki.jsfx.use(’js/jquery/js/datepicker/jquery-ui-timepicker-addon.js’, { ’defer’:false} )
#set($ok = $xwiki.includeForm(”NBNewJS.AjaxFormSubmit”,false))
#*#set($ok = $xwiki.jsfx.use(’uicomponents/widgets/notification.js’, true))
#set($ok = $xwiki.jsfx.use(’uicomponents/widgets/confirmationBox.js’, true))
#set($ok = $xwiki.ssfx.use(’uicomponents/widgets/confirmationBox.css’, true))
#set($ok = $xwiki.jsfx.use(’uicomponents/widgets/confirmedAjaxRequest.js’, true))*#
$xwiki.jsfx.use(’js/xwiki/widgets/modalPopup.js’, true)
$xwiki.ssfx.use(’js/xwiki/widgets/modalPopup.css’, true)
$xwiki.jsfx.use(’uicomponents/widgets/confirmationBox.js’, true)
$xwiki.ssfx.use(’uicomponents/widgets/confirmationBox.css’, true)
$xwiki.jsfx.use(’uicomponents/widgets/confirmedAjaxRequest.js’, true)
$xwiki.jsfx.use(’uicomponents/widgets/notification.js’, true)
$xwiki.ssfx.use(’uicomponents/widgets/notification.css’, true)
#set($ok = $xwiki.ssfx.use(’uicomponents/viewers/comments.css’, true))
#set($ok = $xwiki.jsfx.use(’uicomponents/viewers/nbcomments.js’, { ’forceSkinAction’: true, ‘language’: ${ context.language} } ))
#set($ok = $xwiki.jsx.use(”NBAdetem.WysiwygContent”))
#set($ok = $xwiki.jsx.use(”AditemActualitesCode.FileUploader”, { ’defer’:false} ))
#set($ok = $xwiki.ssx.use(”AditemActualitesCode.FileUploader”))
#set($serviceURL = $xwiki.getURL(”AditemActualitesCode.FileUploader”))
{ { html wiki=”false” clean=”false”} }
<div id=”dialog-confirm-delete-attach” title=”Suppression de l’image à la une” style=”display:none;”>
<p><span class=”ui-icon ui-icon-alert” style=”float:left; margin:0 7px 20px 0;”></span>
Voulez-vous supprimer cette image à la une ?</p>
</div>
#set($actualiteDoc = $xwiki.getDocument(”$doc”))
#set($urlImageUne = $xwiki.getURL(”AditemActualitesCode.imageUne”,”view”,”xpage=plain&actualiteDoc=${ actualiteDoc} ”))
#set($actualiteObj = $actualiteDoc.getObject(”AditemActualitesCode.ActualiteClass”))
#set($titre = $actualiteDoc.getValue(”titre”, $actualiteObj))
#set($category = $actualiteDoc.getValue(”categorie”, $actualiteObj))
#set($cat = “1”)
#if($actualiteDoc.getValue(”categorie”, $actualiteObj) == “Actualités Adhérents”)
#set($cat = “2”)
#elseif($actualiteDoc.getValue(”categorie”, $actualiteObj) == “Actualités de la profession”)
#set($cat = “3”)
#end
#set($datePublication = $actualiteDoc.getValue(”datePublication”, $actualiteObj))
#set($datePublicationEdit = $xwiki.formatDate($datePublication, “dd/MM/yyyy”))
#set($une = $actualiteDoc.getValue(”une”, $actualiteObj))
#set($contenuEdit = $actualiteDoc.getValue(”contenu”, $actualiteObj))
#set($resumeEdit = $actualiteDoc.getValue(”resume”, $actualiteObj))
##set($contenu = $!actualiteDoc.display(’contenu’,$actualiteObj).replaceAll(”\ { +[^\ } ]+\ } +”,””))
#set($contenu = $!actualiteDoc.getValue(’contenu’,$actualiteObj))
#set($contenuEdit = $actualiteDoc.getValue(”contenu”, $actualiteObj))
#set($jour = $xwiki.formatDate($datePublication, “dd”))
#set($mois = $xwiki.formatDate($datePublication, “MMM”).toUpperCase())
#set($categories = [”Actualités Adetem”,”Actualités Adhérents”,”Actualités de la profession”])
#if(!$request.op)
<div id=”dialog-confirm-delete-actu” title=”Suppression d’une actualité” style=”display:none;”>
<p><span class=”ui-icon ui-icon-alert” style=”float:left; margin:0 7px 20px 0;”></span>
Êtes-vous sur de vouloir supprimer cette actualité ?</p>
</div>
<div class=”Blog”>
<div class=”BlogCol1”>
<div class=”BlTtr” style=”margin-top: -25px;”>
<h1 >Actualités</h1>
<a href=”$xwiki.getURL(”AditemActualites.WebHome”)” class=”Retour” style=”margin-left: -10px;”>
<img src=”$xwiki.getSkinFile(’PictoRetour.png’)” width=”15” height=”16” /> Retour à la liste
</a>
#if($actualiteDoc.hasAccessLevel(”edit”, “$context.user”) == true)
<a href=”$actualiteDoc.getURL(”view”,”op=modifier”)” style=’right:100px’>Modfier
<img src=”$xwiki.getSkinFile(’PictoModifier.png’)” width=”15” height=”16” />
</a>
#end
#if($actualiteDoc.hasAccessLevel(”delete”, “$context.user”) == true)
<a href=”javascript:;” onclick=”deleteActu(’${ actualiteDoc} ’)” >Supprimer
<img src=”$xwiki.getSkinFile(’PictoDel.png’)” width=”15” height=”16” />
</a>
#end
</div>
<div class=”BlocActu” style=”padding-top:95px;”>
<div class=”Date”>
<span class=”Jour”>$!{ jour} </span><span class=”Mois”>$!{ mois} </span>
</div>
<div class=”Titre” style=”height:auto;”>
<div class=”Ttr”>$!{ titre} </div>
<div class=”C_B Catt”>
<span class=”categoryArticle”>Catégorie:</span>
<a href=”$xwiki.getURL(”AditemActualites.WebHome”,”view”,”cat=$!{ cat} ”)”>$!{
category} </a>
##<a href=”#” class=”imprimer”>Imprimer <img src=”$xwiki.getSkinFile(’PictiPrint.png’)”
width=”16” height=”14” /></a>
</div>
</div>
<div class=”contenuArticle”>$!{ contenu} </div>
<div>
#set($title = $titre)
#set($urlRS =$request.getRequestURL())
#includeInContext(”NBAdetem.ShareButtons”)
</div>
<div class=”SbBlog” style=”width:765px;”>
#set($urlComments =
$xwiki.getURL(”AditemActualitesCode.getComments”,”view”,”xpage=plain&doc=${ actualiteDoc} ”))
<div>
<h2 class=”NoMrg” onclick=”getAjaxContent(’cmt_${ actualiteDoc.name}
’,’$urlComments’)”>Commentaires (<span style=”color: red;text-decoration: none;”>$actualiteDoc.comments.size()</span>)</h2>
<div id=”cmt_${ actualiteDoc.name} ”></div>
##<script type=”text/javascript”>getAjaxContent(’cmt_${ actualiteDoc.name}
’,’$urlComments’)</script>
</div>
</div>
</div>
</div>
</div>
</div>
<script type=’text/javascript’>
function deleteActu(actu){
jQuery(”#dialog:ui-dialog”).dialog( “destroy” );
jQuery(”#dialog-confirm-delete-actu”).dialog({ modal: true,height: 200,width:400,buttons: {
“Ok”: function() {
jQuery(this).dialog(”close”);
new Ajax.Request(’$xwiki.getURL(”AditemActualitesCode.Actions”,”view”)’,{
method :’post’,
evalScripts:true,
parameters:{
‘action’:’deleteActu’,’xpage’:’plain’,’idActu’:actu
} ,onSuccess: function(){
document.location = ‘$xwiki.getURL(”${ actualiteDoc.space} .WebHome”,”view”)’;
}
} );
} ,”Annuler”: function() {
jQuery(this).dialog(close);
}
} } );
}
</script>
#elseif($request.op && $request.op ==”modifier”)
#wysiwyg_import(true)
##set($void = $xwiki.jsfx.use(”js/xwiki/wysiwyg/xwe/XWikiWysiwyg.js”, { ’defer’:false,’forceSkinAction’: true, ‘lazy’: true} ))
<div class=”Blog”>
<div class=”BlogCol1”>
##<div class=”BlTtr”>
<h1>Actualités</h1>
<h2 class=”NoMrg”>Modifier un article</h2>
##</div>
<div class=”BlocActu” style=”padding-top:10px;”>
<form name=”actualiteForm” id=”actualiteForm”>
<table width=”100%” class=”TableActu”>
<tr>
<td class=”Td1”>Titre : </td>
<td class=”Td2”><input type=”text” id=”titre” name=”titre” value=”$!{ titre} ” class=”required”/></td>
</tr>
<tr>
<td class=”Td1”>Date de publication : </td>
<td class=””><input type=”text” id=”datePublication” name=”datePublication” value=”$!{
datePublicationEdit} ” class=”required”/></td>
</tr>
<tr>
<td class=”Td1”>Catégorie :</td>
<td class=”Td2”><select id=”categorie” name=”categorie”>
#foreach($categorie in $categories)
<option value=”$!{ categorie} ” #if($categorie == $category)selected=”selected”#end>$!{
categorie} </option>
#end
</td>
</tr>
<tr>
<td class=”Td1”><input type=”checkbox” name=”une” id=”une” value=”1” #if($une ==
1)checked=”checked”#end/> A la une </td>
<td class=””>
<div id=”attachmentscontent” class=”xwikiintracontent”></div>
</td>
</tr>
<tr>
<td class=”Td1”>Résumé : </td>
<td class=”Td2”><textarea name=”resume” id=”resume” cols=”69” rows=”20” class=”required”>$!{
resumeEdit} </textarea></td>
</tr>
<tr>
<td class=”Td1”>Contenu : </td>
<td><textarea name=”contenu” id=”contenu” cols=”55” rows=”20” class=”required”><style
type=”text/css”>
body#body{
background:none !important;
}
</style>$!{ contenuEdit}
</textarea></td>
</tr>
<tr>
<td class=”Td1”></td>
<td style=”padding-top:10px”>
<input type=”button” class=”Btn123 F_R” onclick=”abortSaveActu(’${ actualiteDoc} ’)”
value=”Annuler”/>
<input type=”button” class=”Btn123 F_R” onclick=”saveActu(’${ actualiteDoc} ’)” value=”Sauver et
visualiser”/>
</td>
</tr>
</table>
</form>
</div>
</div>
</div>
<script type=’text/javascript’>
var iconCal = “$xwiki.getAttachmentURL(”AditemActualitesCode.ActualiteSheet”, “iconcal.png”)”;
jQuery.noConflict();
jQuery().ready(function() {
jQuery(’#datePublication’).datepicker({
numberOfMonths: 1,
showButtonPanel: true,
dateFormat: ‘dd/mm/yy’
//defaultDate: “+1w”,minDate: 0
} );
getAjaxContent(’attachmentscontent’,’$!{ urlImageUne} ’);
} );
var wysiwygConfig = {
syntax: ‘xwiki/2.0’,
toolbar: ‘bold italic underline strikethrough | justifyleft justifycenter justifyright justifyfull |subscript superscript |
unorderedlist orderedlist | outdent indent | undo redo | format fontname fontsize | hr symbol | paste | forecolor backcolor’,
plugins: ‘submit justify font color line separator embed text valign list indent history format symbol link image table macro
import’,
page: ‘$actualiteDoc.name’,
menu: ‘link image table macro import’,
convertInput: ‘false’,
hookId: ‘contenu’,
wiki: ‘$context.context.getDatabase()’,
space: ‘$actualiteDoc.space’,
inputURL: ‘$actualiteDoc.getURL(’view’,’xpage=wysiwyginput’)’
} ;
var wysiwygVar = “”;
document.observe(’dom:loaded’, function(){
Wysiwyg.onModuleLoad(function () {
wysiwygVar = new WysiwygEditor(wysiwygConfig);
wysiwygConfig = undefined;
} );
} );
function saveActu(actu){
jQuery.validator.messages.required = “*”;
if(jQuery(”#actualiteForm”).valid()){
WysiwygContent();
new Ajax.Request(’$xwiki.getURL(”AditemActualitesCode.Actions”,”view”)’,{
method :’post’,
evalScripts:true,
parameters:{
‘action’:’saveActu’,’xpage’:’plain’,’idActu’:actu,
‘titre’:$F(’titre’),’datePublication’:$F(’datePublication’),
‘categorie’:$F(’categorie’),’une’:$F(’une’),’contenu’:$F(’contenu’),’resume’:$F(’resume’)
} ,onSuccess: function(){
document.location = ‘$actualiteDoc.getURL(”view”)’;
}
} );
}
}
function abortSaveActu(actu){
document.location = ‘$actualiteDoc.getURL(”view”)’;
}
function uploadFile(){
$(”progress”).style.width=”0”;
displayLoadingDiv(”show”);
var uploader = new qq.FileUploaderBasic({
input: $(”uploader”),
action: “${ serviceURL} ”,
params: {
action: ‘uploadFile’,
xpage: ‘plain’,
sizeLimit: -1,
actualite : ‘${ actualiteDoc} ’
} ,
allowedExtensions: [’png’, ‘gif’, ‘jpg’,’jpeg’],
sizeLimit: 10*1024 *1024,
onSubmit: function(id, fileName){
//console.log(’submit’);
} ,
onProgress: function(id, fileName, loaded, total){
//console.log(loaded + ‘ ‘ + total);
$(”progress”).style.width = Math.floor(100 * loaded / total) + “%”;
$(”progress”).innerHTML = $(”progress”).style.width;
} ,
onComplete : function(id, fileName, json)
{
if(json && json.success)
{
getAjaxContent(’attachmentscontent’,’$!{ urlImageUne} ’);
displayLoadingDiv(”hide”);
} else{
getAjaxContent(’attachmentscontent’,’$!{ urlImageUne} ’);
displayLoadingDiv(”hide”);
}
} ,
debug: true
} );
uploader.submit();
//typeof (new XMLHttpRequest()).upload
}
function deleteAttach(filename){
jQuery(”#dialog:ui-dialog”).dialog( “destroy” );
jQuery(”#dialog-confirm-delete-attach”).dialog({ modal: true,height: 200,width:400,buttons: {
“$msg.get(’commons.actions.ok’)”: function() {
displayLoadingDiv(”show”);
new Ajax.Request(’${ serviceURL} ’,{
method :’post’,
evalScripts:true,
parameters:{ ’xpage’:’plain’,’actualite’: ‘${ actualiteDoc}
’,’filename’:filename,’action’:’deleteAttach’} ,
onComplete: function(transport){
getAjaxContent(’attachmentscontent’,’$!{ urlImageUne} ’);
displayLoadingDiv(”hide”);
}
} );
jQuery(”#dialog-confirm-delete-attach”).dialog(”close”);
} ,”$msg.get(’commons.actions.cancel’)”: function() {
jQuery(this).dialog(”close”);
}
} } );
}
</script>
#end
#includeInContext(’NBAdetemPublic.AdetemPartenaires’)
{ { /html} } ]
at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:125)
at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:44)
at org.xwiki.rendering.macro.script.AbstractScriptMacro.evaluateBlock(AbstractScriptMacro.java:298)
at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:190)
at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:57)
at org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transformOnce(MacroTransformation.java:184)
at org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:129)
at
org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:72)
at com.xpn.xwiki.doc.XWikiDocument.performSyntaxConversion(XWikiDocument.java:7409)
at com.xpn.xwiki.doc.XWikiDocument.performSyntaxConversion(XWikiDocument.java:7358)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:831)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:782)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:874)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:537)
at sun.reflect.GeneratedMethodAccessor273.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:196)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:161)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:116)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1890)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1835)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1812)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.export(PdfExportImpl.java:324)
at com.xpn.xwiki.web.ExportAction.exportPDFOrRTF(ExportAction.java:196)
at com.xpn.xwiki.web.ExportAction.render(ExportAction.java:64)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:216)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:117)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:129)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:218)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:957)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423)
at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:190)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:620)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.xwiki.velocity.XWikiVelocityException: Failed to evaluate content with id [xwiki:AditemActualites.85XVQTrfVmI9eXay]
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:205)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:161)
at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:118)
... 77 more
Caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method ‘formatDate’ in class com.xpn.xwiki.api.XWiki
threw exception java.lang.NullPointerException at xwiki:AditemActualites.85XVQTrfVmI9eXay[line 46, column 36]
at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:337)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:284)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:493)
at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71)
at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:196)
... 79 more
Caused by: java.lang.NullPointerException
at com.xpn.xwiki.XWiki.formatDate(XWiki.java:5933)
at com.xpn.xwiki.XWiki.formatDate(XWiki.java:5938)
1 / 6 100%
La catégorie de ce document est-elle correcte?
Merci pour votre participation!

Faire une suggestion

Avez-vous trouvé des erreurs dans linterface ou les textes ? Ou savez-vous comment améliorer linterface utilisateur de StudyLib ? Nhésitez pas à envoyer vos suggestions. Cest très important pour nous !