Program: 72367
Project: 72367
Buggy source:
@SuppressWarnings("String_Node_Str") @Override public void run(){
  Map<String,Object> urlSpec=(Map<String,Object>)_options.get("String_Node_Str");
  HttpClient client=_vertx.createHttpClient(new HttpClientOptions().setDefaultHost((String)urlSpec.get("String_Node_Str")).setDefaultPort((int)urlSpec.get("String_Node_Str")).setKeepAlive((boolean)_options.get("String_Node_Str")).setConnectTimeout((Integer)_options.get("String_Node_Str")).setSsl(urlSpec.get("String_Node_Str").toString().equalsIgnoreCase("String_Node_Str")));
  String query="String_Node_Str";
  Object queryObject=urlSpec.get("String_Node_Str");
  if (queryObject != null) {
    String querySpec=queryObject.toString().trim();
    if (!querySpec.equals("String_Node_Str") && !querySpec.startsWith("String_Node_Str")) {
      query="String_Node_Str" + querySpec;
    }
  }
  String uri=urlSpec.get("String_Node_Str") + query;
  Object complete=_options.get("String_Node_Str");
  boolean outputCompleteResponseOnly=true;
  if (complete instanceof Boolean && !(Boolean)complete) {
    outputCompleteResponseOnly=false;
  }
  HttpMethod httpMethod=HttpMethod.valueOf(((String)_options.get("String_Node_Str")).trim().toUpperCase());
  HttpClientRequest request=client.request(httpMethod,uri,new HttpClientResponseHandler(_requestObj,client,outputCompleteResponseOnly,_requestNumber));
  request.setTimeout((Integer)_options.get("String_Node_Str"));
  request.exceptionHandler(new HttpClientExceptionHandler(_requestObj,client,_requestNumber));
  Map<String,Object> headers=(Map<String,Object>)_options.get("String_Node_Str");
  boolean isImage=false;
  String imageType="String_Node_Str";
  if (!headers.isEmpty()) {
    for (    String key : headers.keySet()) {
      Object value=headers.get(key);
      if (key.equalsIgnoreCase("String_Node_Str") && ((String)value).startsWith("String_Node_Str")) {
        isImage=true;
        imageType=((String)value).substring(6);
      }
      if (value instanceof String) {
        request.putHeader((String)key,(String)value);
      }
 else       if (value instanceof Integer) {
        request.putHeader((String)key,((Integer)value).toString());
      }
 else       if (value instanceof Iterable) {
        request.putHeader((String)key,(Iterable<String>)value);
      }
    }
  }
  if (isImage) {
    AWTImageToken token=(AWTImageToken)_options.get("String_Node_Str");
    Image image=token.getValue();
    BufferedImage bufferedImage;
    if (image instanceof BufferedImage) {
      bufferedImage=(BufferedImage)image;
    }
 else {
      bufferedImage=new BufferedImage(image.getWidth(null),image.getHeight(null),BufferedImage.TYPE_INT_ARGB);
      Graphics2D bGr=bufferedImage.createGraphics();
      bGr.drawImage(image,0,0,null);
      bGr.dispose();
    }
    ByteArrayOutputStream os=new ByteArrayOutputStream();
    try {
      ImageIO.write(bufferedImage,imageType,os);
      request.putHeader("String_Node_Str",Integer.toString(os.toByteArray().length));
      request.write(Buffer.buffer(os.toByteArray()));
    }
 catch (    IOException e) {
      String message="String_Node_Str" + e.toString();
      _error(_requestObj,message);
    }
  }
 else {
    Object bodyObject=_options.get("String_Node_Str");
    if (bodyObject != null) {
      String body=bodyObject.toString();
      if (body != null) {
        request.putHeader("String_Node_Str",Integer.toString(body.length()));
        request.write(body);
      }
    }
  }
  request.end();
}

Fixed version (ground truth):
@SuppressWarnings("String_Node_Str") @Override public void run(){
  Map<String,Object> urlSpec=(Map<String,Object>)_options.get("String_Node_Str");
  HttpClient client=_vertx.createHttpClient(new HttpClientOptions().setDefaultHost((String)urlSpec.get("String_Node_Str")).setDefaultPort((int)urlSpec.get("String_Node_Str")).setKeepAlive((boolean)_options.get("String_Node_Str")).setConnectTimeout((Integer)_options.get("String_Node_Str")).setSsl(urlSpec.get("String_Node_Str").toString().equalsIgnoreCase("String_Node_Str")));
  String query="String_Node_Str";
  Object queryObject=urlSpec.get("String_Node_Str");
  if (queryObject != null) {
    String querySpec=queryObject.toString().trim();
    if (!querySpec.equals("String_Node_Str") && !querySpec.startsWith("String_Node_Str")) {
      query="String_Node_Str" + querySpec;
    }
  }
  String uri=urlSpec.get("String_Node_Str") + query;
  Object complete=_options.get("String_Node_Str");
  boolean outputCompleteResponseOnly=true;
  if (complete instanceof Boolean && !(Boolean)complete) {
    outputCompleteResponseOnly=false;
  }
  HttpMethod httpMethod=HttpMethod.valueOf(((String)_options.get("String_Node_Str")).trim().toUpperCase());
  HttpClientRequest request=client.request(httpMethod,uri,new HttpClientResponseHandler(_requestObj,client,outputCompleteResponseOnly,_requestNumber));
  request.setTimeout((Integer)_options.get("String_Node_Str"));
  request.exceptionHandler(new HttpClientExceptionHandler(_requestObj,client,_requestNumber));
  Map<String,Object> headers=(Map<String,Object>)_options.get("String_Node_Str");
  boolean isImage=false;
  String imageType="String_Node_Str";
  if (!headers.isEmpty()) {
    for (    Entry<String,Object> entry : headers.entrySet()) {
      String key=entry.getKey();
      Object value=entry.getValue();
      if (key.equalsIgnoreCase("String_Node_Str") && ((String)value).startsWith("String_Node_Str")) {
        isImage=true;
        imageType=((String)value).substring(6);
      }
      if (value instanceof String) {
        request.putHeader((String)key,(String)value);
      }
 else       if (value instanceof Integer) {
        request.putHeader((String)key,((Integer)value).toString());
      }
 else       if (value instanceof Iterable) {
        request.putHeader((String)key,(Iterable<String>)value);
      }
    }
  }
  if (isImage) {
    AWTImageToken token=(AWTImageToken)_options.get("String_Node_Str");
    Image image=token.getValue();
    BufferedImage bufferedImage;
    if (image instanceof BufferedImage) {
      bufferedImage=(BufferedImage)image;
    }
 else {
      bufferedImage=new BufferedImage(image.getWidth(null),image.getHeight(null),BufferedImage.TYPE_INT_ARGB);
      Graphics2D bGr=bufferedImage.createGraphics();
      bGr.drawImage(image,0,0,null);
      bGr.dispose();
    }
    ByteArrayOutputStream os=new ByteArrayOutputStream();
    try {
      ImageIO.write(bufferedImage,imageType,os);
      request.putHeader("String_Node_Str",Integer.toString(os.toByteArray().length));
      request.write(Buffer.buffer(os.toByteArray()));
    }
 catch (    IOException e) {
      String message="String_Node_Str" + e.toString();
      _error(_requestObj,message);
    }
  }
 else {
    Object bodyObject=_options.get("String_Node_Str");
    if (bodyObject != null) {
      String body=bodyObject.toString();
      if (body != null) {
        request.putHeader("String_Node_Str",Integer.toString(body.length()));
        request.write(body);
      }
    }
  }
  request.end();
}