Program: 144546
Project: 144546
Buggy source:
public void validateOnSubmitDriver(DriverBean driverBean){
  clearErrorsAndMessages();
  String alpha="String_Node_Str";
  String alphaNumeric="String_Node_Str";
  Pattern namePattern=Pattern.compile(alpha);
  Pattern alphaNumericPattern=Pattern.compile(alphaNumeric);
  Matcher matcher=namePattern.matcher(driverBean.getLastName());
  if (!matcher.matches()) {
    addFieldError("String_Node_Str","String_Node_Str");
  }
  matcher=namePattern.matcher(driverBean.getFirstName());
  if (!matcher.matches()) {
    addFieldError("String_Node_Str","String_Node_Str");
  }
  matcher=namePattern.matcher(driverBean.getTitle());
  if (!matcher.matches()) {
    addFieldError("String_Node_Str","String_Node_Str");
  }
  matcher=alphaNumericPattern.matcher(driverBean.getLicenseNumber());
  if (!matcher.matches()) {
    addFieldError("String_Node_Str","String_Node_Str");
  }
  if (StringUtils.isBlank(driverBean.getDriverCode())) {
    addFieldError("String_Node_Str",getText("String_Node_Str"));
  }
  if (StringUtils.isBlank(driverBean.getLicenseNumber())) {
    addFieldError("String_Node_Str",getText("String_Node_Str"));
  }
  if (StringUtils.isBlank(driverBean.getLastName())) {
    addFieldError("String_Node_Str",getText("String_Node_Str"));
  }
  if (StringUtils.isBlank(driverBean.getFirstName())) {
    addFieldError("String_Node_Str",getText("String_Node_Str"));
  }
  if (StringUtils.isBlank(driverBean.getTitle())) {
    addFieldError("String_Node_Str",getText("String_Node_Str"));
  }
}

Fixed version (ground truth):
public void validateOnSubmitDriver(DriverBean driverBean){
  clearErrorsAndMessages();
  String alpha="String_Node_Str";
  String alphaNumeric="String_Node_Str";
  Pattern namePattern=Pattern.compile(alpha);
  Pattern alphaNumericPattern=Pattern.compile(alphaNumeric);
  Matcher matcher=namePattern.matcher(driverBean.getLastName());
  if (!matcher.matches()) {
    addFieldError("String_Node_Str","String_Node_Str");
  }
  matcher=namePattern.matcher(driverBean.getFirstName());
  if (!matcher.matches()) {
    addFieldError("String_Node_Str","String_Node_Str");
  }
  matcher=namePattern.matcher(driverBean.getTitle());
  if (!matcher.matches()) {
    addFieldError("String_Node_Str","String_Node_Str");
  }
  matcher=alphaNumericPattern.matcher(driverBean.getLicenseNumber());
  if (!matcher.matches()) {
    addFieldError("String_Node_Str","String_Node_Str");
  }
  matcher=alphaNumericPattern.matcher(driverBean.getDriverCode());
  if (!matcher.matches()) {
    addFieldError("String_Node_Str","String_Node_Str");
  }
  if (StringUtils.isBlank(driverBean.getDriverCode())) {
    addFieldError("String_Node_Str",getText("String_Node_Str"));
  }
  if (StringUtils.isBlank(driverBean.getLicenseNumber())) {
    addFieldError("String_Node_Str",getText("String_Node_Str"));
  }
  if (StringUtils.isBlank(driverBean.getLastName())) {
    addFieldError("String_Node_Str",getText("String_Node_Str"));
  }
  if (StringUtils.isBlank(driverBean.getFirstName())) {
    addFieldError("String_Node_Str",getText("String_Node_Str"));
  }
  if (StringUtils.isBlank(driverBean.getTitle())) {
    addFieldError("String_Node_Str",getText("String_Node_Str"));
  }
}