I posted this error to the bug tracker. I would be glad to try and post
a patch, but I don't understand the system well enough yet.
Here is the error when I try to go to the MyProfile servlet with an
expired session:
java.lang.NullPointerException
at edu.stanford.coursework.common.SessionController.update(SessionController.java:99)
at MyProfile.doPost(MyProfile.java:100)
at MyProfile.doGet(MyProfile.java:49)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
I thought BaseServlet handled all issues with expired sessions, but I
guess not..... Do I just need to add some session error checking in
MyProfile? Or in SessionController?
Thanks,
Sam
|