I had just mentioned this one to Dave yesterday, but the strange thing is that it doesn't happen all of the time, only intermittently.

I agree, we should be able to get rid of login-redirect.jsp now that we have Acegi. I say go for it.

-- Allen


Anil Gangolli wrote:


login-redirect.jsp is calling

UserData user = rollerSession.getAuthenticatedUser();

which is returning null and it's passing it along. It looks like it's expecting authentication to have taken place at that point, but it didn't.

Should we be eliminating login-redirect.jsp here, and have the explicit Login link directly to login.jsp? Is login-redirect outmoded now with Acegi?

Anil Gangolli wrote:


The latest trunk build is giving me a Null Pointer Exception when clicking the Login link (which leads to login-redirect.jsp). I'm starting to look at this, but if anyone knows what's going on already, let me know.
--a


           java.lang.NullPointerException
at org.roller.pojos.WebsiteData.hasUserPermissions(WebsiteData.java:1002) at org.apache.jsp.login_002dredirect_jsp._jspService(org.apache.jsp.login_002dredirect_jsp:76)
   at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:99)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:325) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
...



Reply via email to