The relevant part is:
Caused by: org.apache.velocity.exception.MethodInvocationException:
Invocation of method 'subList' in class java.util.ArrayList threw exception
java.lang.IllegalArgumentException: fromIndex(0) > toIndex||(-1) at
48:documentationbss:XWiki.DocumentTree[line 1384, column 48]
Looks like a bug. The finder returns results (suggestions) that are not in
the tree and thus for which the tree fails to compute the path. Can you
report an issue at
. Make sure you
specify the XWiki version you're using.
Thanks,
Marius
On Fri, Nov 20, 2015 at 10:40 AM, Iago Lluque <iago.lluque(a)alineasol.com>
wrote:
Hi again,
More info, in client side the following is logged in console (sorry if too
long...):
|Failed to execute the [velocity] macro. Click on this message for
details.org.xwiki.rendering.macro.MacroExecutionException||: Failed to
evaluate Velocity Macro for content [#if ($xcontext.action == 'get')
||#updateDocTreeConfigFromRequest ||#handleDocumentTreeRequest ||#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:286)||||at
org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:182)
||at
org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:58)
||at
org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation||.java:269)
||at
org.xwiki.rendering.internal.transformation.DefaultRenderingContext.transformInContext(DefaultRenderingContext||.java:183)
||at
org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager||.java:95)
||at
org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:253)
||at
org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:126)
||at
org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:56)
||at
org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:96)
||at
org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:39)
||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:68||)
||at
org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:42||)
||at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:1164)
||at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:1127)
||at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:749) ||at
sun.reflect.GeneratedMethodAccessor452.invoke(Unknown Source) ||at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
||at java.lang.reflect.Method.invoke(Method.java:497) ||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.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.ASTBlock.render(ASTBlock.java:72)
||at
org.xwiki.velocity.introspection.TryCatchDirective.render(TryCatchDirective.java:72)
||at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
||at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
||at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluateInternal(DefaultVelocityEngine.java:256||)
||at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:222)
||at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:198)
||at
com.xpn.xwiki.internal.template.InternalTemplateManager.evaluateContent(InternalTemplateManager.java||:725)
||at
com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:626)||||at
com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java||:604)
||at
com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java||:570)
||at
com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:556)||||at
com.xpn.xwiki.internal.template.DefaultTemplateManager.render(DefaultTemplateManager.java:65)
||at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1876) ||at
com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1854) ||at
com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:820) ||at
sun.reflect.GeneratedMethodAccessor225.invoke(Unknown Source) ||at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
||at java.lang.reflect.Method.invoke(Method.java:497) ||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.SimpleNode.render(SimpleNode.java:342)
||at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluateInternal(DefaultVelocityEngine.java:256||)
||at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:222)
||at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:198)
||at
com.xpn.xwiki.internal.template.InternalTemplateManager.evaluateContent(InternalTemplateManager.java||:725)
||at
com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:626)||||at
com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java||:604)
||at
com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java||:570)
||at
com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:556)||||at
com.xpn.xwiki.internal.template.DefaultTemplateManager.render(DefaultTemplateManager.java:65)
||at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1876) ||at
com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1854) ||at
com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:820) ||at
sun.reflect.GeneratedMethodAccessor225.invoke(Unknown Source) ||at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
||at java.lang.reflect.Method.invoke(Method.java:497) ||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.SimpleNode.render(SimpleNode.java:342)
||at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluateInternal(DefaultVelocityEngine.java:256||)
||at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:222)
||at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:198)
||at
com.xpn.xwiki.internal.template.InternalTemplateManager.evaluateContent(InternalTemplateManager.java||:725)
||at
com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:626)||||at
com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java||:604)
||at
com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java||:570)
||at
com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:556)||||at
com.xpn.xwiki.internal.template.DefaultTemplateManager.render(DefaultTemplateManager.java:65)
||at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1876) ||at
com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1854) ||at
com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:820) ||at
sun.reflect.GeneratedMethodAccessor225.invoke(Unknown Source) ||at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
||at java.lang.reflect.Method.invoke(Method.java:497) ||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.SimpleNode.render(SimpleNode.java:342)
||at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluateInternal(DefaultVelocityEngine.java:256||)
||at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:222)
||at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:198)
||at
com.xpn.xwiki.internal.template.InternalTemplateManager.evaluateContent(InternalTemplateManager.java||:725)
||at
com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:626)||||at
com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java||:604)
||at
com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java||:570)
||at
com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:556)||||at
com.xpn.xwiki.internal.template.DefaultTemplateManager.render(DefaultTemplateManager.java:65)
||at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1876) ||at
com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:180) ||at
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:431) ||at
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:184) ||at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
||at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
||at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
||at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
||at javax.servlet.http.HttpServlet.service(HttpServlet.java:622) ||at
javax.servlet.http.HttpServlet.service(HttpServlet.java:729) ||at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291||)
||at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
||at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115) ||at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239||)
||at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
||at
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
||at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239||)
||at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
||at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
||at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239||)
||at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
||at
org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java||:63)
||at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239||)
||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:239||)
||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:239||)
||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:239||)
||at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
||at
org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:137)
||at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239||)
||at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
||at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
||at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
||at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
||at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
||at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
||at
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:617)
||at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
||at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)
||at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091)
||at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:668)
||at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1521)
||at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1478)
||at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
||at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
||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 [documentationbss||:XWiki.DocumentTree] ||at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:224)
||at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:198)
||at
org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:124)||||...
176 more ||Caused by:
org.apache.velocity.exception.MethodInvocationException: Invocation of
method 'subList' in||class java.util.ArrayList threw exception
java.lang.IllegalArgumentException: fromIndex(0) > toIndex||(-1) at
48:documentationbss:XWiki.DocumentTree[line 1384, column 48] ||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.ASTMethod.execute(ASTMethod.java:151)
||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.directive.Foreach.render(Foreach.java:420)
||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.directive.Foreach.render(Foreach.java:420)
||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.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.ASTElseIfStatement.render(ASTElseIfStatement.java:92)
||at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
||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.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.SimpleNode.render(SimpleNode.java:342)
||at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluateInternal(DefaultVelocityEngine.java:256||)
||at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:222)
||... 178 more ||Caused by: java.lang.IllegalArgumentException:
fromIndex(0) > toIndex(-1) ||at
java.util.ArrayList.subListRangeCheck(ArrayList.java:1006) ||at
java.util.ArrayList.subList(ArrayList.java:996) ||at
sun.reflect.GeneratedMethodAccessor465.invoke(Unknown Source) ||at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
||at java.lang.reflect.Method.invoke(Method.java:497) ||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)
||... 212 more|
ASOL Email Un cordial saludo,
Iago Lluque
/
*Alínea Software Solutions S.L.*
Travesía del Comercio 3, 2º 36002 Pontevedra España
Tel: +34 986 845 699
Email: info(a)alineasol.com <mailto:info@alineasol.com>
Web:
http://www.alineasol.com
/
El 20/11/2015 a las 9:25, Iago Lluque escribió:
Hi,
I have a panel with a documentTree to display documents but I'm not able
to make finder work properly.
For non-existing pages it returns correctly "No results!", but for
existing ones it works for some and fails for other writing both following
errors in catalina.out:
- Exception in macro #handleDocumentTreeRequest called at
49:template:XWiki.DocumentTree[line 3, column 1]
- Exception in macro #getSuggestions called at
43:template:XWiki.DocumentTree[line 43, column 1]
I'm affraid I can't I find a pattern to give you any clue... But here
some examples:
- Searching "02Audit", at "Doc.03BusinessProcesses.02Audit": working
- Searching "03Reports", at "Doc.03BusinessProcesses.03Reports": NOT
working
- Searching "02Functionalities", at
"Doc.01Specifications.02Functionalities": working
- Searching "01Entities", at "Doc.01Specifications.01Entities": NOT
working
Note that Search functionality (up-right on the page) works fine for all
cases.
FYI, this is my macro in the panel (copy of Navigation panel but with
finder=true):
{{documentTree showTranslations="false" showAttachments="false"
compact="true" openTo="document:$openToDoc" finder="true"
/}}
What might be happening?
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users