General Actions:
Your OpenId is http://webid.myxwiki.org/xwiki/bin/view/XWiki/SubProletarian
| Sub Proletarian | |
| hex modulus | b9dca3cb42821d732e5ff7bc8b196f4140a14d0344c920e988bd582439d6 16b842e7e3e5a808fceeae102317263656184a491d3f61779b138b148979 7b8719e6f352e8dfffe5ec245bf60a2ff3b1d0c6bc68d885c681cf5984e5 f4cfd6e9a3b4a391d524322f6c57928d6e255e9c054222d0e92f63593c20 b2f7362531e39f6e8ebf10c694c4c8fa53f1e4c1f73587ec0fc706ac1d3c 19da34d315de592382c994d5c42b9176dc8f5cbd2bad7bf85a1d1abec6ba de72b9e6c15bba8f155dbda10144af5a073820ef585403bf251bd583c0dc e55714d191ca96696c31357af95512b19acbc0edeab5f815b30d99c89071 adc78b2eea491b1450616dd8e2507d09b9dca3cb42821d7 ... |
| exponent | 65537 |
| Sub Proletarian | |
| hex modulus | a334fab0c35efbd544e38e992007b5f1eb819889151e9f0f8b96486b9df86b597ad86a0d78a1ecef74a74dfc9bf5a208a0d08f3c469e1ba413f1fba4db0f8e79f41ad04c47554755ad69166fcff37797e334fb79b7ed48fee0f07ccab4d2ecb4a9f669511c6929d010627c0ffc37fa28b44baa7b4048fac9d963cea8ed2ec8c9565851de20c8b6b546be962ebfe0d4e44630811a152dd8103811b7fc848071bc2e6b0af74d9824f61173c45238718e5fc33bd527465139e1bdce0b127383b9c5fb830237bbd3702e9c3e6c3b6329e218dbf28ba98211f43c8b42cffbd9a5ed0b4f4a3b6527fffd55d432b50adcadc3cda1ecba0c65b7679335576e6045e609a7a334fab0c35efbd ... |
| exponent | 65537 |
| SubProletarian | |
| hex modulus | da0b54cdc50dbf35fc52c6f4a062b98372aee9fc4973347eb96e25a72e54 1c582b7cb337b7644c29ad4557a09f82b712001c7865546099709cdeae19 d34407fa8b762930d6dd5692879a2cabf0be34f12e8de89ce862ccf9455e 91d6a0c181e33404a73e3b3f9e774f07b112a93ecffb63c2a151ffb6cf12 19a85d9d3573ce1360459537d7a121ce037622c7becfb95005ccd8a59ee6 8297a4396ffaf23be3b7a097f4717332da2906b729e3a7dd5b885bea814c c6aeff61d32c8c1570f80069b978b1365f5ad9da42c39e24abc545dfd9cc 3df626e1704a22d09ab4eea08b81d9de6808a69c90d7552b06d84d11a595 da260da4efb7c6b52bcfc51654ef108bda0b54cdc50dbf3 ... |
| exponent | 65537 |
| SubProletarian | |
| hex modulus | e9aec979e0fd4e85928a6b7a6051ef2e9a652777ce1ff582cad3b24f76c4 002d3f1c351233d4194be1056ba2614b0a78a8aa5b63e76aa193ffe2623d b88dcae5ad42b76e57ed150f8950303163be8feaec808b2c8c2b3eedfe1f 99a3d9fe893faaf6893d1e83ecb527b1c4974b97af322983d2d63067a025 31d541b5b0a0d9e7ac44a656c8c533228c48860db0bc36bbac7aa6e1089a 1195d75688750860f18280563004712c34ad6111b0893caef159be413995 f85a3849fb4fc3d414a7d4bcb9f63a9950defa5f25cd602c532b28d3d6fb 73cec39148d7a6c52c76821269b85effcffcdcedcc7631bdb0cfda0cbc16 451ab2808dbdb8e247398117db98d475e9aec979e0fd4e8 ... |
| exponent | 65537 |
org.xwiki.rendering.macro.MacroExecutionException: Failed to evaluate Velocity Macro for content [##
## Recent changes.
##
## Optional parameters :
##
## Parameters which can be set in velocity before including this page or can be passed as HTTP parameters.
## Note that HTTP parameters supercede velocity set variables.
##
## - rcShowMinor (String set to "true" or "false"): show minor edits.
## - rcShowDiff (String set to "true" or "false"): show diff in items.
## - rcShowRss (String set to "true" or "false"): show RSS at the bottom of the list.
## - rcChangesNb (String set to a numerical value): number of recent changes to display.
## - rcSpace (List of string[s]): restrict recent changes retrieval to pages within the given space.
## - rcTag (List of string[s]): restrict recent changes retrieval to pages with the given tag.
## - rcAuthor (List of string[s]): restrict recent changes retrieval to pages with the given author.
##
## Parameters which can be set before including this page only.
##
## - rcDocumentNames (Collection): The list of recentlyChanged documents, to reuse a previous search query.
##
$xwiki.jsx.use("Main.RecentChanges")##
$xwiki.ssx.use("Main.RecentChanges")##
#set($action = "$!request.getParameter('action')")
##
## Start execution timer
##
#set($execStart = $util.getDate())
##
## Go to diff URL service.
##
#if($action == "goToDiffURL")
#set($page = "$!request.getParameter('page')")
#set($author = "$!request.getParameter('author')")
#set($date = "$!request.getParameter('date')")
#set($period = $xwiki.criteriaService.getPeriodFactory().createDayPeriod($date))
#set($criterion = $xwiki.criteriaService.getRevisionCriteriaFactory().createRevisionCriteria($author, $period))
#if("$!request.getParameter('rcShowMinor')" == "true")
#set($discard = $criterion.setIncludeMinorVersions(true))
#end
#set($diffDoc = $xwiki.getDocument($page))
#set($revisions = $diffDoc.getRevisions($criterion))
#set($rev1 = $listtool.get($revisions, 0))
#set($revMax = $revisions.size() - 1)
#set($rev2 = $listtool.get($revisions, $revMax))
#if($rev2 != "1.1")
#set($rev2 = $xwiki.getDocument($diffDoc, $rev2).getPreviousVersion())
#end
$response.sendRedirect($diffDoc.getURL("view", "viewer=changes&rev1=${rev1}&rev2=${rev2}"))
#end
## We have to use the HTML macro to avoid prints of multiple   on macro calls.
{{html}}
## Manage minor edits.
#setVariableFromRequest($rcShowMinor "rcShowMinor" false)
## Manage show diff in items.
#setVariableFromRequest($rcShowDiff "rcShowDiff" true)
## Manage show RSS links.
#setVariableFromRequest($rcShowRss "rcShowRss" true)
## Manage number of changes to display.
#setVariableFromRequest($rcChangesNb "rcChangesNb" 30)
## Manage tag criterion
#setVariableFromRequest($rcTag "rcTag" [])
## Manage space criterion
#setVariableFromRequest($rcSpace "rcSpace" [])
## Manage author criterion
#setVariableFromRequest($rcAuthor "rcAuthor" [])
{{/html}}
##
## Create a string containing one or more ? given the number of values in the passed list.
##
#macro(createQueryParameters $values $parameters)
#foreach($value in $values)
#if($parameters == "")
#set($parameters = "?")
#else
#set($parameters = "${parameters}, ?")
#end
#end
#end
##
## Retrieve recently changed documents.
##
#set($criteria = $util.getHashMap())
#if("$!rcDocumentNames" == "")
#if(!$xwiki.hasMinorEdit() || $rcShowMinor)
#set ($hqlQuery = "where 1=1 order by doc.date desc")
#else
#set ($hqlQuery = "where doc.version like '%.1'#if(!$isAdvancedUser) and doc.author != 'superadmin'#end order by doc.date desc")
#end
## Create space criterion.
#if($rcSpace.size() > 0)
#set($spaceParameters = "")
#createQueryParameters($rcSpace $spaceParameters)
#set($discard = $criteria.put("doc.space in (${spaceParameters})", $rcSpace))
#end
## Create tag criterion.
#if("$!xwiki.getPlugin('tag')" != "" && $rcTag.size() > 0)
#set($docsWithTag = $util.getArrayList())
#foreach($item in $rcTag)
#set($discard = $docsWithTag.addAll($xwiki.tag.getDocumentsWithTag($item)))
#end
#set($docsWithTagParameters = "")
#createQueryParameters($docsWithTag $docsWithTagParameters)
#set($discard = $criteria.put("doc.fullName in (${docsWithTagParameters})", $docsWithTag))
#end
#if($rcAuthor.size() > 0)
#set($authorParameters = "")
#createQueryParameters($rcAuthor $authorParameters)
#set($discard = $criteria.put("doc.author in (${authorParameters})", $rcAuthor))
#end
## Exclude blacklisted spaces if displaying changes for a whole wiki
#if($rcSpace.size() == 0)
#set($blacklistedSpacesParameters = "")
#createQueryParameters($blacklistedSpaces $blacklistedSpacesParameters)
#set($discard = $criteria.put("doc.space not in (${blacklistedSpacesParameters})", $blacklistedSpaces))
#end
#if($criteria.size() > 0)
## If any, loop over criterias to add them to the query, then perform the query.
#set($values = $util.getArrayList())
#foreach($criterion in $criteria.keySet())
#if($criteria.get($criterion).size() > 0)
#set($hqlQuery = $hqlQuery.replaceAll("where", "where ${criterion} and"))
#set($discard = $values.addAll($criteria.get($criterion)))
#end
#end
#set($rcDocumentNames = $xwiki.searchDocuments($hqlQuery, $rcChangesNb, 0, $values))
#else
## No query criterion, perform the query as is.
#set($rcDocumentNames = $xwiki.searchDocuments($hqlQuery, $rcChangesNb, 0))
#end
#end
##
## Prepare comments handling
#set($commentsOrder = false)
#if($xwiki.getSpacePreferenceAsInt('commentsorder', 1) == 0)
#set($commentsOrder = true)
#end
##
## Comment handling macro.
## Retreive page's last comment if any and
## overwrite variables if this comment is the last modification on the page.
##
#macro(handleComment $rcDoc $rcType $rcDt $commentsOrder)
## Retrieve comments from last to first.
#set($rcComments = $rcDoc.getComments($commentsOrder))
#if($rcComments.size() > 0)
## Retrieve last comment.
#set($lastComment = $listtool.get($rcComments, 0))
#set($lastCommentDate = $lastComment.getProperty("date").getValue())
## If the last modification on the page is the comment, overwrite values.
## We don't test compareTo() == 0 since the comment date and the save date may vary a little bit.
#if($lastCommentDate.compareTo($rcDt.toDate()) > -1 && $lastCommentDate.compareTo($rcDt.toDate()) <= 1)
#set($rcType = "comment")
#end
#end
#end
##
## Attachments handling macro.
## Retrieve page's attachments and put those which upload matches the modification entry (author and timeframe)
## in the $rcAttachments List.
##
#macro(handleAttachments $rcDoc $rcAuthor $rcDt)
#set($attachments = $rcDoc.getAttachmentList())
#foreach($attachment in $attachments)
#set($attachmentDt = $xwiki.jodatime.getDateTime($attachment.getDate().getTime()))
#if($rcAuthor == $attachment.getAuthor() && $rcDt.getYear() == $attachmentDt.getYear() && $rcDt.getDayOfYear() == $attachmentDt.getDayOfYear())
#set($discard = $rcAttachments.add($attachment))
#end
#end
#end
##
##
##
#macro(displayRcAuthor $author)
#useravatar($author)
<br/><span class="recentChangesAuthor">
#if($author == "XWikiGuest")
Guest
#else
#set($userName = $xwiki.getUserName($author))
#if($userName == "")
## userName can be empty when the page has been saved without specifying the author.
## We're printing a non-breaking space to ensure xhtml validity (ie: avoid empty paragraph).
#else
$userName
#end
#end
</span>
#end
#macro(displayRcVersion $version)
#if($version == "1.1")
<span class="rcVersion">(<span class="newVersion">$msg.get("xe.recentchanges.entry.new")</span>)</span>
#end
#end
##
## Display the recent changes list.
##
#set($previousDt = $xwiki.jodatime.getDateTime(0))
#set($discard = $previousDate.setTime(0))
#set($previousAuthor = "")
## Get this very doc, useful when it is included from another one.
#set($recentChangesDoc = $xwiki.getDocument("Main.RecentChanges"))
{{html clean="false"}}
<table class="recentChanges" summary="$msg.get('xe.recentchanges.summary')">
<tr class="recentChangesHeader"><th scope="col">$msg.get("xe.recentchanges.column.authoranddate")</th><th scope="col">$msg.get("xe.recentchanges.column.changes")</th></tr>
#foreach ($rcDocName in $rcDocumentNames)
#set($row = "")
#set($rcAttachments = $util.arrayList)
## Verify user access level on the document
#if ($xwiki.hasAccessLevel("view", $context.user, "${context.database}:${rcDocName}"))
#set($rcDoc = $xwiki.getDocument($rcDocName))
#set($rcType = "page")
#set($rcAuthor = $rcDoc.getAuthor()) ## TODO : check comments
#set($rcDt = $xwiki.jodatime.getDateTime($rcDoc.getDate().getTime()))
## The handleComment macro overwrites rcType variable if the last modification is a comment.
#handleComment($rcDoc $rcType $rcDt $commentsOrder)
## The handleAttachments macro put a list of attachments uploaded during the day by the author in $rcAttachments.
#handleAttachments($rcDoc $rcAuthor $rcDt)
#if($rcAuthor == $previousAuthor && $rcDt.getYear() == $previousDt.getYear() && $rcDt.getDayOfYear() == $previousDt.getDayOfYear())
## Same day and author, continue in the same row.
#else
## Different day or author, end previous row and start a new one.
#if($velocityCount > 1)</ul></td></tr>#end ## close previous row if needed
<tr><td class="recentChangesLeft">#displayRcAuthor($rcAuthor)<br/>
<span class="recentChangesDate">$xwiki.formatDate($rcDt.toDate(), "MMMM d")</span></td>
<td class="recentChangesRight"><ul class="xlist"> ## open next cell
#end
## Compute a GUID for this modification with page name, modification date and author.
#set($modGUID = "${rcDoc.fullName}_${xwiki.formatDate($rcDt.toDate(), 'yyyyMMdd')}_${rcAuthor}")
## Build the URL used to retreive the diff viewer URL
#set($goToDiffURL = $recentChangesDoc.getURL("view", "xpage=plain&action=goToDiffURL&page=${rcDoc.getFullName()}&author=${rcAuthor}&date=${xwiki.formatDate($rcDt.toDate(), 'yyyyMMdd')}&rcShowMinor=${rcShowMinor}"))
<li class="xitem xunderline xhighlight ${rcType}">
<div class="xitemcontainer">
#if($rcType == "comment")
<div class="modifiedPage"><a href="$rcDoc.getURL()" title="$msg.get("xe.recentchanges.entry.comment.tooltip", [$xwiki.formatDate($rcDt.toDate(), "HH:mm")]) ">$xwiki.getXMLEncoded($rcDoc.getDisplayTitle())</a></div>
#if($rcShowDiff)
<div class="xshowonhover modifiedPageActions"><a class="ajax" href="$rcDoc.getURL("vire", "viewer=comments")" onclick="toggleClass(document.getElementById('$modGUID'), 'hidden'); toggleClass(document.getElementById('${modGUID}_comShow'), 'hidden'); toggleClass(document.getElementById('${modGUID}_comHide'), 'hidden'); return false;"><span id="${modGUID}_comShow">[+] $msg.get("xe.recentchanges.entry.comment.show")</span><span id="${modGUID}_comHide" class="hidden">[-] $msg.get("xe.recentchanges.entry.comment.hide")</span> $msg.get("xe.recentchanges.entry.comment")</a></div>
<div class="commentContainer hidden" id="$modGUID">
<div class="commentQuote lQuo"> </div>
<div class="commentQuote rQuo"> </div>
<div class="comment">
{{/html}}
$lastComment.get("comment")
{{html clean="false"}}
</div>
## Display discussion link, this link point to the comments anchor.
<div class="commentAdd"><img src="$xwiki.getSkinFile("icons/silk/comment.gif")" alt="Reply icon" /> <a href="${rcDoc.getURL("view")}#Comments">$msg.get("xe.recentchanges.entry.comment.seediscussion")</a></div>
</div>
#end
#else
<div class="modifiedPage"><a href="$rcDoc.getURL()" title="$msg.get("xe.recentchanges.entry.page.tooltip", [$rcDoc.getVersion(), $xwiki.formatDate($rcDt.toDate())])">$xwiki.getXMLEncoded($rcDoc.getDisplayTitle())</a> #displayRcVersion($rcDoc.getVersion())</div>
#if($rcShowDiff)
<div class="xshowonhover modifiedPageActions"><a href="$goToDiffURL" title="$msg.get('xe.recentchanges.entry.page.seemodifications.title', [$rcDoc.fullName])">$msg.get("xe.recentchanges.entry.page.seemodifications")</a></div>
## If the author has uploaded attachments during the day in this page, display them.
#if($rcAttachments.size() > 0)
<div class="attachmentContainer" id="$modGUID">
<ul>
#foreach($rcAttachment in $rcAttachments)
<li class="attachment"><a href="$rcDoc.getAttachmentURL($rcAttachment.filename)">$rcAttachment.filename</a> #displayRcVersion($rcAttachment.getVersion())</li>
#end
</ul>
</div>
#end
#end
#end
<div class="xspacer"> </div>
</div>
</li>
#end
#set($previousAuthor = $rcAuthor)
#set($previousDt = $rcDt)
#end
## Close last row if any.
#if($rcDocumentNames.size() > 1)</ul></td></tr>#end
</table>
{{/html}}
##
## Rebuild URL query string
## Workaround until we fix $request.getQueryString()
##
#set($queryString = "")
#set($paramMap = $request.getParameterMap())
#foreach($key in $paramMap.keySet())
#foreach($value in $paramMap.get($key))
#set($queryString = "${queryString}&${key}=${value}")
#end
#end
##
## Provide links to display minor edits and RSS feed.
##
#if($xwiki.hasMinorEdit())
{{html}}
<p class="recentChangesMoreActions">
#if($rcShowMinor)
<a href="$xwiki.getURL($tdoc.getFullName(), "view", $queryString.replaceAll('rcShowMinor=true', ''))"><img src="$xwiki.getSkinFile("icons/silk/zoom_out.gif")" alt="Hide minor icon"/>$msg.get("xe.recentchanges.hideminor")</a>
#else
<a href="$xwiki.getURL($tdoc.getFullName(), "view", "${queryString}&rcShowMinor=true")"><img src="$xwiki.getSkinFile("icons/silk/zoom_in.gif")" alt="Show minor icon"/>$msg.get("xe.recentchanges.showminor")</a>
#end
#if($rcShowRss)
#set($rssURL = "")
#set($parameters = 'xpage=plain&outputSyntax=plain')
#if($rcTag.size() > 0)
#set($parameters = "${parameters}&tag=$listtool.get($rcTag, 0)")
#end
#if($rcSpace.size() > 0)
#set($parameters = "${parameters}&space=$listtool.get($rcSpace, 0)")
#end
#set($rssURL = $xwiki.getURL('Main.WebRss', 'view', $parameters))
<a href="${rssURL}"><img src="$xwiki.getSkinFile("icons/silk/feed.gif")" alt="RSS icon"/>$msg.get("xe.recentchanges.rssfeed")</a>
#end
</p>
{{/html}}
#end]
at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:131)
at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:50)
at org.xwiki.rendering.macro.script.AbstractScriptMacro.evaluateBlock(AbstractScriptMacro.java:302)
at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:198)
at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:59)
at org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transformOnce(MacroTransformation.java:187)
at org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:132)
at org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:87)
at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:252)
at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:125)
at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:55)
at org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:80)
at org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:38)
at org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:113)
at org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:50)
at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:67)
at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:41)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:921)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:900)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:931)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:603)
at sun.reflect.GeneratedMethodAccessor2211.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:567)
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.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:228)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:187)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:105)
at com.xpn.xwiki.internal.template.DefaultPrivilegedTemplateRenderer.evaluate(DefaultPrivilegedTemplateRenderer.java:125)
at com.xpn.xwiki.internal.template.DefaultPrivilegedTemplateRenderer.evaluateTemplate(DefaultPrivilegedTemplateRenderer.java:75)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1849)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1789)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:895)
at sun.reflect.GeneratedMethodAccessor2051.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:369)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:216)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:228)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:187)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:105)
at com.xpn.xwiki.internal.template.DefaultPrivilegedTemplateRenderer.evaluate(DefaultPrivilegedTemplateRenderer.java:125)
at com.xpn.xwiki.internal.template.DefaultPrivilegedTemplateRenderer.evaluateTemplate(DefaultPrivilegedTemplateRenderer.java:75)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1849)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:152)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:299)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:123)
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:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:120)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
at java.lang.Thread.run(Thread.java:662)
Caused by: org.xwiki.velocity.XWikiVelocityException: Failed to evaluate content with id [webid:XWiki.SubProletarian]
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:247)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:187)
at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:124)
... 106 more
Caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'searchDocuments' in class com.xpn.xwiki.api.XWiki threw exception com.xpn.xwiki.XWikiException: Error number 3223 in 3: Exception while searching documents with SQL [select distinct doc.space, doc.name, doc.date from XWikiDocument as doc where doc.space not in () and doc.version like '%.1' and doc.author != 'superadmin' order by doc.date desc]
Wrapped Exception: unexpected end of subtree [select distinct doc.space, doc.name, doc.date from com.xpn.xwiki.doc.XWikiDocument as doc where doc.space not in () and doc.version like '%.1' and doc.author != 'superadmin' order by doc.date desc] at webid:XWiki.SubProletarian[line 125, column 32]
at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:243)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:187)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:567)
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.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:228)
... 108 more
Caused by: com.xpn.xwiki.XWikiException: Error number 3223 in 3: Exception while searching documents with SQL [select distinct doc.space, doc.name, doc.date from XWikiDocument as doc where doc.space not in () and doc.version like '%.1' and doc.author != 'superadmin' order by doc.date desc]
Wrapped Exception: unexpected end of subtree [select distinct doc.space, doc.name, doc.date from com.xpn.xwiki.doc.XWikiDocument as doc where doc.space not in () and doc.version like '%.1' and doc.author != 'superadmin' order by doc.date desc]
at com.xpn.xwiki.store.XWikiHibernateStore.searchGenericInternal(XWikiHibernateStore.java:2405)
at com.xpn.xwiki.store.XWikiHibernateStore.searchDocumentReferencesInternal(XWikiHibernateStore.java:2361)
at com.xpn.xwiki.store.XWikiHibernateStore.searchDocumentsNamesInternal(XWikiHibernateStore.java:2348)
at com.xpn.xwiki.store.XWikiHibernateStore.searchDocumentsNames(XWikiHibernateStore.java:2111)
at com.xpn.xwiki.store.XWikiCacheStore.searchDocumentsNames(XWikiCacheStore.java:385)
at com.xpn.xwiki.api.XWiki.searchDocuments(XWiki.java:725)
at sun.reflect.GeneratedMethodAccessor2152.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
... 118 more
Caused by: org.hibernate.hql.ast.QuerySyntaxException: unexpected end of subtree [select distinct doc.space, doc.name, doc.date from com.xpn.xwiki.doc.XWikiDocument as doc where doc.space not in () and doc.version like '%.1' and doc.author != 'superadmin' order by doc.date desc]
at org.hibernate.hql.ast.QuerySyntaxException.convert(QuerySyntaxException.java:54)
at org.hibernate.hql.ast.QuerySyntaxException.convert(QuerySyntaxException.java:47)
at org.hibernate.hql.ast.ErrorCounter.throwQueryException(ErrorCounter.java:82)
at org.hibernate.hql.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:263)
at org.hibernate.hql.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:187)
at org.hibernate.hql.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:138)
at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:101)
at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:80)
at org.hibernate.engine.query.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:124)
at org.hibernate.impl.AbstractSessionImpl.getHQLQueryPlan(AbstractSessionImpl.java:156)
at org.hibernate.impl.AbstractSessionImpl.createQuery(AbstractSessionImpl.java:135)
at org.hibernate.impl.SessionImpl.createQuery(SessionImpl.java:1770)
at com.xpn.xwiki.store.XWikiHibernateStore.searchGenericInternal(XWikiHibernateStore.java:2388)
... 129 more
