I once had the same error messages, and it was because I was using just
the turbine DB connection pool, and I hadn't set the properties file...

Those exceptions get thrown when static code in a class throws an
exception.  In my case it was some static {... } code in the DBFactory
class, which had an uncaught exceptionwhen the TurbineResources was not
initialized with a filename.  In your case it's probably that one of the
methods called in that class VisitorRolePeer in the top couple of lines 

static blahblah = SomeClass.someStaticMethod(blah, blah);

is throwing an exception.

        -Nissim


Bernie Hoeneisen wrote:
> 
> Thanks, but this cannot be the problem; the file
> TurbineResources.properties exists, has read permission for
> everyone (-rw-r--r--). Furthermore in zone.properties there is a line:
> servlet.Turbine.initArgs=properties=/home/faq/proj/turbine/conf/TurbineResources
> .properties
> (where the file is located).
> Before the exception is thrown some information is read out of
> TurbineResources.properties and used witout any problem.
> 
> Any other hints?
> 
> It seems that this problem has to do with the recent changes in the
> Turbine Visitor/Role/Permission-Peers area.
> 
> Any help is appreciated.
> 
> T: Bernie
> 
> On Tue, 25 Apr 2000, Nissim wrote:
> 
> > I think you get this when turbine doesn't know where the
> > TurbineResources.properties file is, or can't open it.  Make sure you
> > set it in the init parameters, and the file exists and is readable.
> >
> >       -Nissim
> >
> > Bernie Hoeneisen wrote:
> > >
> > > Hi,
> > >
> > > Can anyone give me a hint, what there could be wrong?
> > > I haven't been around for some time; did I miss something?
> > >
> > >  T: Bernie
> > >
> > > * While logging in (Jyve), I get:
> > >
> > > Exception: java.lang.ExceptionInInitializerError: java.lang.NullPointerException
> > >         at <Unloaded Method>
> > >         at org.apache.turbine.om.security.DefaultAccessControl.build(Compiled 
>Code)
> > >         at 
>org.apache.turbine.om.security.DefaultAccessControl.getRoles(DefaultAccessControl.java:119)
> > >         at 
>org.apache.turbine.om.security.AccessControlList.<init>(AccessControlList.java:94)
> > >         at 
>org.apache.turbine.modules.actions.AccessController.doPerform(AccessController.java:109)
> > >         at org.apache.turbine.modules.Action.perform(Compiled Code)
> > >         at org.apache.turbine.modules.ActionLoader.exec(Compiled Code)
> > >         at Turbine.doGet(Compiled Code)
> > >         at Turbine.doPost(Turbine.java:366)
> > >         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)
> > >
> > > * If I go back (with Browser) and try again, I get:
> > >
> > > Exception: java.lang.NoClassDefFoundError: 
>org/apache/turbine/om/user/peer/VisitorRolePeer
> > >         at org.apache.turbine.om.security.DefaultAccessControl.build(Compiled 
>Code)
> > >         at 
>org.apache.turbine.om.security.DefaultAccessControl.getRoles(DefaultAccessControl.java:119)
> > >         at 
>org.apache.turbine.om.security.AccessControlList.<init>(AccessControlList.java:94)
> > >         at 
>org.apache.turbine.modules.actions.AccessController.doPerform(AccessController.java:109)
> > >         at org.apache.turbine.modules.Action.perform(Compiled Code)
> > >         at org.apache.turbine.modules.ActionLoader.exec(Compiled Code)
> > >         at Turbine.doGet(Compiled Code)
> > >         at Turbine.doPost(Turbine.java:366)
> > >         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(Compiled Code)
> > >         at java.lang.Thread.run(Compiled Code)
> > >
> > > ------------------------------------------------------------
> > > To subscribe:        [EMAIL PROTECTED]
> > > To unsubscribe:      [EMAIL PROTECTED]
> > > Problems?:           [EMAIL PROTECTED]
> >
> >
> > ------------------------------------------------------------
> > To subscribe:        [EMAIL PROTECTED]
> > To unsubscribe:      [EMAIL PROTECTED]
> > Problems?:           [EMAIL PROTECTED]
> >
> 
> ------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Problems?:           [EMAIL PROTECTED]


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to