Program: 80999
Project: 80999
Buggy source:
/** 
 * Sets the current email address (username) for the program to use. Note that if the username does not contain an ending (&#64;site.net) or is null, &#64;yahoo.com is automatically appended to the end of the username. If the site ending does not end in &#64;yahoo.com or &#64;gmail.com, the program parses the SMTP server addess after the address ending and two colons.<br> Example: User&#64;site.com::site.smtp.server<br> This also (optionall) parses the site's SMTP port after the SMTP server address and a colon.<br> Example: User&#64;site.com::site.smtp.server:123
 * @param username The username to set
 */
public static void setUsername(String username){
  if (username == null) {
    props.put("String_Node_Str","String_Node_Str");
    return;
  }
  if (username.length() < 3) {
    System.out.println("String_Node_Str");
    props.put("String_Node_Str","String_Node_Str");
    return;
  }
 else   if (!username.contains("String_Node_Str")) {
    username+="String_Node_Str";
    setHost("String_Node_Str");
  }
 else   if (username.toLowerCase().contains("String_Node_Str")) {
    setHost("String_Node_Str");
  }
 else   if (username.toLowerCase().contains("String_Node_Str")) {
    setHost("String_Node_Str");
  }
 else {
    if (!username.contains("String_Node_Str")) {
      System.out.println("String_Node_Str");
      ErrorDisplay.showErrorWindow("String_Node_Str","String_Node_Str" + username + "String_Node_Str",null);
      props.put("String_Node_Str","String_Node_Str");
      return;
    }
    String extraInfo=null;
    try {
      extraInfo=username.toLowerCase().substring(username.indexOf("String_Node_Str") + 2);
      System.out.println("String_Node_Str" + extraInfo);
    }
 catch (    Exception e) {
      System.out.println("String_Node_Str");
    }
    if (extraInfo == null) {
      ErrorDisplay.showErrorWindow("String_Node_Str","String_Node_Str",null);
      props.put("String_Node_Str","String_Node_Str");
      return;
    }
    String tempHost;
    try {
      if (extraInfo.contains("String_Node_Str")) {
        tempHost=extraInfo.substring(0,extraInfo.indexOf("String_Node_Str"));
        setPort(extraInfo.substring(extraInfo.indexOf("String_Node_Str") + 1));
        System.out.println("String_Node_Str" + getPort());
      }
 else {
        tempHost=extraInfo;
      }
      setHost(tempHost);
    }
 catch (    Exception e) {
      System.out.println("String_Node_Str");
      ErrorDisplay.showErrorWindow("String_Node_Str","String_Node_Str" + extraInfo + "String_Node_Str",e);
      props.put("String_Node_Str","String_Node_Str");
      return;
    }
    username=username.substring(0,username.indexOf("String_Node_Str"));
  }
  System.out.println("String_Node_Str" + username);
  props.put("String_Node_Str",username);
}

Fixed version (ground truth):
/** 
 * Sets the current email address (username) for the program to use. Note that if the username does not contain an ending (&#64;site.net) or is null, &#64;yahoo.com is automatically appended to the end of the username. If the site ending does not end in &#64;yahoo.com or &#64;gmail.com, the program parses the SMTP server addess after the address ending and two colons.<br> Example: User&#64;site.com::site.smtp.server<br> This also (optionall) parses the site's SMTP port after the SMTP server address and a colon.<br> Example: User&#64;site.com::site.smtp.server:123
 * @param username The username to set
 */
public static void setUsername(String username){
  if (username == null) {
    System.out.println("String_Node_Str");
    props.put("String_Node_Str","String_Node_Str");
    return;
  }
  if (username.length() < 3) {
    System.out.println("String_Node_Str");
    props.put("String_Node_Str","String_Node_Str");
    return;
  }
 else   if (!username.contains("String_Node_Str")) {
    username+="String_Node_Str";
    setHost("String_Node_Str");
  }
 else   if (username.toLowerCase().contains("String_Node_Str")) {
    setHost("String_Node_Str");
  }
 else   if (username.toLowerCase().contains("String_Node_Str")) {
    setHost("String_Node_Str");
  }
 else {
    if (!username.contains("String_Node_Str")) {
      System.out.println("String_Node_Str");
      ErrorDisplay.showErrorWindow("String_Node_Str","String_Node_Str" + username + "String_Node_Str",null);
      props.put("String_Node_Str","String_Node_Str");
      return;
    }
    String extraInfo=null;
    try {
      extraInfo=username.toLowerCase().substring(username.indexOf("String_Node_Str") + 2);
      System.out.println("String_Node_Str" + extraInfo);
    }
 catch (    Exception e) {
      System.out.println("String_Node_Str");
    }
    if (extraInfo == null) {
      ErrorDisplay.showErrorWindow("String_Node_Str","String_Node_Str",null);
      props.put("String_Node_Str","String_Node_Str");
      return;
    }
    String tempHost;
    try {
      if (extraInfo.contains("String_Node_Str")) {
        tempHost=extraInfo.substring(0,extraInfo.indexOf("String_Node_Str"));
        setPort(extraInfo.substring(extraInfo.indexOf("String_Node_Str") + 1));
        System.out.println("String_Node_Str" + getPort());
      }
 else {
        tempHost=extraInfo;
      }
      setHost(tempHost);
    }
 catch (    Exception e) {
      System.out.println("String_Node_Str");
      ErrorDisplay.showErrorWindow("String_Node_Str","String_Node_Str" + extraInfo + "String_Node_Str",e);
      props.put("String_Node_Str","String_Node_Str");
      return;
    }
    username=username.substring(0,username.indexOf("String_Node_Str"));
  }
  System.out.println("String_Node_Str" + username);
  props.put("String_Node_Str",username);
}