UserAcctBean user = (UserAcctBean) session.getAttribute("currentuser"); String loginID = user.getLoginID();
Just a wild guess, but maybe currentuser attribute is not set yet,because the session has just been created. So you are getting a null pointer exception when you call user.getLoginID. You could try putting a try-catch block for NullPointer around that call, and see if this is the reason.
No worries mate. As they say, two pairs of eyes are always better than one when hunting for bugs. I was wondering though, whether it is a part of the specification that if an exception is thrown in one of these methods, the container must catch it and just continue.