Program: 172181
Project: 172181
Buggy source:
/** 
 */
public TransferProgress getStatus(Transfer transfer) throws TransferException {
  TransferTarget target=transfer.getTransferTarget();
  HttpMethod statusRequest=getPostMethod();
  try {
    HostConfiguration hostConfig=getHostConfig(target);
    HttpState httpState=getHttpState(target);
    statusRequest.setPath(target.getEndpointPath() + "String_Node_Str");
    statusRequest.setQueryString(new NameValuePair[]{new NameValuePair("String_Node_Str",transfer.getTransferId())});
    try {
      int responseStatus=httpClient.executeMethod(hostConfig,statusRequest,httpState);
      checkResponseStatus("String_Node_Str",responseStatus,statusRequest);
      String statusPayload=statusRequest.getResponseBodyAsString();
      JSONObject statusObj=new JSONObject(statusPayload);
      int currentPosition=statusObj.getInt("String_Node_Str");
      int endPosition=statusObj.getInt("String_Node_Str");
      String statusStr=statusObj.getString("String_Node_Str");
      JSONObject errorJSON=statusObj.getJSONObject("String_Node_Str");
      Throwable throwable=rehydrateError(errorJSON);
      TransferProgress p=new TransferProgress();
      p.setStatus(TransferProgress.Status.valueOf(statusStr));
      p.setCurrentPosition(currentPosition);
      p.setEndPosition(endPosition);
      p.setError(throwable);
      return p;
    }
 catch (    RuntimeException e) {
      throw e;
    }
catch (    Exception e) {
      String error="String_Node_Str";
      log.debug(error,e);
      throw new TransferException(MSG_HTTP_REQUEST_FAILED,new Object[]{"String_Node_Str",target.toString(),e.toString()},e);
    }
  }
  finally {
    statusRequest.releaseConnection();
  }
}

Fixed version (ground truth):
/** 
 */
public TransferProgress getStatus(Transfer transfer) throws TransferException {
  TransferTarget target=transfer.getTransferTarget();
  HttpMethod statusRequest=getPostMethod();
  try {
    HostConfiguration hostConfig=getHostConfig(target);
    HttpState httpState=getHttpState(target);
    statusRequest.setPath(target.getEndpointPath() + "String_Node_Str");
    statusRequest.setQueryString(new NameValuePair[]{new NameValuePair("String_Node_Str",transfer.getTransferId())});
    try {
      int responseStatus=httpClient.executeMethod(hostConfig,statusRequest,httpState);
      checkResponseStatus("String_Node_Str",responseStatus,statusRequest);
      String statusPayload=statusRequest.getResponseBodyAsString();
      JSONObject statusObj=new JSONObject(statusPayload);
      int currentPosition=statusObj.getInt("String_Node_Str");
      int endPosition=statusObj.getInt("String_Node_Str");
      String statusStr=statusObj.getString("String_Node_Str");
      TransferProgress p=new TransferProgress();
      if (statusObj.has("String_Node_Str")) {
        JSONObject errorJSON=statusObj.getJSONObject("String_Node_Str");
        Throwable throwable=rehydrateError(errorJSON);
        p.setError(throwable);
      }
      p.setStatus(TransferProgress.Status.valueOf(statusStr));
      p.setCurrentPosition(currentPosition);
      p.setEndPosition(endPosition);
      return p;
    }
 catch (    RuntimeException e) {
      throw e;
    }
catch (    Exception e) {
      String error="String_Node_Str";
      log.debug(error,e);
      throw new TransferException(MSG_HTTP_REQUEST_FAILED,new Object[]{"String_Node_Str",target.toString(),e.toString()},e);
    }
  }
  finally {
    statusRequest.releaseConnection();
  }
}