Index: lams_tool_spreadsheet/src/java/org/lamsfoundation/lams/tool/spreadsheet/web/action/LearningAction.java =================================================================== diff -u -rbe07c35c372d904a65581d98660e73f3b13b69db -r7ee376e53b6c9cf85a36812ba15048b83794aa56 --- lams_tool_spreadsheet/src/java/org/lamsfoundation/lams/tool/spreadsheet/web/action/LearningAction.java (.../LearningAction.java) (revision be07c35c372d904a65581d98660e73f3b13b69db) +++ lams_tool_spreadsheet/src/java/org/lamsfoundation/lams/tool/spreadsheet/web/action/LearningAction.java (.../LearningAction.java) (revision 7ee376e53b6c9cf85a36812ba15048b83794aa56) @@ -328,8 +328,8 @@ // get the existing reflection entry ISpreadsheetService submitFilesService = getSpreadsheetService(); - SessionMap map = (SessionMap)request.getSession().getAttribute(sessionMapID); - Long toolSessionID = (Long)map.get(AttributeNames.PARAM_TOOL_SESSION_ID); + SessionMap sessionMap = (SessionMap)request.getSession().getAttribute(sessionMapID); + Long toolSessionID = (Long)sessionMap.get(AttributeNames.PARAM_TOOL_SESSION_ID); NotebookEntry entry = submitFilesService.getEntry(toolSessionID, CoreNotebookConstants.NOTEBOOK_TOOL, SpreadsheetConstants.TOOL_SIGNATURE, user.getUserID()); if (entry != null) {