Program: 3366
Project: 3366
Buggy source:
public void addBody(Body body) throws SAXException, WingException, UIException, SQLException, IOException, AuthorizeException {
  Collection collection=submission.getCollection();
  String actionURL=contextPath + "String_Node_Str" + collection.getHandle()+ "String_Node_Str";
  SubmissionConfig subConfig=submissionInfo.getSubmissionConfig();
  Division div=body.addInteractiveDivision("String_Node_Str",actionURL,Division.METHOD_POST,"String_Node_Str");
  div.setHead(T_submission_head);
  addSubmissionProgressList(div);
  List review=div.addList("String_Node_Str",List.TYPE_FORM);
  review.setHead(T_head);
  Set submissionPagesSet=submissionInfo.getProgressBarInfo().keySet();
  String[] submissionPages=(String[])submissionPagesSet.toArray(new String[submissionPagesSet.size()]);
  for (int i=0; i < submissionPages.length; i++) {
    double currentStepAndPage=Double.valueOf(submissionPages[i]).doubleValue();
    if (currentStepAndPage == this.stepAndPage) {
      break;
    }
    SubmissionStepConfig stepConfig=subConfig.getStep(FlowUtils.getStep(currentStepAndPage));
    AbstractStep stepUIClass=loadXMLUIClass(stepConfig.getXMLUIClassName());
    try {
      parameters.setParameter("String_Node_Str",Double.toString(currentStepAndPage));
      stepUIClass.setup(resolver,objectModel,src,parameters);
    }
 catch (    Exception e) {
      throw new UIException("String_Node_Str" + stepConfig.getXMLUIClassName() + "String_Node_Str",e);
    }
    if (stepUIClass instanceof AbstractSubmissionStep) {
      List stepSection=((AbstractSubmissionStep)stepUIClass).addReviewSection(review);
      if (stepSection != null) {
        addJumpButton(stepSection,T_submit_jump,currentStepAndPage);
      }
    }
 else {
      log.warn("String_Node_Str" + stepConfig.getXMLUIClassName() + "String_Node_Str");
    }
  }
  addControlButtons(review);
  div.addHidden("String_Node_Str").setValue(knot.getId());
}

Fixed version (ground truth):
public void addBody(Body body) throws SAXException, WingException, UIException, SQLException, IOException, AuthorizeException {
  Collection collection=submission.getCollection();
  String actionURL=contextPath + "String_Node_Str" + collection.getHandle()+ "String_Node_Str"+ knot.getId()+ "String_Node_Str";
  SubmissionConfig subConfig=submissionInfo.getSubmissionConfig();
  Division div=body.addInteractiveDivision("String_Node_Str",actionURL,Division.METHOD_POST,"String_Node_Str");
  div.setHead(T_submission_head);
  addSubmissionProgressList(div);
  List review=div.addList("String_Node_Str",List.TYPE_FORM);
  review.setHead(T_head);
  Set submissionPagesSet=submissionInfo.getProgressBarInfo().keySet();
  String[] submissionPages=(String[])submissionPagesSet.toArray(new String[submissionPagesSet.size()]);
  for (int i=0; i < submissionPages.length; i++) {
    double currentStepAndPage=Double.valueOf(submissionPages[i]).doubleValue();
    if (currentStepAndPage == this.stepAndPage) {
      break;
    }
    SubmissionStepConfig stepConfig=subConfig.getStep(FlowUtils.getStep(currentStepAndPage));
    AbstractStep stepUIClass=loadXMLUIClass(stepConfig.getXMLUIClassName());
    try {
      parameters.setParameter("String_Node_Str",Double.toString(currentStepAndPage));
      stepUIClass.setup(resolver,objectModel,src,parameters);
    }
 catch (    Exception e) {
      throw new UIException("String_Node_Str" + stepConfig.getXMLUIClassName() + "String_Node_Str",e);
    }
    if (stepUIClass instanceof AbstractSubmissionStep) {
      List stepSection=((AbstractSubmissionStep)stepUIClass).addReviewSection(review);
      if (stepSection != null) {
        addJumpButton(stepSection,T_submit_jump,currentStepAndPage);
      }
    }
 else {
      log.warn("String_Node_Str" + stepConfig.getXMLUIClassName() + "String_Node_Str");
    }
  }
  addControlButtons(review);
}