Program: 49789
Project: 49789
Buggy source:
public void handleMap(Node node){
  BeanDefinitionBuilder mapConfigBuilder=createBeanBuilder(MapConfig.class,"String_Node_Str");
  final AbstractBeanDefinition beanDefinition=mapConfigBuilder.getBeanDefinition();
  final Node attName=node.getAttributes().getNamedItem("String_Node_Str");
  final String name=getValue(attName);
  mapConfigBuilder.addPropertyValue("String_Node_Str",name);
  fillValues(node,mapConfigBuilder,"String_Node_Str","String_Node_Str");
  for (  org.w3c.dom.Node n : new IterableNodeList(node.getChildNodes(),Node.ELEMENT_NODE)) {
    final String nname=cleanNodeName(n.getNodeName());
    if ("String_Node_Str".equals(nname)) {
      handleMapStoreConfig(n,mapConfigBuilder);
    }
 else     if ("String_Node_Str".equals(nname)) {
      handleNearCacheConfig(n,mapConfigBuilder);
    }
 else     if ("String_Node_Str".equals(nname)) {
      final BeanDefinitionBuilder wanReplicationRefBuilder=createBeanBuilder(WanReplicationRef.class,"String_Node_Str");
      final AbstractBeanDefinition wanReplicationRefBeanDefinition=wanReplicationRefBuilder.getBeanDefinition();
      fillValues(n,wanReplicationRefBuilder);
      mapConfigBuilder.addPropertyValue("String_Node_Str",wanReplicationRefBeanDefinition);
    }
  }
  mapConfigManagedMap.put(name,beanDefinition);
  mapConfigBuilder=null;
}

Fixed version (ground truth):
public void handleMap(Node node){
  BeanDefinitionBuilder mapConfigBuilder=createBeanBuilder(MapConfig.class,"String_Node_Str");
  final AbstractBeanDefinition beanDefinition=mapConfigBuilder.getBeanDefinition();
  final Node attName=node.getAttributes().getNamedItem("String_Node_Str");
  final String name=getValue(attName);
  mapConfigBuilder.addPropertyValue("String_Node_Str",name);
  fillAttributeValues(node,mapConfigBuilder,"String_Node_Str","String_Node_Str");
  final BeanDefinitionBuilder maxSizeConfigBuilder=createBeanBuilder(MaxSizeConfig.class,"String_Node_Str");
  final AbstractBeanDefinition maxSizeConfigBeanDefinition=maxSizeConfigBuilder.getBeanDefinition();
  mapConfigBuilder.addPropertyValue("String_Node_Str",maxSizeConfigBeanDefinition);
  final Node maxSizeNode=node.getAttributes().getNamedItem("String_Node_Str");
  if (maxSizeNode != null) {
    maxSizeConfigBuilder.addPropertyValue("String_Node_Str",getValue(maxSizeNode));
  }
  final Node maxSizePolicyNode=node.getAttributes().getNamedItem("String_Node_Str");
  if (maxSizePolicyNode != null) {
    maxSizeConfigBuilder.addPropertyValue(xmlToJavaName(cleanNodeName(maxSizePolicyNode)),getValue(maxSizePolicyNode));
  }
  for (  org.w3c.dom.Node n : new IterableNodeList(node.getChildNodes(),Node.ELEMENT_NODE)) {
    final String nname=cleanNodeName(n.getNodeName());
    if ("String_Node_Str".equals(nname)) {
      handleMapStoreConfig(n,mapConfigBuilder);
    }
 else     if ("String_Node_Str".equals(nname)) {
      handleNearCacheConfig(n,mapConfigBuilder);
    }
 else     if ("String_Node_Str".equals(nname)) {
      final BeanDefinitionBuilder wanReplicationRefBuilder=createBeanBuilder(WanReplicationRef.class,"String_Node_Str");
      final AbstractBeanDefinition wanReplicationRefBeanDefinition=wanReplicationRefBuilder.getBeanDefinition();
      fillValues(n,wanReplicationRefBuilder);
      mapConfigBuilder.addPropertyValue("String_Node_Str",wanReplicationRefBeanDefinition);
    }
  }
  mapConfigManagedMap.put(name,beanDefinition);
  mapConfigBuilder=null;
}