Index: lams_tool_laqa/src/java/org/lamsfoundation/lams/tool/qa/web/QaLearningStarterAction.java =================================================================== diff -u -r1a02559e19419af9991eaeb9363f809355b39bc7 -r0d77d361b9de3231610850be31c7f3aab60d675b --- lams_tool_laqa/src/java/org/lamsfoundation/lams/tool/qa/web/QaLearningStarterAction.java (.../QaLearningStarterAction.java) (revision 1a02559e19419af9991eaeb9363f809355b39bc7) +++ lams_tool_laqa/src/java/org/lamsfoundation/lams/tool/qa/web/QaLearningStarterAction.java (.../QaLearningStarterAction.java) (revision 0d77d361b9de3231610850be31c7f3aab60d675b) @@ -159,7 +159,8 @@ Map mapQuestions = new TreeMap(); String httpSessionID = qaLearningForm.getHttpSessionID(); - SessionMap sessionMap = (SessionMap) request.getSession().getAttribute(httpSessionID); + SessionMap sessionMap = httpSessionID == null ? null : (SessionMap) request + .getSession().getAttribute(httpSessionID); if (sessionMap == null) { sessionMap = new SessionMap(); Map mapSequentialAnswers = new HashMap();