Hello,
I have XWiki turning on a Tomcat server and I was surprised about de 500ko stdout log
file. I have seen that there is an error that keeps repeating in this log file:
[ERROR] Method checkAccess threw exception for reference $xwiki in template
/templates/menuview.vm at [128,61]
org.xwiki.velocity.XWikiVelocityException: Failed to evaluate content with id
[/templates/menuview.vm]
at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:187)
at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1612)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:655)
at sun.reflect.GeneratedMethodAccessor140.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
...
Caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method
'checkAccess' in class com.xpn.xwiki.api.XWiki threw exception
java.lang.IllegalStateException @ /templates/menuview.vm[128,68]
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:286)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
at org.apache.velocity.runtime.parser.node.ASTReference.evaluate(ASTReference.java:396)
at org.apache.velocity.runtime.parser.node.ASTAndNode.evaluate(ASTAndNode.java:111)
at org.apache.velocity.runtime.parser.node.ASTAndNode.evaluate(ASTAndNode.java:109)
at org.apache.velocity.runtime.parser.node.ASTAndNode.value(ASTAndNode.java:74)
...
Caused by: java.lang.IllegalStateException
at org.apache.catalina.connector.ResponseFacade.sendRedirect(ResponseFacade.java:432)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.showLogin(MyFormAuthenticator.java:81)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.showLogin(MyFormAuthenticator.java:62)
at
com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.showLogin(XWikiAuthServiceImpl.java:333)
at
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkAccess(XWikiRightServiceImpl.java:179)
at com.xpn.xwiki.XWiki.checkAccess(XWiki.java:3596)
at com.xpn.xwiki.api.XWiki.checkAccess(XWiki.java:189)
at sun.reflect.GeneratedMethodAccessor228.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.invoke(UberspectImpl.java:295)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
... 85 more
Any idea what's causing this error?
Best regards,
Cristi.
--
View this message in context:
http://n2.nabble.com/Recurrent-exception-in-Tomcat%27s-log-file-tp2525840p2…
Sent from the XWiki- Users mailing list archive at
Nabble.com.