Program: 86047
Project: 86047
Buggy source:
@Override protected String doInBackground(String... strings){
  String result=ERROR_UNKNOWN;
  try {
    URL url=createURL(strings[0]);
    Log.i("String_Node_Str","String_Node_Str" + url);
    HttpURLConnection conn=(HttpURLConnection)url.openConnection();
    conn.setRequestMethod("String_Node_Str");
    conn.setRequestProperty("String_Node_Str","String_Node_Str" + new String(id,"String_Node_Str"));
    conn.connect();
    int responseCode=conn.getResponseCode();
    Log.i("String_Node_Str","String_Node_Str" + responseCode);
    if (responseCode == 200) {
      Log.i("String_Node_Str","String_Node_Str" + conn.getHeaderFields());
      Log.i("String_Node_Str","String_Node_Str" + conn.getResponseMessage());
      InputStream in=(InputStream)conn.getContent();
      result=inputStreamToString(in);
      Log.i("String_Node_Str","String_Node_Str" + result);
      in.close();
    }
 else {
      result=analyzeHttpErrorCode(responseCode);
    }
    conn.disconnect();
  }
 catch (  MalformedURLException e) {
    Log.e("String_Node_Str","String_Node_Str");
    result=ERROR_URL;
    e.printStackTrace();
  }
catch (  ProtocolException e) {
    Log.e("String_Node_Str","String_Node_Str");
    e.printStackTrace();
  }
catch (  UnsupportedEncodingException e) {
    Log.e("String_Node_Str","String_Node_Str");
    e.printStackTrace();
  }
catch (  IOException e) {
    Log.e("String_Node_Str","String_Node_Str");
    e.printStackTrace();
    Log.e("String_Node_Str","String_Node_Str" + e.getMessage());
  }
catch (  ArrayIndexOutOfBoundsException e) {
    Log.e("String_Node_Str","String_Node_Str");
    e.printStackTrace();
  }
catch (  URISyntaxException e) {
    Log.e("String_Node_Str","String_Node_Str" + e.getMessage());
    e.printStackTrace();
  }
  return result;
}

Fixed version (ground truth):
@Override protected String doInBackground(String... strings){
  String result=ERROR_UNKNOWN;
  try {
    URL url=createURL(strings[0]);
    Log.i("String_Node_Str","String_Node_Str" + url);
    HttpURLConnection conn=(HttpURLConnection)url.openConnection();
    conn.setRequestMethod("String_Node_Str");
    conn.setRequestProperty("String_Node_Str","String_Node_Str" + new String(id,"String_Node_Str"));
    conn.connect();
    int responseCode=conn.getResponseCode();
    Log.i("String_Node_Str","String_Node_Str" + responseCode);
    if (responseCode == 200) {
      Log.i("String_Node_Str","String_Node_Str" + conn.getHeaderFields());
      Log.i("String_Node_Str","String_Node_Str" + conn.getResponseMessage());
      InputStream in=(InputStream)conn.getContent();
      result=inputStreamToString(in);
      Log.i("String_Node_Str","String_Node_Str" + result);
      in.close();
    }
 else {
      result=analyzeHttpErrorCode(responseCode);
    }
    conn.disconnect();
  }
 catch (  MalformedURLException e) {
    Log.e("String_Node_Str","String_Node_Str");
    result=ERROR_URL;
    e.printStackTrace();
  }
catch (  ProtocolException e) {
    Log.e("String_Node_Str","String_Node_Str");
    e.printStackTrace();
  }
catch (  UnsupportedEncodingException e) {
    Log.e("String_Node_Str","String_Node_Str");
    e.printStackTrace();
  }
catch (  IOException e) {
    Log.e("String_Node_Str","String_Node_Str");
    e.printStackTrace();
    Log.e("String_Node_Str","String_Node_Str" + e.getMessage());
  }
catch (  ArrayIndexOutOfBoundsException e) {
    Log.e("String_Node_Str","String_Node_Str");
    e.printStackTrace();
  }
catch (  URISyntaxException e) {
    Log.e("String_Node_Str","String_Node_Str" + e.getMessage());
    e.printStackTrace();
  }
catch (  NullPointerException e) {
    Log.e("String_Node_Str","String_Node_Str");
    e.printStackTrace();
  }
  return result;
}