I usually see this type of error when the portal has problems connecting to the database for user information.
Chris -----Original Message----- From: Ruy Diaz Jara [mailto:[EMAIL PROTECTED] Sent: Friday, November 19, 2004 1:05 PM To: [EMAIL PROTECTED] Subject: Fallback PSML gone berserk 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.fallbackPr ofile(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(J etspeedAccessController.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.fallbackPr ofile(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(J etspeedAccessController.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(Applica tionFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt erChain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv e.java:214) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo ntext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5 20) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardCon textValve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv e.java:152) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo ntext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5 20) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java :137) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo ntext.java:104) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java :118) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo ntext.java:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5 20) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve. java:109) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo ntext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5 20) 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:79 9) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC onnection(Http11Protocol.java:705) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:57 7) 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
