In a recent post, someone pointed out the classes that are needed to implement to change the authentication process in Jetspeed. What i want to do is to use hibernate to access the authentication tables so I implemented all the interfaces in org.apache.jetspeed.services.security to make hibernate when it needs to get users information. But....


When I start up Tomcat I get a null pointer exception like this:

java.lang.NullPointerException
at org.apache.jetspeed.services.profiler.JetspeedProfilerService.fallbackProfile(JetspeedProfilerService.java:508)
at org.apache.jetspeed.services.profiler.JetspeedProfilerService.getProfile(JetspeedProfilerService.java:292)
at org.apache.jetspeed.services.profiler.JetspeedProfilerService.getProfile(JetspeedProfilerService.java:570)
at org.apache.jetspeed.services.Profiler.getProfile(Profiler.java:125)
at org.apache.jetspeed.modules.actions.JetspeedAccessController.doPerform(JetspeedAccessController.java:112)
at org.apache.turbine.modules.Action.perform(Action.java:87)
at org.apache.turbine.modules.ActionLoader.exec(ActionLoader.java:122)
at org.apache.turbine.Turbine.doGet(Turbine.java:529)
..............
..............
..............
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:700)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:536)


Looking at the lines in the code specified in the stack trace, I can see it is a problem with the anonymous user, but i can't figure out how to solve this... What am I doing wrong?

Any idea?



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to