Program: 90134
Project: 90134
Buggy source:
private Job executeRequest(final Verb method,final String restURI,final Job job) throws GenieException {
  HttpResponse clientResponse=null;
  try {
    LOG.info("String_Node_Str" + restURI);
    final RestClient genieClient=(RestClient)ClientFactory.getNamedClient("String_Node_Str");
    final Set<Class<?>> providers=new HashSet<Class<?>>();
    providers.add(JacksonJaxbJsonProvider.class);
    providers.add(JacksonJsonProvider.class);
    final ClientConfig clientConfig=new DefaultClientConfig(providers);
    final Client jerseyClient=Client.create(clientConfig);
    genieClient.setJerseyClient(jerseyClient);
    final HttpRequest req=HttpRequest.newBuilder().verb(method).header("String_Node_Str",MediaType.APPLICATION_JSON).header("String_Node_Str",MediaType.APPLICATION_JSON).uri(new URI(restURI)).entity(job).build();
    clientResponse=genieClient.execute(req);
    if (clientResponse != null && clientResponse.isSuccess()) {
      return clientResponse.getEntity(Job.class);
    }
 else {
      if (clientResponse != null) {
        throw new GenieException(clientResponse.getStatus(),clientResponse.getEntity(String.class));
      }
 else {
        throw new GenieException(HttpURLConnection.HTTP_INTERNAL_ERROR,"String_Node_Str");
      }
    }
  }
 catch (  final Exception e) {
    if (e instanceof GenieException) {
      throw (GenieException)e;
    }
    final String msg="String_Node_Str" + e.getMessage();
    throw new GenieException(HttpURLConnection.HTTP_INTERNAL_ERROR,msg);
  }
 finally {
    if (clientResponse != null) {
      clientResponse.close();
    }
  }
}

Fixed version (ground truth):
private Job executeRequest(final Verb method,final String restURI,final Job job) throws GenieException {
  HttpResponse clientResponse=null;
  try {
    LOG.info("String_Node_Str" + restURI);
    final RestClient genieClient=(RestClient)ClientFactory.getNamedClient("String_Node_Str");
    final Set<Class<?>> providers=new HashSet<Class<?>>();
    providers.add(JacksonJaxbJsonProvider.class);
    providers.add(JacksonJsonProvider.class);
    final ClientConfig clientConfig=new DefaultClientConfig(providers);
    final Client jerseyClient=Client.create(clientConfig);
    genieClient.setJerseyClient(jerseyClient);
    final HttpRequest req=HttpRequest.newBuilder().verb(method).header(HttpHeaders.ACCEPT,MediaType.APPLICATION_JSON).header(HttpHeaders.CONTENT_TYPE,MediaType.APPLICATION_JSON).uri(new URI(restURI)).entity(job).build();
    clientResponse=genieClient.execute(req);
    if (clientResponse != null && clientResponse.isSuccess()) {
      return clientResponse.getEntity(Job.class);
    }
 else {
      if (clientResponse != null) {
        throw new GenieException(clientResponse.getStatus(),clientResponse.getEntity(String.class));
      }
 else {
        throw new GenieException(HttpURLConnection.HTTP_INTERNAL_ERROR,"String_Node_Str");
      }
    }
  }
 catch (  final Exception e) {
    if (e instanceof GenieException) {
      throw (GenieException)e;
    }
    final String msg="String_Node_Str" + e.getMessage();
    throw new GenieException(HttpURLConnection.HTTP_INTERNAL_ERROR,msg);
  }
 finally {
    if (clientResponse != null) {
      clientResponse.close();
    }
  }
}