Program: 189160
Project: 189160
Buggy source:
private Form<Milestone> getInlineForm(){
  quickMilestone=createMilestone(group);
  CompoundPropertyModel<Milestone> formPropertyModel=new CompoundPropertyModel<Milestone>(quickMilestone);
  Form<Milestone> inlineForm=new Form<Milestone>("String_Node_Str",formPropertyModel){
    @Override protected void onSubmit(){
      MilestonesDAO dao=new MilestonesDAO();
      boolean alreadyExists=dao.find(quickMilestone.getName(),quickMilestone.getProject()) != null;
      if (alreadyExists) {
        warn("String_Node_Str");
        return;
      }
      quickMilestone.setUpdated(new Date());
      dao.save(quickMilestone);
      User currentUser=((HeadsUpSession)getSession()).getUser();
      quickMilestone=createMilestone(group);
    }
  }
;
  Component[] rowAddComponents=new Component[7];
  rowAddComponents[0]=new WebMarkupContainer("String_Node_Str");
  rowAddComponents[1]=new TextField<NameProjectId>("String_Node_Str");
  rowAddComponents[2]=new PercentagePanel("String_Node_Str",0);
  rowAddComponents[3]=new Label("String_Node_Str","String_Node_Str");
  rowAddComponents[4]=new Label("String_Node_Str","String_Node_Str");
  rowAddComponents[5]=new Label("String_Node_Str",page.getProject().toString());
  DateTimeWithTimeZoneField due=new DateTimeWithTimeZoneField("String_Node_Str",new Model<Date>(){
    @Override public void setObject(    Date object){
      quickMilestone.setDueDate(object);
    }
    @Override public Date getObject(){
      return quickMilestone.getDueDate();
    }
  }
);
  rowAddComponents[6]=due;
  addAnimatorToForm(rowAddComponents,group);
  inlineForm.add(rowAdd);
  return inlineForm;
}

Fixed version (ground truth):
private Form<Milestone> getInlineForm(){
  quickMilestone=createMilestone(group);
  CompoundPropertyModel<Milestone> formPropertyModel=new CompoundPropertyModel<Milestone>(quickMilestone);
  Form<Milestone> inlineForm=new Form<Milestone>("String_Node_Str",formPropertyModel){
    @Override protected void onSubmit(){
      MilestonesDAO dao=new MilestonesDAO();
      boolean alreadyExists=dao.find(quickMilestone.getName(),quickMilestone.getProject()) != null;
      if (alreadyExists) {
        warn("String_Node_Str");
        return;
      }
      quickMilestone.setUpdated(new Date());
      dao.save(quickMilestone);
      saveMilestone(quickMilestone);
      User currentUser=((HeadsUpSession)getSession()).getUser();
      quickMilestone=createMilestone(group);
    }
  }
;
  Component[] rowAddComponents=new Component[7];
  rowAddComponents[0]=new WebMarkupContainer("String_Node_Str");
  rowAddComponents[1]=new TextField<NameProjectId>("String_Node_Str");
  rowAddComponents[2]=new PercentagePanel("String_Node_Str",0);
  rowAddComponents[3]=new Label("String_Node_Str","String_Node_Str");
  rowAddComponents[4]=new Label("String_Node_Str","String_Node_Str");
  rowAddComponents[5]=new Label("String_Node_Str",page.getProject().toString());
  DateTimeWithTimeZoneField due=new DateTimeWithTimeZoneField("String_Node_Str",new Model<Date>(){
    @Override public void setObject(    Date object){
      quickMilestone.setDueDate(object);
    }
    @Override public Date getObject(){
      return quickMilestone.getDueDate();
    }
  }
);
  rowAddComponents[6]=due;
  addAnimatorToForm(rowAddComponents,group);
  inlineForm.add(rowAdd);
  return inlineForm;
}