Program: 29521
Project: 29521
Buggy source:
/** 
 * <p> This method abstracts the physical response to return a consistent data structure.</p>
 */
@Override public Map<String,Object> getResponse(){
  Map<String,Object> result=new HashMap<String,Object>(5);
  result.put("String_Node_Str",getResponseCode());
  result.put("String_Node_Str",getResponseBody());
  String contentType=response.getHeader("String_Node_Str");
  if (contentType != null) {
    String responseBody=getResponseBody();
    contentType=contentType.toLowerCase(GuiUtil.guiLocale);
    if (contentType.startsWith("String_Node_Str")) {
      InputStream input=null;
      try {
        XMLInputFactory inputFactory=XMLInputFactory.newInstance();
        inputFactory.setProperty(XMLInputFactory.IS_VALIDATING,false);
        input=new ByteArrayInputStream(responseBody.trim().getBytes("String_Node_Str"));
        XMLStreamReader parser=inputFactory.createXMLStreamReader(input);
        while (parser.hasNext()) {
          int event=parser.next();
switch (event) {
case XMLStreamConstants.START_ELEMENT:
{
              if ("String_Node_Str".equals(parser.getLocalName())) {
                result.put("String_Node_Str",processXmlMap(parser));
              }
              break;
            }
default :
          break;
      }
    }
  }
 catch (  Exception ex) {
    Logger.getLogger(RestResponse.class.getName()).log(Level.SEVERE,null,ex);
    throw new RuntimeException(ex);
  }
 finally {
    try {
      input.close();
    }
 catch (    IOException ex) {
      Logger.getLogger(RestResponse.class.getName()).log(Level.SEVERE,null,ex);
    }
  }
}
 else if (contentType.startsWith("String_Node_Str")) {
  result.put("String_Node_Str",JSONUtil.jsonToJava(responseBody));
}
 else {
  System.out.println("String_Node_Str" + contentType + "String_Node_Str");
}
}
return result;
}

Fixed version (ground truth):
/** 
 * <p> This method abstracts the physical response to return a consistent data structure.</p>
 */
@Override public Map<String,Object> getResponse(){
  Map<String,Object> result=new HashMap<String,Object>(5);
  result.put("String_Node_Str",getResponseCode());
  result.put("String_Node_Str",getResponseBody());
  String contentType=response.getHeader("String_Node_Str");
  if (contentType != null) {
    String responseBody=getResponseBody();
    contentType=contentType.toLowerCase(GuiUtil.guiLocale);
    if (contentType.startsWith("String_Node_Str")) {
      InputStream input=null;
      try {
        XMLInputFactory inputFactory=XMLInputFactory.newInstance();
        inputFactory.setProperty(XMLInputFactory.IS_VALIDATING,false);
        input=new ByteArrayInputStream(responseBody.trim().getBytes("String_Node_Str"));
        XMLStreamReader parser=inputFactory.createXMLStreamReader(input);
        while (parser.hasNext()) {
          int event=parser.next();
switch (event) {
case XMLStreamConstants.START_ELEMENT:
{
              if ("String_Node_Str".equals(parser.getLocalName())) {
                result.put("String_Node_Str",processXmlMap(parser));
              }
              break;
            }
default :
          break;
      }
    }
  }
 catch (  Exception ex) {
    Logger.getLogger(RestResponse.class.getName()).log(Level.SEVERE,null,ex);
    throw new RuntimeException(ex);
  }
 finally {
    try {
      if (input != null) {
        input.close();
      }
    }
 catch (    IOException ex) {
      Logger.getLogger(RestResponse.class.getName()).log(Level.SEVERE,null,ex);
    }
  }
}
 else if (contentType.startsWith("String_Node_Str")) {
  result.put("String_Node_Str",JSONUtil.jsonToJava(responseBody));
}
 else {
  System.out.println("String_Node_Str" + contentType + "String_Node_Str");
}
}
return result;
}