Program: 35512
Project: 35512
Buggy source:
public static ProjectJS toJavaScript(ProjectDTO projectDTO){
  final ProjectJS projectJS=Values.createJavaScriptObject(ProjectJS.class);
  projectJS.setId(projectDTO.getId());
  projectJS.setName(projectDTO.getName());
  projectJS.setFullName(projectDTO.getFullName());
  projectJS.setStartDate(Values.toJsDate(projectDTO.getStartDate()));
  projectJS.setEndDate(Values.toJsDate(projectDTO.getEndDate()));
  projectJS.setCloseDate(Values.toJsDate(projectDTO.getCloseDate()));
  projectJS.setActivityAdvancement(projectDTO.getActivityAdvancement());
  projectJS.setCalendarId(projectDTO.getCalendarId());
  projectJS.setAmendmentState(projectDTO.getAmendmentState());
  projectJS.setAmendmentVersion(projectDTO.getAmendmentVersion());
  projectJS.setAmendmentRevision(projectDTO.getAmendmentRevision());
  projectJS.setAmendments(projectDTO.getAmendments());
  projectJS.setOwner(projectDTO.getOwner());
  projectJS.setFavoriteUsers(projectDTO.getFavoriteUsers());
  projectJS.setProjectModel(projectDTO.getProjectModel());
  projectJS.setPhases(projectDTO.getPhases());
  projectJS.setValues(projectDTO.getValues());
  projectJS.setCurrentPhase(projectDTO.getCurrentPhase());
  projectJS.setLogFrame(projectDTO.getLogFrame());
  projectJS.setFunding(projectDTO.getFunding());
  projectJS.setFunded(projectDTO.getFunded());
  projectJS.setCountry(projectDTO.getCountry());
  projectJS.setManager(projectDTO.getManager());
  projectJS.setPointsList(projectDTO.getPointsList());
  projectJS.setRemindersList(projectDTO.getRemindersList());
  projectJS.setPlannedBudget(projectDTO.getPlannedBudget());
  projectJS.setSpendBudget(projectDTO.getSpendBudget());
  projectJS.setReceivedBudget(projectDTO.getReceivedBudget());
  projectJS.setCurrentAmendment(projectDTO.getCurrentAmendment());
  projectJS.setOrgUnit(projectDTO.getOrgUnitId());
  return projectJS;
}

Fixed version (ground truth):
public static ProjectJS toJavaScript(ProjectDTO projectDTO){
  final ProjectJS projectJS=Values.createJavaScriptObject(ProjectJS.class);
  projectJS.setId(projectDTO.getId());
  projectJS.setName(projectDTO.getName());
  projectJS.setFullName(projectDTO.getFullName());
  projectJS.setStartDate(Values.toJsDate(projectDTO.getStartDate()));
  projectJS.setEndDate(Values.toJsDate(projectDTO.getEndDate()));
  projectJS.setCloseDate(Values.toJsDate(projectDTO.getCloseDate()));
  projectJS.setActivityAdvancement(projectDTO.getActivityAdvancement());
  projectJS.setCalendarId(projectDTO.getCalendarId());
  projectJS.setAmendmentState(projectDTO.getAmendmentState());
  projectJS.setAmendmentVersion(projectDTO.getAmendmentVersion());
  projectJS.setAmendmentRevision(projectDTO.getAmendmentRevision());
  projectJS.setAmendments(projectDTO.getAmendments());
  projectJS.setOwner(projectDTO.getOwner());
  projectJS.setFavoriteUsers(projectDTO.getFavoriteUsers());
  projectJS.setProjectModel(projectDTO.getProjectModel());
  projectJS.setPhases(projectDTO.getPhases());
  projectJS.setValues(projectDTO.getValues());
  projectJS.setCurrentPhase(projectDTO.getCurrentPhase());
  projectJS.setLogFrame(projectDTO.getLogFrame());
  projectJS.setFunding(projectDTO.getFunding());
  projectJS.setFunded(projectDTO.getFunded());
  projectJS.setProjectFundings(projectDTO.getFunded(),projectDTO.getFunding());
  projectJS.setCountry(projectDTO.getCountry());
  projectJS.setManager(projectDTO.getManager());
  projectJS.setPointsList(projectDTO.getPointsList());
  projectJS.setRemindersList(projectDTO.getRemindersList());
  projectJS.setPlannedBudget(projectDTO.getPlannedBudget());
  projectJS.setSpendBudget(projectDTO.getSpendBudget());
  projectJS.setReceivedBudget(projectDTO.getReceivedBudget());
  projectJS.setCurrentAmendment(projectDTO.getCurrentAmendment());
  projectJS.setOrgUnit(projectDTO.getOrgUnitId());
  return projectJS;
}