I don't understand what just happened. I was minding my own business working on
some portlets, and suddenly after reloading the webapp context and trying to
log in again, I started getting an error message on the main login page. I did
not do any changes to configuration files or anything, the only thing I changed
(aside from my portlet) prior to restarting the context, was that I removed
some roles from a user (not admin, anon or turbine). The error I get in the
login page is:

        org.apache.jetspeed.om.profile.ProfileException:
java.lang.NullPointerException

Part of the stacktrace is:
          org.apache.jetspeed.om.profile.ProfileException:
java.lang.NullPointerException
        at
org.apache.jetspeed.services.profiler.JetspeedProfilerService.fallbackProfile(JetspeedProfilerService.java:502)
        at
org.apache.jetspeed.services.profiler.JetspeedProfilerService.getProfile(JetspeedProfilerService.java:245)
        at
org.apache.jetspeed.services.profiler.JetspeedProfilerService.getProfile(JetspeedProfilerService.java:528)
        at org.apache.jetspeed.services.Profiler.getProfile(Profiler.java:87)
        at
org.apache.jetspeed.modules.actions.JetspeedAccessController.doPerform(JetspeedAccessController.java:74)
        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 javax.servlet.http.HttpServlet.service(HttpServlet.java:689)


I also checked jetspeedservices.log and this is what comes out:

2004-11-19 11:55:15,493 [http-80-Processor25] ERROR JetspeedProfilerService -
Exception in fallbackProfile
java.lang.NullPointerException
        at
org.apache.jetspeed.services.profiler.JetspeedProfilerService.fallbackProfile(JetspeedProfilerService.java:466)
        at
org.apache.jetspeed.services.profiler.JetspeedProfilerService.getProfile(JetspeedProfilerService.java:245)
        at
org.apache.jetspeed.services.profiler.JetspeedProfilerService.getProfile(JetspeedProfilerService.java:528)
        at org.apache.jetspeed.services.Profiler.getProfile(Profiler.java:87)
        at
org.apache.jetspeed.modules.actions.JetspeedAccessController.doPerform(JetspeedAccessController.java:74)
        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.turbine.Turbine.doPost(Turbine.java:658)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
        at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
        at 
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
        at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
        at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
        at 
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
        at java.lang.Thread.run(Thread.java:534)
2004-11-19 11:55:15,844 [http-80-Processor25] WARN  CastorPsmlManagerService -
PSMLManager: C:\Program Files\Apache Software Foundation\Tomcat
5.0\webapps\sam2\WEB-INF\psml\user\anon\html\en\US\default.psml not found,
returning null document
2004-11-19 11:55:44,255 [http-80-Processor24] ERROR JetspeedProfilerService -
Exception in fallbackProfile
java.lang.NullPointerException


Then the error repeats itself one more time.

Now I can't log in with any user, I always get the error and I don't know where
to look! I have already dropped the turbine tables and repopulated them but
this didn't work. I also tried creating the /anon/html/en/US/default.psml but
again it didn't work... Only thing is that the file not found exception didn't
appear, only the second time around error.

Any ideas of what could have happened or how to fix it?

Thanks a bunch
Ruy




                
__________________________________ 
Do you Yahoo!? 
The all-new My Yahoo! - Get yours free! 
http://my.yahoo.com 
 


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

Reply via email to