Program: 69336
Project: 69336
Buggy source:
/** 
 * Constructor for a manual scoring course edit controller
 * @param ureq The user request
 * @param msNode The manual scoring course node
 * @param course
 */
public MSCourseNodeEditController(UserRequest ureq,WindowControl wControl,MSCourseNode msNode,ICourse course,UserCourseEnvironment euce){
  super(ureq,wControl);
  setTranslator(Util.createPackageTranslator(HighScoreEditController.class,getLocale(),getTranslator()));
  this.msNode=msNode;
  configurationVC=createVelocityContainer("String_Node_Str");
  editScoringConfigButton=LinkFactory.createButtonSmall("String_Node_Str",configurationVC,this);
  UserNodeAuditManager auditManager=course.getCourseEnvironment().getAuditManager();
  CourseEditorTreeModel editorModel=course.getEditorTreeModel();
  Condition accessCondition=msNode.getPreConditionAccess();
  accessibilityCondContr=new ConditionEditController(ureq,getWindowControl(),euce,accessCondition,AssessmentHelper.getAssessableNodes(editorModel,msNode));
  this.listenTo(accessibilityCondContr);
  modConfigController=new MSEditFormController(ureq,wControl,msNode.getModuleConfiguration());
  listenTo(modConfigController);
  configurationVC.put("String_Node_Str",modConfigController.getInitialComponent());
  highScoreNodeConfigController=new HighScoreEditController(ureq,wControl,msNode);
  listenTo(highScoreNodeConfigController);
  hasLogEntries=auditManager.hasUserNodeLogs(msNode);
  configurationVC.contextPut("String_Node_Str",new Boolean(hasLogEntries));
  if (hasLogEntries) {
    modConfigController.setDisplayOnly(true);
  }
}

Fixed version (ground truth):
/** 
 * Constructor for a manual scoring course edit controller
 * @param ureq The user request
 * @param msNode The manual scoring course node
 * @param course
 */
public MSCourseNodeEditController(UserRequest ureq,WindowControl wControl,MSCourseNode msNode,ICourse course,UserCourseEnvironment euce){
  super(ureq,wControl);
  setTranslator(Util.createPackageTranslator(HighScoreEditController.class,getLocale(),getTranslator()));
  this.msNode=msNode;
  configurationVC=createVelocityContainer("String_Node_Str");
  editScoringConfigButton=LinkFactory.createButtonSmall("String_Node_Str",configurationVC,this);
  UserNodeAuditManager auditManager=course.getCourseEnvironment().getAuditManager();
  CourseEditorTreeModel editorModel=course.getEditorTreeModel();
  Condition accessCondition=msNode.getPreConditionAccess();
  accessibilityCondContr=new ConditionEditController(ureq,getWindowControl(),euce,accessCondition,AssessmentHelper.getAssessableNodes(editorModel,msNode));
  this.listenTo(accessibilityCondContr);
  modConfigController=new MSEditFormController(ureq,wControl,msNode.getModuleConfiguration());
  listenTo(modConfigController);
  configurationVC.put("String_Node_Str",modConfigController.getInitialComponent());
  highScoreNodeConfigController=new HighScoreEditController(ureq,wControl,msNode.getModuleConfiguration());
  listenTo(highScoreNodeConfigController);
  hasLogEntries=auditManager.hasUserNodeLogs(msNode);
  configurationVC.contextPut("String_Node_Str",new Boolean(hasLogEntries));
  if (hasLogEntries) {
    modConfigController.setDisplayOnly(true);
  }
}