Hi,

I know that a new version of the ACL stuff is due any day now - but should the current 
stuff in CVS work now?

I have just downloaded the latest code (yesterday actually) and get this error in the 
core code;

java.lang.NullPointerException
        at org.apache.turbine.om.peer.BasePeer.createQueryString(BasePeer.java:899)
        at org.apache.turbine.om.peer.BasePeer.doSelect(BasePeer.java:1012)
        at org.apache.turbine.om.security.peer.RolePeer.doSelect(RolePeer.java:163)
        at org.apache.turbine.om.security.peer.RolePeer.retrieveSet(RolePeer.java:122)
        at 
org.apache.turbine.om.security.DefaultAccessControl.build(DefaultAccessControl.java:168)
        at 
org.apache.turbine.om.security.DefaultAccessControl.getRoles(DefaultAccessControl.java:137)
        at 
org.apache.turbine.util.security.AccessControlList.(AccessControlList.java:115)
        at 
org.apache.turbine.modules.actions.AccessController.doPerform(AccessController.java:124)
        at org.apache.turbine.modules.Action.perform(Action.java:91)
        at org.apache.turbine.modules.ActionLoader.exec(ActionLoader.java:121)
        at org.apache.turbine.Turbine.doGet(Turbine.java:350)
        at org.apache.turbine.Turbine.doPost(Turbine.java:453)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:521)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
        at org.apache.jserv.JServConnection.processRequest(JServConnection.java:314)
        at org.apache.jserv.JServConnection.run(JServConnection.java:188)
        at java.lang.Thread.run(Thread.java:479)


I seem to remember getting this a few weeks ago - but then I didn't need to use the 
ACL stuff - so I wrote a dummy/do-nothing implementation.  But now I need to use it...

So - is it just broken - or am I using it incorrectly?

I have the roles/permissions tables created and populated.

I think this maybe to do with the fact that I have a custom TurbineMapBuilder that 
extends the existing one - cos it adds its own tables - I just re-do the doBuild 
method from scratch.  Is this the correct way to go?

Thanks,
Chris
---
"surely it is madness to accept life as it is and not as it could be"
______________________________________________
FREE Personalized Email at Mail.com
Sign up at http://www.mail.com/?sr=signup


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to