Index: lams_tool_spreadsheet/src/java/org/lamsfoundation/lams/tool/spreadsheet/web/action/LearningAction.java =================================================================== RCS file: /usr/local/cvsroot/lams_tool_spreadsheet/src/java/org/lamsfoundation/lams/tool/spreadsheet/web/action/LearningAction.java,v diff -u -r1.7 -r1.7.2.1 --- lams_tool_spreadsheet/src/java/org/lamsfoundation/lams/tool/spreadsheet/web/action/LearningAction.java 17 Jan 2014 22:12:25 -0000 1.7 +++ lams_tool_spreadsheet/src/java/org/lamsfoundation/lams/tool/spreadsheet/web/action/LearningAction.java 23 Nov 2015 00:29:46 -0000 1.7.2.1 @@ -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) {