Hi everyone,
After upgrading
xwiki.org from XWiki 1.1b3 to 1.1RC1, I tryed to run
the FixRCS script.
I got an error "while parsing velocity page Wrapped Exception: Invocation of method
'getRenderedContent' in class com.xpn.xwiki.api.Document threw exception
java.lang.StackOverflowError @ [7,7]"
Here is the stack trace :
Error number 4001 in 4: Error while parsing velocity page
Wrapped Exception: Invocation of method 'getRenderedContent' in class
com.xpn.xwiki.api.Document threw exception java.lang.StackOverflowError @ <unknown
template>[7,7]
com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing velocity page
Wrapped Exception: Invocation of method 'getRenderedContent' in class
com.xpn.xwiki.api.Document threw exception java.lang.StackOverflowError @ <unknown
template>[7,7]
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:148)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1240)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1201)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:511)
at sun.reflect.GeneratedMethodAccessor65.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:194)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:88)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:107)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:240)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:143)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1240)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1201)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:94)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:157)
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:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Wrapped Exception:
java.lang.StackOverflowError
at java.util.regex.Pattern.atom(Pattern.java:1863)
at java.util.regex.Pattern.sequence(Pattern.java:1743)
at java.util.regex.Pattern.expr(Pattern.java:1687)
at java.util.regex.Pattern.compile(Pattern.java:1397)
at java.util.regex.Pattern.<init>(Pattern.java:1124)
at java.util.regex.Pattern.compile(Pattern.java:817)
at java.lang.String.replaceAll(String.java:2000)
at org.codehaus.groovy.runtime.Invoker.format(Invoker.java:699)
at org.codehaus.groovy.runtime.Invoker.format(Invoker.java:673)
at org.codehaus.groovy.runtime.Invoker.format(Invoker.java:675)
at org.codehaus.groovy.runtime.Invoker.format(Invoker.java:675)
at org.codehaus.groovy.runtime.Invoker.format(Invoker.java:675)
at org.codehaus.groovy.runtime.Invoker.format(Invoker.java:675)
at org.codehaus.groovy.runtime.Invoker.format(Invoker.java:675)
at org.codehaus.groovy.runtime.Invoker.format(Invoker.java:675)
at org.codehaus.groovy.runtime.Invoker.format(Invoker.java:675)
at org.codehaus.groovy.runtime.Invoker.format(Invoker.java:675)
at org.codehaus.groovy.runtime.Invoker.format(Invoker.java:675)
at org.codehaus.groovy.runtime.Invoker.format(Invoker.java:675)
at org.codehaus.groovy.runtime.Invoker.format(Invoker.java:675)
at org.codehaus.groovy.runtime.Invoker.format(Invoker.java:675)
at org.codehaus.groovy.runtime.Invoker.format(Invoker.java:675)
[...] last line x 1000
It seems like a recursion problem.
--
Raffaello Pelagalli
XPertNet -
XWiki.com
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs