Program: 102455
Project: 102455
Buggy source:
public UIEditUserProfileForm() throws Exception {
  if (getId() == null) {
    setId("String_Node_Str");
  }
  UIInputSection aboutSection=new UIInputSection(FIELD_ABOUT_SECTION,"String_Node_Str");
  aboutSection.useGroupControl(false).addUIFormInput(new UIFormTextAreaInput(Profile.ABOUT_ME,Profile.ABOUT_ME,null));
  UIInputSection baseSection=new UIInputSection(FIELD_BASE_SECTION,"String_Node_Str");
  baseSection.addUIFormInput(createUIFormStringInput(Profile.FIRST_NAME,true).addValidator(PersonalNameValidator.class).addValidator(StringLengthValidator.class,1,45));
  baseSection.addUIFormInput(createUIFormStringInput(Profile.LAST_NAME,true).addValidator(PersonalNameValidator.class).addValidator(StringLengthValidator.class,1,45));
  baseSection.addUIFormInput(createUIFormStringInput(Profile.EMAIL,true).addValidator(EmailAddressValidator.class));
  UIChangeAvatarContainer avatarContainer=createUIComponent(UIChangeAvatarContainer.class,null,"String_Node_Str");
  baseSection.addUIFormInput(avatarContainer);
  baseSection.addUIFormInput(createUIFormStringInput(Profile.POSITION,false));
  List<SelectItemOption<String>> options=new ArrayList<SelectItemOption<String>>();
  options.add(new SelectItemOption<String>(getLabel(OPTION_MALE),OPTION_MALE));
  options.add(new SelectItemOption<String>(getLabel(OPTION_FEMALE),OPTION_FEMALE));
  UIFormSelectBox genderSelectBox=new UIFormSelectBox(Profile.GENDER,Profile.GENDER,options);
  genderSelectBox.setLabel(Profile.GENDER);
  baseSection.addUIFormInput(genderSelectBox);
  UIMultiValueSelection phoneSelection=new UIMultiValueSelection(Profile.CONTACT_PHONES,getId(),Arrays.asList(PHONE_TYPES));
  baseSection.addUIFormInput(phoneSelection);
  UIMultiValueSelection imsSelection=new UIMultiValueSelection(Profile.CONTACT_IMS,getId(),Arrays.asList(IM_TYPES));
  baseSection.addUIFormInput(imsSelection);
  UIFormMultiValueInputSet urlMultiValueInput=new UIFormMultiValueInputSet(Profile.CONTACT_URLS,Profile.CONTACT_URLS);
  urlMultiValueInput.setType(UIFormStringInput.class);
  urlMultiValueInput.setValue(Arrays.asList("String_Node_Str"));
  urlMultiValueInput.setLabel(Profile.CONTACT_URLS);
  baseSection.addUIFormInput(urlMultiValueInput);
  addUIFormInput(aboutSection);
  addUIFormInput(baseSection);
}

Fixed version (ground truth):
public UIEditUserProfileForm() throws Exception {
  if (getId() == null) {
    setId("String_Node_Str");
  }
  UIInputSection aboutSection=new UIInputSection(FIELD_ABOUT_SECTION,"String_Node_Str");
  aboutSection.useGroupControl(false).addUIFormInput(new UIFormTextAreaInput(Profile.ABOUT_ME,Profile.ABOUT_ME,null));
  UIInputSection baseSection=new UIInputSection(FIELD_BASE_SECTION,"String_Node_Str");
  baseSection.addUIFormInput(createUIFormStringInput(Profile.FIRST_NAME,true).addValidator(PersonalNameValidator.class).addValidator(StringLengthValidator.class,1,45));
  baseSection.addUIFormInput(createUIFormStringInput(Profile.LAST_NAME,true).addValidator(PersonalNameValidator.class).addValidator(StringLengthValidator.class,1,45));
  baseSection.addUIFormInput(createUIFormStringInput(Profile.EMAIL,true).addValidator(EmailAddressValidator.class));
  UIChangeAvatarContainer avatarContainer=createUIComponent(UIChangeAvatarContainer.class,null,"String_Node_Str");
  baseSection.addUIFormInput(avatarContainer);
  baseSection.addUIFormInput(createUIFormStringInput(Profile.POSITION,false));
  List<SelectItemOption<String>> options=new ArrayList<SelectItemOption<String>>();
  options.add(new SelectItemOption<String>(getLabel(OPTION_MALE),OPTION_MALE));
  options.add(new SelectItemOption<String>(getLabel(OPTION_FEMALE),OPTION_FEMALE));
  UIFormSelectBox genderSelectBox=new UIFormSelectBox(Profile.GENDER,Profile.GENDER,options);
  genderSelectBox.setLabel(Profile.GENDER);
  baseSection.addUIFormInput(genderSelectBox);
  UIMultiValueSelection phoneSelection=new UIMultiValueSelection(Profile.CONTACT_PHONES,getId(),Arrays.asList(PHONE_TYPES));
  baseSection.addUIFormInput(phoneSelection.addValidator(StringLengthValidator.class,1,20));
  UIMultiValueSelection imsSelection=new UIMultiValueSelection(Profile.CONTACT_IMS,getId(),Arrays.asList(IM_TYPES));
  baseSection.addUIFormInput(imsSelection.addValidator(StringLengthValidator.class,1,60));
  UIFormMultiValueInputSet urlMultiValueInput=new UIFormMultiValueInputSet(Profile.CONTACT_URLS,Profile.CONTACT_URLS);
  urlMultiValueInput.setType(UIFormStringInput.class);
  urlMultiValueInput.setValue(Arrays.asList("String_Node_Str"));
  urlMultiValueInput.setLabel(Profile.CONTACT_URLS);
  baseSection.addUIFormInput(urlMultiValueInput.addValidator(URLValidator.class));
  addUIFormInput(aboutSection);
  addUIFormInput(baseSection);
}