Program: 61192
Project: 61192
Buggy source:
@RequestMapping(method=RequestMethod.GET,value="String_Node_Str") public ModelAndView getBundles() throws NotFoundException, MissingConfKeyException {
  ConnectorInfoManager manager=ConnectorInstanceLoader.getConnectorManager();
  List<ConnectorInfo> bundles=manager.getConnectorInfos();
  if (LOG.isDebugEnabled() && bundles != null) {
    LOG.debug("String_Node_Str" + bundles.size());
    for (    ConnectorInfo bundle : bundles) {
      LOG.debug("String_Node_Str" + bundle.getConnectorDisplayName());
    }
  }
  ConnectorBundleTO connectorBundleTO=null;
  ConnectorKey key=null;
  ConfigurationProperties properties=null;
  List<ConnectorBundleTO> connectorBundleTOs=new ArrayList<ConnectorBundleTO>();
  for (  ConnectorInfo bundle : bundles) {
    connectorBundleTO=new ConnectorBundleTO();
    connectorBundleTO.setDisplayName(bundle.getConnectorDisplayName());
    key=bundle.getConnectorKey();
    if (LOG.isDebugEnabled()) {
      LOG.debug("String_Node_Str" + key.getBundleName() + "String_Node_Str"+ key.getBundleVersion()+ "String_Node_Str"+ key.getConnectorName());
    }
    connectorBundleTO.setBundleName(key.getBundleName());
    connectorBundleTO.setConnectorName(key.getConnectorName());
    connectorBundleTO.setVersion(key.getBundleVersion());
    properties=bundle.createDefaultAPIConfiguration().getConfigurationProperties();
    connectorBundleTO.setProperties(properties.getPropertyNames());
    if (LOG.isDebugEnabled()) {
      LOG.debug("String_Node_Str" + connectorBundleTO.getProperties());
    }
    connectorBundleTOs.add(connectorBundleTO);
  }
  return new ModelAndView().addObject(connectorBundleTOs);
}

Fixed version (ground truth):
@RequestMapping(method=RequestMethod.GET,value="String_Node_Str") public List<ConnectorBundleTO> getBundles() throws NotFoundException, MissingConfKeyException {
  ConnectorInfoManager manager=ConnectorInstanceLoader.getConnectorManager();
  List<ConnectorInfo> bundles=manager.getConnectorInfos();
  if (LOG.isDebugEnabled() && bundles != null) {
    LOG.debug("String_Node_Str" + bundles.size());
    for (    ConnectorInfo bundle : bundles) {
      LOG.debug("String_Node_Str" + bundle.getConnectorDisplayName());
    }
  }
  ConnectorBundleTO connectorBundleTO=null;
  ConnectorKey key=null;
  ConfigurationProperties properties=null;
  List<ConnectorBundleTO> connectorBundleTOs=new ArrayList<ConnectorBundleTO>();
  for (  ConnectorInfo bundle : bundles) {
    connectorBundleTO=new ConnectorBundleTO();
    connectorBundleTO.setDisplayName(bundle.getConnectorDisplayName());
    key=bundle.getConnectorKey();
    if (LOG.isDebugEnabled()) {
      LOG.debug("String_Node_Str" + key.getBundleName() + "String_Node_Str"+ key.getBundleVersion()+ "String_Node_Str"+ key.getConnectorName());
    }
    connectorBundleTO.setBundleName(key.getBundleName());
    connectorBundleTO.setConnectorName(key.getConnectorName());
    connectorBundleTO.setVersion(key.getBundleVersion());
    properties=bundle.createDefaultAPIConfiguration().getConfigurationProperties();
    connectorBundleTO.setProperties(properties.getPropertyNames());
    if (LOG.isDebugEnabled()) {
      LOG.debug("String_Node_Str" + connectorBundleTO.getProperties());
    }
    connectorBundleTOs.add(connectorBundleTO);
  }
  return connectorBundleTOs;
}