Program: 59326
Project: 59326
Buggy source:
@SuppressWarnings("String_Node_Str") public static CubeConfiguration fromMap(Map<String,String> map){
  CubeConfiguration cubeConfiguration=new CubeConfiguration();
  if (map.containsKey(DOCKER_VERSION)) {
    cubeConfiguration.dockerServerVersion=map.get(DOCKER_VERSION);
  }
  if (map.containsKey(DOCKER_URI)) {
    cubeConfiguration.dockerServerUri=map.get(DOCKER_URI);
  }
  if (map.containsKey(BOOT2DOCKER_PATH)) {
    cubeConfiguration.boot2DockerPath=map.get(BOOT2DOCKER_PATH);
  }
  if (map.containsKey(DOCKER_REGISTRY)) {
    cubeConfiguration.dockerRegistry=map.get(DOCKER_REGISTRY);
  }
  if (map.containsKey(DOCKER_CONTAINERS)) {
    String content=map.get(DOCKER_CONTAINERS);
    cubeConfiguration.dockerContainersContent=ConfigUtil.applyExtendsRules((Map<String,Object>)new Yaml().load(content));
  }
  if (map.containsKey(DOCKER_CONTAINERS_FILE)) {
    String location=map.get(DOCKER_CONTAINERS_FILE);
    try {
      cubeConfiguration.dockerContainersContent=ConfigUtil.applyExtendsRules((Map<String,Object>)new Yaml().load(new FileInputStream(location)));
    }
 catch (    FileNotFoundException e) {
      throw new IllegalArgumentException(e);
    }
  }
  if (map.containsKey(AUTO_START_CONTAINERS)) {
    cubeConfiguration.autoStartContainers=ConfigUtil.trim(map.get(AUTO_START_CONTAINERS).split("String_Node_Str"));
  }
  if (map.containsKey(SHOULD_ALLOW_TO_CONNECT_TO_RUNNING_CONTAINERS)) {
    cubeConfiguration.shouldAllowToConnectToRunningContainers=Boolean.parseBoolean(map.get(SHOULD_ALLOW_TO_CONNECT_TO_RUNNING_CONTAINERS));
  }
  return cubeConfiguration;
}

Fixed version (ground truth):
@SuppressWarnings("String_Node_Str") public static CubeConfiguration fromMap(Map<String,String> map){
  CubeConfiguration cubeConfiguration=new CubeConfiguration();
  if (map.containsKey(DOCKER_VERSION)) {
    cubeConfiguration.dockerServerVersion=map.get(DOCKER_VERSION);
  }
  if (map.containsKey(DOCKER_URI)) {
    cubeConfiguration.dockerServerUri=map.get(DOCKER_URI);
  }
  if (map.containsKey(BOOT2DOCKER_PATH)) {
    cubeConfiguration.boot2DockerPath=map.get(BOOT2DOCKER_PATH);
  }
  if (map.containsKey(USERNAME)) {
    cubeConfiguration.username=map.get(USERNAME);
  }
  if (map.containsKey(PASSWORD)) {
    cubeConfiguration.password=map.get(PASSWORD);
  }
  if (map.containsKey(EMAIL)) {
    cubeConfiguration.email=map.get(EMAIL);
  }
  if (map.containsKey(CERT_PATH)) {
    cubeConfiguration.certPath=map.get(CERT_PATH);
  }
  if (map.containsKey(DOCKER_REGISTRY)) {
    cubeConfiguration.dockerRegistry=map.get(DOCKER_REGISTRY);
  }
  if (map.containsKey(DOCKER_CONTAINERS)) {
    String content=map.get(DOCKER_CONTAINERS);
    cubeConfiguration.dockerContainersContent=ConfigUtil.applyExtendsRules((Map<String,Object>)new Yaml().load(content));
  }
  if (map.containsKey(DOCKER_CONTAINERS_FILE)) {
    String location=map.get(DOCKER_CONTAINERS_FILE);
    try {
      cubeConfiguration.dockerContainersContent=ConfigUtil.applyExtendsRules((Map<String,Object>)new Yaml().load(new FileInputStream(location)));
    }
 catch (    FileNotFoundException e) {
      throw new IllegalArgumentException(e);
    }
  }
  if (map.containsKey(AUTO_START_CONTAINERS)) {
    cubeConfiguration.autoStartContainers=ConfigUtil.trim(map.get(AUTO_START_CONTAINERS).split("String_Node_Str"));
  }
  if (map.containsKey(SHOULD_ALLOW_TO_CONNECT_TO_RUNNING_CONTAINERS)) {
    cubeConfiguration.shouldAllowToConnectToRunningContainers=Boolean.parseBoolean(map.get(SHOULD_ALLOW_TO_CONNECT_TO_RUNNING_CONTAINERS));
  }
  return cubeConfiguration;
}