Program: 62847
Project: 62847
Buggy source:
@Override public String getQuestionSpecificEditFormHtml(int questionNumber){
  StringBuilder optionListHtml=new StringBuilder();
  String optionFragmentTemplate=FeedbackQuestionFormTemplates.CONSTSUM_EDIT_FORM_OPTIONFRAGMENT;
  for (int i=0; i < numOfConstSumOptions; i++) {
    String optionFragment=FeedbackQuestionFormTemplates.populateTemplate(optionFragmentTemplate,"String_Node_Str",Integer.toString(i),"String_Node_Str",constSumOptions.get(i),"String_Node_Str",Const.ParamsNames.FEEDBACK_QUESTION_CONSTSUMOPTION);
    optionListHtml.append(optionFragment + Const.EOL);
  }
  String html=FeedbackQuestionFormTemplates.populateTemplate(FeedbackQuestionFormTemplates.CONSTSUM_EDIT_FORM,"String_Node_Str",optionListHtml.toString(),"String_Node_Str",Integer.toString(questionNumber),"String_Node_Str",Const.ParamsNames.FEEDBACK_QUESTION_NUMBEROFCHOICECREATED,"String_Node_Str",Integer.toString(numOfConstSumOptions),"String_Node_Str",(distributeToRecipients == true) ? "String_Node_Str" : "String_Node_Str","String_Node_Str",(pointsPerOption == true) ? "String_Node_Str" : "String_Node_Str","String_Node_Str",(distributeToRecipients == true) ? "String_Node_Str" : "String_Node_Str","String_Node_Str",(points == 0) ? "String_Node_Str" : new Integer(points).toString(),"String_Node_Str",(forceUnevenDistribution) ? "String_Node_Str" : "String_Node_Str","String_Node_Str",Const.ParamsNames.FEEDBACK_QUESTION_CONSTSUMTORECIPIENTS,"String_Node_Str",Const.ParamsNames.FEEDBACK_QUESTION_CONSTSUMPOINTSPEROPTION,"String_Node_Str",Const.ParamsNames.FEEDBACK_QUESTION_CONSTSUMPOINTS,"String_Node_Str",Const.ParamsNames.FEEDBACK_QUESTION_CONSTSUMDISTRIBUTEUNEVENLY);
  return html;
}

Fixed version (ground truth):
@Override public String getQuestionSpecificEditFormHtml(int questionNumber){
  StringBuilder optionListHtml=new StringBuilder();
  String optionFragmentTemplate=FeedbackQuestionFormTemplates.CONSTSUM_EDIT_FORM_OPTIONFRAGMENT;
  for (int i=0; i < numOfConstSumOptions; i++) {
    String optionFragment=FeedbackQuestionFormTemplates.populateTemplate(optionFragmentTemplate,"String_Node_Str",Integer.toString(i),"String_Node_Str",constSumOptions.get(i),"String_Node_Str",Const.ParamsNames.FEEDBACK_QUESTION_CONSTSUMOPTION);
    optionListHtml.append(optionFragment + Const.EOL);
  }
  String html=FeedbackQuestionFormTemplates.populateTemplate(FeedbackQuestionFormTemplates.CONSTSUM_EDIT_FORM,"String_Node_Str",optionListHtml.toString(),"String_Node_Str",Integer.toString(questionNumber),"String_Node_Str",Const.ParamsNames.FEEDBACK_QUESTION_NUMBEROFCHOICECREATED,"String_Node_Str",Integer.toString(numOfConstSumOptions),"String_Node_Str",(distributeToRecipients == true) ? "String_Node_Str" : "String_Node_Str","String_Node_Str",(pointsPerOption == true) ? "String_Node_Str" : "String_Node_Str","String_Node_Str",(distributeToRecipients == true) ? "String_Node_Str" : "String_Node_Str","String_Node_Str",(points == 0) ? "String_Node_Str" : new Integer(points).toString(),"String_Node_Str",(distributeToRecipients) ? "String_Node_Str" : "String_Node_Str","String_Node_Str",(forceUnevenDistribution) ? "String_Node_Str" : "String_Node_Str","String_Node_Str",Const.ParamsNames.FEEDBACK_QUESTION_CONSTSUMTORECIPIENTS,"String_Node_Str",Const.ParamsNames.FEEDBACK_QUESTION_CONSTSUMPOINTSPEROPTION,"String_Node_Str",Const.ParamsNames.FEEDBACK_QUESTION_CONSTSUMPOINTS,"String_Node_Str",Const.ParamsNames.FEEDBACK_QUESTION_CONSTSUMDISTRIBUTEUNEVENLY);
  return html;
}