Program: 86409
Project: 86409
Buggy source:
@Override protected Siri doInBackground(Void... params){
  String urlString="String_Node_Str";
  urlString.replace("String_Node_Str","String_Node_Str");
  Siri s=null;
  URL url=null;
  HttpURLConnection urlConnection=null;
  final long startTime;
  final long endTime;
  SharedPreferences sharedPref=PreferenceManager.getDefaultSharedPreferences(getActivity());
  int httpConnectionType=sharedPref.getInt(Preferences.KEY_HTTP_CONNECTION_TYPE,0);
  int jacksonObjectType=sharedPref.getInt(Preferences.KEY_JACKSON_OBJECT_TYPE,0);
  try {
    url=new URL(urlString);
    disableConnectionReuseIfNecessary();
    startTime=System.nanoTime();
    if (httpConnectionType == Preferences.HTTP_CONNECTION_TYPE_JACKSON) {
      if (jacksonObjectType == Preferences.JACKSON_OBJECT_TYPE_READER) {
        Log.v(SiriRestClientActivity.TAG,"String_Node_Str");
        s=SiriJacksonConfig.getObjectReaderInstance().readValue(url);
      }
 else {
        Log.v(SiriRestClientActivity.TAG,"String_Node_Str");
        s=SiriJacksonConfig.getObjectMapperInstance().readValue(url,Siri.class);
      }
    }
 else {
      urlConnection=(HttpURLConnection)url.openConnection();
      if (jacksonObjectType == Preferences.JACKSON_OBJECT_TYPE_READER) {
        Log.v(SiriRestClientActivity.TAG,"String_Node_Str");
        s=SiriJacksonConfig.getObjectReaderInstance().readValue(urlConnection.getInputStream());
      }
 else {
        Log.v(SiriRestClientActivity.TAG,"String_Node_Str");
        s=SiriJacksonConfig.getObjectMapperInstance().readValue(urlConnection.getInputStream(),Siri.class);
      }
    }
    endTime=System.nanoTime();
    getActivity().runOnUiThread(new Runnable(){
      public void run(){
        Toast.makeText(getActivity(),"String_Node_Str" + (endTime - startTime) / 1000000 + "String_Node_Str",Toast.LENGTH_SHORT).show();
      }
    }
);
  }
 catch (  IOException e) {
    Log.e(SiriRestClientActivity.TAG,"String_Node_Str" + e);
  }
 finally {
    if (urlConnection != null) {
      urlConnection.disconnect();
    }
  }
  if (s != null) {
    SiriUtils.printContents(s);
  }
  return s;
}

Fixed version (ground truth):
@Override protected Siri doInBackground(Void... params){
  String urlString="String_Node_Str";
  urlString.replace("String_Node_Str","String_Node_Str");
  Siri s=null;
  URL url=null;
  HttpURLConnection urlConnection=null;
  final long startTime;
  final long endTime;
  SharedPreferences sharedPref=PreferenceManager.getDefaultSharedPreferences(getActivity());
  int httpConnectionType=Integer.parseInt(sharedPref.getString(Preferences.KEY_HTTP_CONNECTION_TYPE,"String_Node_Str"));
  int jacksonObjectType=Integer.parseInt(sharedPref.getString(Preferences.KEY_JACKSON_OBJECT_TYPE,"String_Node_Str"));
  try {
    url=new URL(urlString);
    disableConnectionReuseIfNecessary();
    startTime=System.nanoTime();
    if (httpConnectionType == Preferences.HTTP_CONNECTION_TYPE_JACKSON) {
      if (jacksonObjectType == Preferences.JACKSON_OBJECT_TYPE_READER) {
        Log.v(SiriRestClientActivity.TAG,"String_Node_Str");
        s=SiriJacksonConfig.getObjectReaderInstance().readValue(url);
      }
 else {
        Log.v(SiriRestClientActivity.TAG,"String_Node_Str");
        s=SiriJacksonConfig.getObjectMapperInstance().readValue(url,Siri.class);
      }
    }
 else {
      urlConnection=(HttpURLConnection)url.openConnection();
      if (jacksonObjectType == Preferences.JACKSON_OBJECT_TYPE_READER) {
        Log.v(SiriRestClientActivity.TAG,"String_Node_Str");
        s=SiriJacksonConfig.getObjectReaderInstance().readValue(urlConnection.getInputStream());
      }
 else {
        Log.v(SiriRestClientActivity.TAG,"String_Node_Str");
        s=SiriJacksonConfig.getObjectMapperInstance().readValue(urlConnection.getInputStream(),Siri.class);
      }
    }
    endTime=System.nanoTime();
    getActivity().runOnUiThread(new Runnable(){
      public void run(){
        Toast.makeText(getActivity(),"String_Node_Str" + (endTime - startTime) / 1000000 + "String_Node_Str",Toast.LENGTH_SHORT).show();
      }
    }
);
  }
 catch (  IOException e) {
    Log.e(SiriRestClientActivity.TAG,"String_Node_Str" + e);
  }
 finally {
    if (urlConnection != null) {
      urlConnection.disconnect();
    }
  }
  if (s != null) {
    SiriUtils.printContents(s);
  }
  return s;
}