Program: 187941
Project: 187941
Buggy source:
public String[] getTags() throws java.io.IOException {
  String[] result=null;
  String rpc=mAPI + "String_Node_Str";
  Element tag;
  URL u=null;
  try {
    u=new URL(rpc);
  }
 catch (  java.net.MalformedURLException mu) {
    System.out.println("String_Node_Str" + mu.getMessage());
  }
  Document doc=null;
  try {
    DocumentBuilderFactory dbf=DocumentBuilderFactory.newInstance();
    DocumentBuilder db=dbf.newDocumentBuilder();
    doc=db.parse(u.openStream());
  }
 catch (  java.io.IOException ioe) {
    System.out.println("String_Node_Str" + ioe.getMessage());
    Log.e(_TAG,"String_Node_Str" + ioe.getMessage());
  }
catch (  ParserConfigurationException pce) {
    System.out.println("String_Node_Str" + pce.getMessage());
    Log.e(_TAG,"String_Node_Str" + pce.getMessage());
  }
catch (  SAXException se) {
    System.out.println("String_Node_Str" + se.getMessage());
    Log.e(_TAG,"String_Node_Str" + se.getMessage());
  }
  if (doc == null) {
    Log.e(_TAG,"String_Node_Str");
    throw new java.io.IOException("String_Node_Str" + rpc + "String_Node_Str");
  }
  int tagsLen=doc.getElementsByTagName("String_Node_Str").getLength();
  result=new String[tagsLen];
  for (int i=0; i < tagsLen; i++) {
    tag=(Element)doc.getElementsByTagName("String_Node_Str").item(i);
    result[i]=new String(tag.getAttribute("String_Node_Str").trim());
  }
  return result;
}

Fixed version (ground truth):
public String[] getTags() throws java.io.IOException {
  String[] result=null;
  String rpc=mAPI + "String_Node_Str";
  Element tag;
  java.net.URL u=null;
  try {
    u=new URL(rpc);
  }
 catch (  java.net.MalformedURLException mu) {
    System.out.println("String_Node_Str" + mu.getMessage());
  }
  Document doc=null;
  try {
    javax.net.ssl.HttpsURLConnection connection=(javax.net.ssl.HttpsURLConnection)u.openConnection();
    javax.net.ssl.HostnameVerifier v=new org.apache.http.conn.ssl.AllowAllHostnameVerifier();
    connection.setHostnameVerifier(v);
    DocumentBuilderFactory dbf=DocumentBuilderFactory.newInstance();
    DocumentBuilder db=dbf.newDocumentBuilder();
    doc=db.parse(connection.getInputStream());
  }
 catch (  java.io.IOException ioe) {
    System.out.println("String_Node_Str" + ioe.getMessage());
    Log.e(_TAG,"String_Node_Str" + ioe.getMessage());
  }
catch (  ParserConfigurationException pce) {
    System.out.println("String_Node_Str" + pce.getMessage());
    Log.e(_TAG,"String_Node_Str" + pce.getMessage());
  }
catch (  SAXException se) {
    System.out.println("String_Node_Str" + se.getMessage());
    Log.e(_TAG,"String_Node_Str" + se.getMessage());
  }
catch (  Exception e) {
    Log.e(_TAG,"String_Node_Str" + u);
    System.out.println("String_Node_Str" + u);
    e.printStackTrace();
  }
  if (doc == null) {
    Log.e(_TAG,"String_Node_Str");
    throw new java.io.IOException("String_Node_Str" + rpc + "String_Node_Str");
  }
  int tagsLen=doc.getElementsByTagName("String_Node_Str").getLength();
  result=new String[tagsLen];
  for (int i=0; i < tagsLen; i++) {
    tag=(Element)doc.getElementsByTagName("String_Node_Str").item(i);
    result[i]=new String(tag.getAttribute("String_Node_Str").trim());
  }
  return result;
}