Program: 54766
Project: 54766
Buggy source:
public <T extends Email>T newEmail(final T email){
  try {
    ifset("String_Node_Str",p -> {
      email.setAuthentication(mail.getString(p),mail.getString("String_Node_Str"));
    }
);
    ifset("String_Node_Str",p -> email.setBcc(address(strList(p))));
    ifset("String_Node_Str",p -> email.setBounceAddress(mail.getString(p)));
    ifset("String_Node_Str",p -> email.setCc(address(strList(p))));
    email.setCharset(mail.getString("String_Node_Str"));
    ifset("String_Node_Str",p -> email.setDebug(mail.getBoolean(p)));
    ifset("String_Node_Str",p -> email.setFrom(mail.getString(p)));
    ifset("String_Node_Str",p -> email.setHostName(mail.getString(p)));
    ifset("String_Node_Str",p -> {
      if (email instanceof HtmlEmail) {
        ((HtmlEmail)email).setHtmlMsg(mail.getString(p));
      }
 else {
        email.setMsg(mail.getString(p));
      }
    }
);
    ifset("String_Node_Str",p -> email.setReplyTo(address(mail.getStringList(p))));
    ifset("String_Node_Str",p -> email.setSendPartial(mail.getBoolean(p)));
    ifset("String_Node_Str",p -> email.setSmtpPort(mail.getInt(p)));
    ifset("String_Node_Str",p -> email.setSocketConnectionTimeout((int)mail.getDuration(p,TimeUnit.MILLISECONDS)));
    ifset("String_Node_Str",p -> email.setSocketTimeout((int)mail.getDuration(p,TimeUnit.MILLISECONDS)));
    ifset("String_Node_Str",p -> email.setSSLCheckServerIdentity(mail.getBoolean(p)));
    ifset("String_Node_Str",p -> email.setSSLOnConnect(mail.getBoolean(p)));
    ifset("String_Node_Str",p -> email.setSslSmtpPort(mail.getString(p)));
    ifset("String_Node_Str",p -> email.setStartTLSEnabled(mail.getBoolean(p)));
    ifset("String_Node_Str",p -> email.setStartTLSRequired(mail.getBoolean(p)));
    ifset("String_Node_Str",p -> email.setSubject(mail.getString(p)));
    ifset("String_Node_Str",p -> email.setTo(address(strList(p))));
    return email;
  }
 catch (  Exception ex) {
    throw new IllegalArgumentException(ex);
  }
}

Fixed version (ground truth):
public <T extends Email>T newEmail(final T email){
  try {
    ifset("String_Node_Str",p -> email.setAuthentication(mail.getString(p),mail.getString("String_Node_Str")));
    ifset("String_Node_Str",p -> email.setBcc(address(strList(p))));
    ifset("String_Node_Str",p -> email.setBounceAddress(mail.getString(p)));
    ifset("String_Node_Str",p -> email.setCc(address(strList(p))));
    email.setCharset(mail.getString("String_Node_Str"));
    ifset("String_Node_Str",p -> email.setDebug(mail.getBoolean(p)));
    ifset("String_Node_Str",p -> email.setFrom(mail.getString(p)));
    ifset("String_Node_Str",p -> email.setHostName(mail.getString(p)));
    ifset("String_Node_Str",p -> {
      if (email instanceof HtmlEmail) {
        ((HtmlEmail)email).setHtmlMsg(mail.getString(p));
      }
 else {
        email.setMsg(mail.getString(p));
      }
    }
);
    ifset("String_Node_Str",p -> email.setReplyTo(address(mail.getStringList(p))));
    ifset("String_Node_Str",p -> email.setSendPartial(mail.getBoolean(p)));
    ifset("String_Node_Str",p -> email.setSmtpPort(mail.getInt(p)));
    ifset("String_Node_Str",p -> email.setSocketConnectionTimeout((int)mail.getDuration(p,TimeUnit.MILLISECONDS)));
    ifset("String_Node_Str",p -> email.setSocketTimeout((int)mail.getDuration(p,TimeUnit.MILLISECONDS)));
    ifset("String_Node_Str",p -> email.setSSLCheckServerIdentity(mail.getBoolean(p)));
    ifset("String_Node_Str",p -> email.setSSLOnConnect(mail.getBoolean(p)));
    ifset("String_Node_Str",p -> email.setSslSmtpPort(mail.getString(p)));
    ifset("String_Node_Str",p -> email.setStartTLSEnabled(mail.getBoolean(p)));
    ifset("String_Node_Str",p -> email.setStartTLSRequired(mail.getBoolean(p)));
    ifset("String_Node_Str",p -> email.setSubject(mail.getString(p)));
    ifset("String_Node_Str",p -> email.setTo(address(strList(p))));
    return email;
  }
 catch (  Exception ex) {
    throw new IllegalArgumentException(ex);
  }
}