Program: 50553
Project: 50553
Buggy source:
public void parse(final Config config) throws Exception {
  this.config=config;
  final DocumentBuilder builder=DocumentBuilderFactory.newInstance().newDocumentBuilder();
  Document doc=null;
  try {
    doc=builder.parse(in);
    final ByteArrayOutputStream baos=new ByteArrayOutputStream();
    Util.streamXML(doc,baos);
    final byte[] bytes=baos.toByteArray();
    final ByteArrayInputStream bais=new ByteArrayInputStream(bytes);
    config.setXmlConfig(Util.inputStreamToString(bais));
    if ("String_Node_Str".equals(System.getProperty("String_Node_Str"))) {
      logger.log(Level.INFO,"String_Node_Str" + config.getConfigurationUrl());
      logger.log(Level.INFO,"String_Node_Str");
      logger.log(Level.INFO,config.getXmlConfig());
      logger.log(Level.INFO,"String_Node_Str");
      logger.log(Level.INFO,"String_Node_Str");
    }
  }
 catch (  final Exception e) {
    String msgPart="String_Node_Str" + config.getConfigurationFile() + "String_Node_Str";
    if (!usingSystemConfig) {
      msgPart="String_Node_Str";
    }
    String msg="String_Node_Str" + msgPart;
    msg+="String_Node_Str" + e.getMessage();
    msg+="String_Node_Str";
    logger.log(Level.WARNING,msg);
    return;
  }
  final Element docElement=doc.getDocumentElement();
  try {
    docElement.getTextContent();
  }
 catch (  final Throwable e) {
    domLevel3=false;
  }
  final NodeList nodelist=docElement.getChildNodes();
  for (int i=0; i < nodelist.getLength(); i++) {
    final org.w3c.dom.Node node=nodelist.item(i);
    final String nodeName=node.getNodeName();
    if ("String_Node_Str".equals(nodeName)) {
      handleNetwork(node);
    }
 else     if ("String_Node_Str".equals(nodeName)) {
      handleGroup(node);
    }
 else     if ("String_Node_Str".equals(nodeName)) {
      handleProperties(node);
    }
 else     if ("String_Node_Str".equals(nodeName)) {
      handleExecutor(node);
    }
 else     if ("String_Node_Str".equals(nodeName)) {
      handleQueue(node);
    }
 else     if ("String_Node_Str".equals(nodeName)) {
      handleMap(node);
    }
 else     if ("String_Node_Str".equals(nodeName)) {
      handleTopic(node);
    }
  }
}

Fixed version (ground truth):
private void parse(final Config config) throws Exception {
  this.config=config;
  final DocumentBuilder builder=DocumentBuilderFactory.newInstance().newDocumentBuilder();
  Document doc=null;
  try {
    doc=builder.parse(in);
    final ByteArrayOutputStream baos=new ByteArrayOutputStream();
    Util.streamXML(doc,baos);
    final byte[] bytes=baos.toByteArray();
    final ByteArrayInputStream bais=new ByteArrayInputStream(bytes);
    config.setXmlConfig(Util.inputStreamToString(bais));
    if ("String_Node_Str".equals(System.getProperty("String_Node_Str"))) {
      logger.log(Level.INFO,"String_Node_Str" + config.getConfigurationUrl());
      logger.log(Level.INFO,"String_Node_Str");
      logger.log(Level.INFO,config.getXmlConfig());
      logger.log(Level.INFO,"String_Node_Str");
      logger.log(Level.INFO,"String_Node_Str");
    }
  }
 catch (  final Exception e) {
    String msgPart="String_Node_Str" + config.getConfigurationFile() + "String_Node_Str";
    if (!usingSystemConfig) {
      msgPart="String_Node_Str";
    }
    String msg="String_Node_Str" + msgPart;
    msg+="String_Node_Str" + e.getMessage();
    msg+="String_Node_Str";
    logger.log(Level.WARNING,msg);
    return;
  }
  final Element docElement=doc.getDocumentElement();
  try {
    docElement.getTextContent();
  }
 catch (  final Throwable e) {
    domLevel3=false;
  }
  final NodeList nodelist=docElement.getChildNodes();
  for (int i=0; i < nodelist.getLength(); i++) {
    final org.w3c.dom.Node node=nodelist.item(i);
    final String nodeName=node.getNodeName();
    if ("String_Node_Str".equals(nodeName)) {
      handleNetwork(node);
    }
 else     if ("String_Node_Str".equals(nodeName)) {
      handleGroup(node);
    }
 else     if ("String_Node_Str".equals(nodeName)) {
      handleProperties(node);
    }
 else     if ("String_Node_Str".equals(nodeName)) {
      handleExecutor(node);
    }
 else     if ("String_Node_Str".equals(nodeName)) {
      handleQueue(node);
    }
 else     if ("String_Node_Str".equals(nodeName)) {
      handleMap(node);
    }
 else     if ("String_Node_Str".equals(nodeName)) {
      handleTopic(node);
    }
  }
}