This week's book giveaways are in the iOS and Features new in Java 8 forums. We're giving away four copies each of Barcodes with iOS: Bringing together the digital and physical worlds and Core Java for the Impatient and have the authors on-line! See this thread and this one for details.
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.