Program: 105195
Project: 105195
Buggy source:
@Override public boolean configure(String name,Map<String,Object> params) throws ConfigurationException {
  _name=(String)params.get(NAME);
  if (_name == null) {
    throw new ConfigurationException("String_Node_Str");
  }
  _guid=(String)params.get(GUID);
  if (_guid == null) {
    throw new ConfigurationException("String_Node_Str");
  }
  _zoneId=(String)params.get(ZONE_ID);
  if (_zoneId == null) {
    throw new ConfigurationException("String_Node_Str");
  }
  _hostName=(String)params.get(HOST_NAME);
  if (Strings.isNullOrEmpty(_hostName)) {
    throw new ConfigurationException("String_Node_Str");
  }
  String cmsUser=(String)params.get(CMS_USER);
  if (Strings.isNullOrEmpty(cmsUser)) {
    throw new ConfigurationException("String_Node_Str");
  }
  String cmsUserPassBase64=(String)params.get(CMS_USER_PASSWORD);
  if (Strings.isNullOrEmpty(cmsUserPassBase64)) {
    throw new ConfigurationException("String_Node_Str");
  }
  String port=(String)params.get(PORT);
  if (Strings.isNullOrEmpty(port)) {
    throw new ConfigurationException("String_Node_Str");
  }
  String apiVersion=(String)params.get(API_VERSION);
  if (Strings.isNullOrEmpty(apiVersion)) {
    throw new ConfigurationException("String_Node_Str");
  }
 else   if (!Pattern.matches("String_Node_Str",apiVersion)) {
    throw new ConfigurationException("String_Node_Str");
  }
  String apiRelativePath=(String)params.get(API_RELATIVE_PATH);
  if (Strings.isNullOrEmpty(apiRelativePath) || !apiRelativePath.contains(apiVersion)) {
    throw new ConfigurationException("String_Node_Str");
  }
  String retryCount=(String)params.get(RETRY_COUNT);
  if (!Strings.isNullOrEmpty(retryCount)) {
    try {
      _numRetries=Integer.parseInt(retryCount);
    }
 catch (    NumberFormatException ex) {
      throw new ConfigurationException("String_Node_Str");
    }
    if ((_numRetries < 1) || (_numRetries > 10)) {
      throw new ConfigurationException("String_Node_Str");
    }
  }
 else {
    throw new ConfigurationException("String_Node_Str");
  }
  String retryInterval=(String)params.get(RETRY_INTERVAL);
  if (!Strings.isNullOrEmpty(retryInterval)) {
    try {
      _retryInterval=Integer.parseInt(retryInterval);
    }
 catch (    NumberFormatException ex) {
      throw new ConfigurationException("String_Node_Str");
    }
    if ((_retryInterval < 0) || (_retryInterval > 10000)) {
      throw new ConfigurationException("String_Node_Str");
    }
  }
 else {
    throw new ConfigurationException("String_Node_Str");
  }
  _relativePath=new StringBuffer().append("String_Node_Str").append(_hostName).append("String_Node_Str").append(port).append(apiRelativePath).toString();
  String cmsUserPass=org.apache.commons.codec.binary.StringUtils.newStringUtf8(Base64.decodeBase64(cmsUserPassBase64));
  _cmsUserInfo=new String[]{CMS_USER_ENTEPRISE_NAME,cmsUser,cmsUserPass};
  _nuageVspCmsId=(String)params.get(NUAGE_VSP_CMS_ID);
  loadNuageClient();
  try {
    login();
  }
 catch (  ExecutionException|ConfigurationException e) {
    s_logger.error("String_Node_Str" + name + "String_Node_Str"+ cmsUser,e);
    throw new CloudRuntimeException("String_Node_Str" + name + "String_Node_Str"+ cmsUser,e);
  }
  return true;
}

Fixed version (ground truth):
@Override public boolean configure(String name,Map<String,Object> params) throws ConfigurationException {
  _name=(String)params.get(NAME);
  if (_name == null) {
    throw new ConfigurationException("String_Node_Str");
  }
  _guid=(String)params.get(GUID);
  if (_guid == null) {
    throw new ConfigurationException("String_Node_Str");
  }
  _zoneId=(String)params.get(ZONE_ID);
  if (_zoneId == null) {
    throw new ConfigurationException("String_Node_Str");
  }
  _hostName=(String)params.get(HOST_NAME);
  if (Strings.isNullOrEmpty(_hostName)) {
    throw new ConfigurationException("String_Node_Str");
  }
  String cmsUser=(String)params.get(CMS_USER);
  if (Strings.isNullOrEmpty(cmsUser)) {
    throw new ConfigurationException("String_Node_Str");
  }
  String cmsUserPassBase64=(String)params.get(CMS_USER_PASSWORD);
  if (Strings.isNullOrEmpty(cmsUserPassBase64)) {
    throw new ConfigurationException("String_Node_Str");
  }
  String port=(String)params.get(PORT);
  if (Strings.isNullOrEmpty(port)) {
    throw new ConfigurationException("String_Node_Str");
  }
  String apiVersion=(String)params.get(API_VERSION);
  if (Strings.isNullOrEmpty(apiVersion)) {
    throw new ConfigurationException("String_Node_Str");
  }
 else   if (!Pattern.matches("String_Node_Str",apiVersion)) {
    throw new ConfigurationException("String_Node_Str");
  }
  String apiRelativePath=(String)params.get(API_RELATIVE_PATH);
  if (Strings.isNullOrEmpty(apiRelativePath) || !apiRelativePath.contains(apiVersion)) {
    throw new ConfigurationException("String_Node_Str");
  }
  String retryCount=(String)params.get(RETRY_COUNT);
  if (!Strings.isNullOrEmpty(retryCount)) {
    try {
      _numRetries=Integer.parseInt(retryCount);
    }
 catch (    NumberFormatException ex) {
      throw new ConfigurationException("String_Node_Str");
    }
    if ((_numRetries < 1) || (_numRetries > 10)) {
      throw new ConfigurationException("String_Node_Str");
    }
  }
 else {
    throw new ConfigurationException("String_Node_Str");
  }
  String retryInterval=(String)params.get(RETRY_INTERVAL);
  if (!Strings.isNullOrEmpty(retryInterval)) {
    try {
      _retryInterval=Integer.parseInt(retryInterval);
    }
 catch (    NumberFormatException ex) {
      throw new ConfigurationException("String_Node_Str");
    }
    if ((_retryInterval < 0) || (_retryInterval > 10000)) {
      throw new ConfigurationException("String_Node_Str");
    }
  }
 else {
    throw new ConfigurationException("String_Node_Str");
  }
  _relativePath=new StringBuffer().append("String_Node_Str").append(_hostName).append("String_Node_Str").append(port).append(apiRelativePath).toString();
  String cmsUserPass=NuageVspUtil.decodePassword(cmsUserPassBase64);
  _cmsUserInfo=new String[]{CMS_USER_ENTEPRISE_NAME,cmsUser,cmsUserPass};
  _nuageVspCmsId=(String)params.get(NUAGE_VSP_CMS_ID);
  loadNuageClient();
  try {
    login();
  }
 catch (  ExecutionException|ConfigurationException e) {
    s_logger.error("String_Node_Str" + name + "String_Node_Str"+ cmsUser,e);
    throw new CloudRuntimeException("String_Node_Str" + name + "String_Node_Str"+ cmsUser,e);
  }
  return true;
}