Hi all,

I've create two new skins based on albatross and applied them to a 
virtual wiki. Once of them only applies to the home page following a 
method proposed by Guillaume in a previous thread and the other one to 
the rest of the site.

I have no problems while accessing the site as guest or logged with an 
user with administration rights. But any other user didn't use the set 
skin but toucan. There is a error message recorded in the log...

2008-03-22 00:29:54,384 
[http://localvirtualwiki/xwiki/bin/loginsubmit/XWiki/XWikiLogin] 
[http-80-3] ERROR log.SimpleLog4JLogSystem        - Method sendRedirect 
threw exception for reference $response in template /templates/login.vm 
at  [15,38]
org.apache.velocity.exception.MethodInvocationException: Invocation of 
method 'sendRedirect' in  class com.xpn.xwiki.web.XWikiServletResponse 
threw exception java.lang.IllegalStateException @ /templates/login.vm[15,48]
    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.render(ASTReference.java:294)
    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:241)
    at 
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:155)
    at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1415)
    at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:108)
    at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:199)
    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.doPost(ActionServlet.java:432)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    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.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
    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:175)
    at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    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:263)
    at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
    at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
    at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    at java.lang.Thread.run(Thread.java:613)
Caused by: java.lang.IllegalStateException
    at 
org.apache.catalina.connector.ResponseFacade.sendRedirect(ResponseFacade.java:435)
    at 
com.xpn.xwiki.web.XWikiServletResponse.sendRedirect(XWikiServletResponse.java:52)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    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)
    ... 34 more
sh-3.2#


Please, does this make any sense for you? Must I set any particular 
rights on the customized skins? I've tried this without success.

Thank you so much,

Ricardo

-- 
Ricardo Rodríguez
Your EPEC Network ICT Team

_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to