Program: 160343
Project: 160343
Buggy source:
private static void setup(){
  Path home=Paths.get("String_Node_Str" + new Random().nextInt(1000000000));
  if (Files.exists(home)) {
    try {
      PathUtils.removeDirectoryWithContent(home);
    }
 catch (    IOException e) {
      e.printStackTrace();
    }
  }
  BimServerConfig config=new BimServerConfig();
  config.setHomeDir(home);
  config.setStartEmbeddedWebServer(true);
  config.setPort(7010);
  config.setResourceFetcher(new LocalDevelopmentResourceFetcher(Paths.get("String_Node_Str")));
  config.setClassPath(System.getProperty("String_Node_Str"));
  bimServer=new BimServer(config);
  try {
    bimServer.setEmbeddedWebServer(new EmbeddedWebServer(bimServer,Paths.get("String_Node_Str"),false));
    bimServer.start();
    BimServerClientInterface client=bimServer.getBimServerClientFactory().create();
    client.getAdminInterface().setup("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str");
    client.disconnect();
    client=bimServer.getBimServerClientFactory().create(new UsernamePasswordAuthenticationInfo("String_Node_Str","String_Node_Str"));
    client.getPluginInterface().installPluginBundle("String_Node_Str","String_Node_Str","String_Node_Str",null,null);
    client.getPluginInterface().installPluginBundle("String_Node_Str","String_Node_Str","String_Node_Str",null,null);
    client.getPluginInterface().installPluginBundle("String_Node_Str","String_Node_Str","String_Node_Str",null,null);
    client.disconnect();
  }
 catch (  Exception e) {
    e.printStackTrace();
    fail(e.getMessage());
  }
}

Fixed version (ground truth):
private static void setup(){
  Path home=Paths.get("String_Node_Str" + new Random().nextInt(1000000000));
  if (Files.exists(home)) {
    try {
      PathUtils.removeDirectoryWithContent(home);
    }
 catch (    IOException e) {
      e.printStackTrace();
    }
  }
  BimServerConfig config=new BimServerConfig();
  config.setHomeDir(home);
  config.setStartEmbeddedWebServer(true);
  config.setPort(7010);
  config.setResourceFetcher(new LocalDevelopmentResourceFetcher(Paths.get("String_Node_Str")));
  config.setClassPath(System.getProperty("String_Node_Str"));
  bimServer=new BimServer(config);
  try {
    bimServer.setEmbeddedWebServer(new EmbeddedWebServer(bimServer,Paths.get("String_Node_Str"),false));
    bimServer.start();
    BimServerClientInterface client=bimServer.getBimServerClientFactory().create();
    client.getAdminInterface().setup("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str");
    client.disconnect();
    client=bimServer.getBimServerClientFactory().create(new UsernamePasswordAuthenticationInfo("String_Node_Str","String_Node_Str"));
    String pluginsString=System.getProperty("String_Node_Str");
    if (pluginsString != null) {
      String[] plugins=pluginsString.split("String_Node_Str");
      Path[] paths=new Path[plugins.length];
      int i=0;
      for (      String p : plugins) {
        paths[i++]=Paths.get(p);
      }
      LocalDevPluginLoader.loadPlugins(bimServer.getPluginManager(),paths);
    }
 else {
      client.getPluginInterface().installPluginBundle("String_Node_Str","String_Node_Str","String_Node_Str",null,null);
      client.getPluginInterface().installPluginBundle("String_Node_Str","String_Node_Str","String_Node_Str",null,null);
      client.getPluginInterface().installPluginBundle("String_Node_Str","String_Node_Str","String_Node_Str",null,null);
    }
    client.disconnect();
  }
 catch (  Exception e) {
    e.printStackTrace();
    fail(e.getMessage());
  }
}