Program: 31746
Project: 31746
Buggy source:
public static void sendResults(EmailExport export){
  if (WebApp.DEV) {
    return;
  }
  Map<String,Object> params=new HashMap<String,Object>();
  params.put("String_Node_Str",Config.MANDRILL_KEY);
  List<Map<String,String>> to=new ArrayList<Map<String,String>>();
  for (int i=0; i < export.recipients.length; i++) {
    to.add(CommonUtil.asMap("String_Node_Str","String_Node_Str","String_Node_Str",export.recipients[i],export.recipients[i].split("String_Node_Str")[0],"String_Node_Str"));
  }
  List<Map<String,String>> attachments=new ArrayList<Map<String,String>>();
  for (  Map.Entry<String,byte[]> entry : export.attachments.entrySet()) {
    attachments.add(CommonUtil.asMap("String_Node_Str","String_Node_Str","String_Node_Str",new Tika().detect(entry.getValue()),entry.getKey(),Base64.encodeBase64String(entry.getValue())));
  }
  params.put("String_Node_Str",CommonUtil.asObjMap("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",false,false,"String_Node_Str","String_Node_Str",CommonUtil.asMap("String_Node_Str",Config.MANDRILL_EMAIL),export.title,Config.MANDRILL_EMAIL,Config.MANDRILL_EMAIL,to,attachments));
  params.put("String_Node_Str",true);
  HttpURLConnection conn=null;
  String resp=null;
  Log.info("String_Node_Str" + export.title,false);
  try {
    conn=(HttpURLConnection)new URL("String_Node_Str").openConnection();
    conn.setDoOutput(true);
    conn.setRequestMethod("String_Node_Str");
    conn.setRequestProperty("String_Node_Str","String_Node_Str");
    conn.setRequestProperty("String_Node_Str","String_Node_Str");
    String data=CommonUtil.gson.toJson(params,CommonUtil.objectType);
    byte[] bytes=data.getBytes("String_Node_Str");
    conn.setRequestProperty("String_Node_Str","String_Node_Str" + bytes.length);
    OutputStream os=conn.getOutputStream();
    os.write(bytes);
    conn.connect();
    resp=IOUtils.toString(conn.getInputStream(),"String_Node_Str");
    if (resp.contains("String_Node_Str") || resp.contains("String_Node_Str")) {
      Log.warn("String_Node_Str");
    }
  }
 catch (  Exception e) {
    Log.exception(e);
  }
}

Fixed version (ground truth):
public static void sendResults(EmailExport export){
  if (WebApp.DEV) {
    return;
  }
  Map<String,Object> params=new HashMap<String,Object>();
  params.put("String_Node_Str",Config.instance.mandrillKey());
  List<Map<String,String>> to=new ArrayList<Map<String,String>>();
  for (int i=0; i < export.recipients.length; i++) {
    to.add(CommonUtil.asMap("String_Node_Str","String_Node_Str","String_Node_Str",export.recipients[i],export.recipients[i].split("String_Node_Str")[0],"String_Node_Str"));
  }
  List<Map<String,String>> attachments=new ArrayList<Map<String,String>>();
  for (  Map.Entry<String,byte[]> entry : export.attachments.entrySet()) {
    attachments.add(CommonUtil.asMap("String_Node_Str","String_Node_Str","String_Node_Str",new Tika().detect(entry.getValue()),entry.getKey(),Base64.encodeBase64String(entry.getValue())));
  }
  params.put("String_Node_Str",CommonUtil.asObjMap("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",false,false,"String_Node_Str","String_Node_Str",CommonUtil.asMap("String_Node_Str",Config.instance.mandrillEmail()),export.title,Config.instance.mandrillEmail(),Config.instance.mandrillEmail(),to,attachments));
  params.put("String_Node_Str",true);
  HttpURLConnection conn=null;
  String resp=null;
  Log.info("String_Node_Str" + export.title,false);
  try {
    conn=(HttpURLConnection)new URL("String_Node_Str").openConnection();
    conn.setDoOutput(true);
    conn.setRequestMethod("String_Node_Str");
    conn.setRequestProperty("String_Node_Str","String_Node_Str");
    conn.setRequestProperty("String_Node_Str","String_Node_Str");
    String data=CommonUtil.gson.toJson(params,CommonUtil.objectType);
    byte[] bytes=data.getBytes("String_Node_Str");
    conn.setRequestProperty("String_Node_Str","String_Node_Str" + bytes.length);
    OutputStream os=conn.getOutputStream();
    os.write(bytes);
    conn.connect();
    resp=IOUtils.toString(conn.getInputStream(),"String_Node_Str");
    if (resp.contains("String_Node_Str") || resp.contains("String_Node_Str")) {
      Log.warn("String_Node_Str");
    }
  }
 catch (  Exception e) {
    Log.exception(e);
  }
}