Program: 102450
Project: 102450
Buggy source:
public UIEditUserProfileForm() throws Exception {
  if (getId() == null) {
    setId("String_Node_Str");
  }
  UIInputSection aboutSection=new UIInputSection(FIELD_ABOUT_SECTION,Profile.ABOUT_ME);
  aboutSection.useGroupControl(false).addUIFormInput(new UIFormTextAreaInput(Profile.ABOUT_ME,Profile.ABOUT_ME,null).addValidator(StringLengthValidator.class,1500));
  UIInputSection baseSection=new UIInputSection(FIELD_BASE_SECTION,"String_Node_Str");
  baseSection.addUIFormInput(createUIFormStringInput(Profile.FIRST_NAME,true).addValidator(PersonalNameValidator.class).addValidator(StringLengthValidator.class,45));
  baseSection.addUIFormInput(createUIFormStringInput(Profile.LAST_NAME,true).addValidator(PersonalNameValidator.class).addValidator(StringLengthValidator.class,45));
  baseSection.addUIFormInput(createUIFormStringInput(Profile.EMAIL,true).addValidator(EmailAddressValidator.class).addValidator(StringLengthValidator.class,100));
  UIChangeAvatarContainer avatarContainer=createUIComponent(UIChangeAvatarContainer.class,null,"String_Node_Str");
  baseSection.addUIFormInput(avatarContainer);
  baseSection.addUIFormInput(createUIFormStringInput(Profile.POSITION,false).addValidator(StringLengthValidator.class,100));
  List<SelectItemOption<String>> options=new ArrayList<SelectItemOption<String>>();
  options.add(new SelectItemOption<String>("String_Node_Str","String_Node_Str"));
  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(ExpressionValidator.class,PHONE_REGEX_EXPRESSION,"String_Node_Str"));
  UIMultiValueSelection imsSelection=new UIMultiValueSelection(Profile.CONTACT_IMS,getId(),Arrays.asList(IM_TYPES));
  baseSection.addUIFormInput(imsSelection.addValidator(StringLengthValidator.class,100));
  UIFormMultiValueInputSet urlMultiValueInput=new UIFormMultiValueInputSet(Profile.CONTACT_URLS,Profile.CONTACT_URLS);
  urlMultiValueInput.addValidator(ExpressionValidator.class,URL_REGEX_EXPRESSION,"String_Node_Str");
  urlMultiValueInput.addValidator(StringLengthValidator.class,100);
  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,Profile.ABOUT_ME);
  aboutSection.useGroupControl(false).addUIFormInput(new UIFormTextAreaInput(Profile.ABOUT_ME,Profile.ABOUT_ME,null).addValidator(StringLengthValidator.class,1500));
  UIInputSection baseSection=new UIInputSection(FIELD_BASE_SECTION,"String_Node_Str");
  baseSection.addUIFormInput(createUIFormStringInput(Profile.FIRST_NAME,true).addValidator(PersonalNameValidator.class).addValidator(StringLengthValidator.class,45));
  baseSection.addUIFormInput(createUIFormStringInput(Profile.LAST_NAME,true).addValidator(PersonalNameValidator.class).addValidator(StringLengthValidator.class,45));
  baseSection.addUIFormInput(createUIFormStringInput(Profile.EMAIL,true).addValidator(EmailAddressValidator.class).addValidator(StringLengthValidator.class,100));
  UIChangeAvatarContainer avatarContainer=createUIComponent(UIChangeAvatarContainer.class,null,"String_Node_Str");
  baseSection.addUIFormInput(avatarContainer);
  baseSection.addUIFormInput(createUIFormStringInput(Profile.POSITION,false).addValidator(StringLengthValidator.class,100));
  List<SelectItemOption<String>> options=new ArrayList<SelectItemOption<String>>();
  options.add(new SelectItemOption<String>("String_Node_Str","String_Node_Str"));
  options.add(new SelectItemOption<String>(getLabel(OPTION_MALE),Profile.MALE));
  options.add(new SelectItemOption<String>(getLabel(OPTION_FEMALE),Profile.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(ExpressionValidator.class,PHONE_REGEX_EXPRESSION,"String_Node_Str"));
  UIMultiValueSelection imsSelection=new UIMultiValueSelection(Profile.CONTACT_IMS,getId(),Arrays.asList(IM_TYPES));
  baseSection.addUIFormInput(imsSelection.addValidator(StringLengthValidator.class,100));
  UIFormMultiValueInputSet urlMultiValueInput=new UIFormMultiValueInputSet(Profile.CONTACT_URLS,Profile.CONTACT_URLS);
  urlMultiValueInput.addValidator(ExpressionValidator.class,URL_REGEX_EXPRESSION,"String_Node_Str");
  urlMultiValueInput.addValidator(StringLengthValidator.class,100);
  urlMultiValueInput.setType(UIFormStringInput.class);
  urlMultiValueInput.setValue(Arrays.asList("String_Node_Str"));
  urlMultiValueInput.setLabel(Profile.CONTACT_URLS);
  baseSection.addUIFormInput(urlMultiValueInput);
  addUIFormInput(aboutSection);
  addUIFormInput(baseSection);
}