DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=41436>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=41436 [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Getting user sometimes |Null configuration and |returns null |publication permission | |problems ------- Additional Comments From [EMAIL PROTECTED] 2007-02-01 09:33 ------- I have found part of the issue, at least the reason why it doesn't happen all of the time. The simplification of the belongsTo code did help. Check out org.apache.lenya.ac.file.FileAccreditableManager.getId(FileAccreditableManager.java:197) That Assert is failing some of the time. When it fails, everything works for me. When it doesn't fail, I am having my trouble. this.configurationDirectory is only not null when getConfigurationDirectory has been ran successfully at least once. Since this isn't called from the constructor, there are no guarantees. Here's the stack trace: java.lang.RuntimeException: The parameter [configuration directory] must not be null! at org.apache.lenya.util.Assert.notNull(Assert.java:32) at org.apache.lenya.ac.file.FileAccreditableManager.getId(FileAccreditableManager.java:197) at org.apache.lenya.ac.Identity.belongsTo(Identity.java:150) at org.apache.lenya.ac.impl.DefaultAccessController.ownsIdenity(DefaultAccessController.java:372) at org.apache.lenya.ac.impl.DefaultAccessController.hasValidIdentity(DefaultAccessController.java:421) at org.apache.lenya.ac.impl.DefaultAccessController.setupIdentity(DefaultAccessController.java:380) at org.apache.lenya.cms.cocoon.acting.AccessControlAction.act(AccessControlAction.java:86) at org.apache.lenya.cms.cocoon.acting.DelegatingAuthorizerAction.act(DelegatingAuthorizerAction.java:51) at org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTypeNode.java:125) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47) at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:253) at org.apache.cocoon.Cocoon.process(Cocoon.java:699) at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1154) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:427) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:475) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567) at org.mortbay.http.HttpContext.handle(HttpContext.java:1565) at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:635) at org.mortbay.http.HttpContext.handle(HttpContext.java:1517) at org.mortbay.jetty.plus.PlusWebAppContext.handle(PlusWebAppContext.java:158) at org.mortbay.http.HttpServer.service(HttpServer.java:954) at org.mortbay.http.HttpConnection.service(HttpConnection.java:814) at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:981) at org.mortbay.http.HttpConnection.handle(HttpConnection.java:831) at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244) at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357) at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534) I believe that when it isn't null, it is for the default publication. Since I'm not logged into the default publication, this is where the error is. I am unsure as to what is requesting permission to the default publication. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
