Program: 86408
Project: 86408
Buggy source:
/** 
 * Internal method to make actual request to server
 * @param full url for a JSON or XML request to the server (e.g., http://bustime .mta.info/api/siri/vehicle-monitoring.json?OperatorRef =MT%20A%20NYCT&DirectionRef=0&LineRef=MTA%20NYCT_S40&)
 */
@SuppressWarnings({"String_Node_Str"}) private Siri makeRequest(String urlString){
  Siri s=null;
  URL url=null;
  HttpURLConnection urlConnection=null;
  Log.i(MainActivity.TAG,"String_Node_Str" + url.toString());
  try {
    disableConnectionReuseIfNecessary();
    url=new URL(urlString);
switch (config.getResponseType()) {
case ServerConfig.RESPONSE_TYPE_JSON:
      if (config.getHttpConnectionType() == ServerConfig.HTTP_CONNECTION_TYPE_JACKSON) {
        if (config.getJacksonObjectType() == ServerConfig.JACKSON_OBJECT_TYPE_READER) {
          Log.v(MainActivity.TAG,"String_Node_Str");
          s=SiriJacksonConfig.getObjectReaderInstance().readValue(url);
        }
 else {
          Log.v(MainActivity.TAG,"String_Node_Str");
          s=SiriJacksonConfig.getObjectMapperInstance().readValue(url,Siri.class);
        }
      }
 else {
        urlConnection=(HttpURLConnection)url.openConnection();
        if (config.getJacksonObjectType() == ServerConfig.JACKSON_OBJECT_TYPE_READER) {
          Log.v(MainActivity.TAG,"String_Node_Str");
          s=SiriJacksonConfig.getObjectReaderInstance().readValue(urlConnection.getInputStream());
        }
 else {
          Log.v(MainActivity.TAG,"String_Node_Str");
          s=SiriJacksonConfig.getObjectMapperInstance().readValue(urlConnection.getInputStream(),Siri.class);
        }
      }
    break;
case ServerConfig.RESPONSE_TYPE_XML:
  if (config.getHttpConnectionType() == ServerConfig.HTTP_CONNECTION_TYPE_JACKSON) {
    s=SiriJacksonConfig.getXmlMapperInstance().readValue(url,Siri.class);
  }
 else {
    urlConnection=(HttpURLConnection)url.openConnection();
    s=SiriJacksonConfig.getXmlMapperInstance().readValue(urlConnection.getInputStream(),Siri.class);
  }
break;
}
}
 catch (IOException e) {
Log.e(MainActivity.TAG,"String_Node_Str" + e);
}
 finally {
if (urlConnection != null) {
urlConnection.disconnect();
}
}
return s;
}

Fixed version (ground truth):
/** 
 * Internal method to make actual request to server
 * @param full url for a JSON or XML request to the server (e.g., http://bustime .mta.info/api/siri/vehicle-monitoring.json?OperatorRef =MT%20A%20NYCT&DirectionRef=0&LineRef=MTA%20NYCT_S40&)
 */
@SuppressWarnings({"String_Node_Str"}) private Siri makeRequest(String urlString){
  Siri s=null;
  URL url=null;
  HttpURLConnection urlConnection=null;
  try {
    disableConnectionReuseIfNecessary();
    url=new URL(urlString);
    Log.i(MainActivity.TAG,"String_Node_Str" + url.toString());
switch (config.getResponseType()) {
case ServerConfig.RESPONSE_TYPE_JSON:
      if (config.getHttpConnectionType() == ServerConfig.HTTP_CONNECTION_TYPE_JACKSON) {
        if (config.getJacksonObjectType() == ServerConfig.JACKSON_OBJECT_TYPE_READER) {
          Log.v(MainActivity.TAG,"String_Node_Str");
          s=SiriJacksonConfig.getObjectReaderInstance().readValue(url);
        }
 else {
          Log.v(MainActivity.TAG,"String_Node_Str");
          s=SiriJacksonConfig.getObjectMapperInstance().readValue(url,Siri.class);
        }
      }
 else {
        urlConnection=(HttpURLConnection)url.openConnection();
        if (config.getJacksonObjectType() == ServerConfig.JACKSON_OBJECT_TYPE_READER) {
          Log.v(MainActivity.TAG,"String_Node_Str");
          s=SiriJacksonConfig.getObjectReaderInstance().readValue(urlConnection.getInputStream());
        }
 else {
          Log.v(MainActivity.TAG,"String_Node_Str");
          s=SiriJacksonConfig.getObjectMapperInstance().readValue(urlConnection.getInputStream(),Siri.class);
        }
      }
    break;
case ServerConfig.RESPONSE_TYPE_XML:
  if (config.getHttpConnectionType() == ServerConfig.HTTP_CONNECTION_TYPE_JACKSON) {
    s=SiriJacksonConfig.getXmlMapperInstance().readValue(url,Siri.class);
  }
 else {
    urlConnection=(HttpURLConnection)url.openConnection();
    s=SiriJacksonConfig.getXmlMapperInstance().readValue(urlConnection.getInputStream(),Siri.class);
  }
break;
}
}
 catch (IOException e) {
Log.e(MainActivity.TAG,"String_Node_Str" + e);
}
 finally {
if (urlConnection != null) {
urlConnection.disconnect();
}
}
return s;
}