Program: 31001
Project: 31001
Buggy source:
public static void main(String[] args) throws Exception {
  System.err.printf("String_Node_Str",getVersion());
  if (args.length < 1) {
    System.err.println("String_Node_Str");
    return;
  }
  if (Os.type == Os._32Bit) {
    System.err.println("String_Node_Str");
    return;
  }
  final CharSequenceObjHashMap<String> optHash=hashArgs(args);
  String dir=optHash.get("String_Node_Str");
  extractSite(dir,optHash.get("String_Node_Str") != null);
  File conf=new File(dir,"String_Node_Str");
  if (!conf.exists()) {
    System.err.println("String_Node_Str" + conf);
    return;
  }
  final ServerConfiguration configuration=new ServerConfiguration(conf);
  configureLoggers(configuration);
  final SimpleUrlMatcher matcher=new SimpleUrlMatcher();
  final Factory factory=new Factory(configuration.getDbPath().getAbsolutePath(),configuration.getDbPoolIdleTimeout(),configuration.getDbReaderPoolSize());
  matcher.put("String_Node_Str",new ImportHandler(configuration,factory));
  matcher.put("String_Node_Str",new QueryHandler(factory,configuration));
  matcher.put("String_Node_Str",new CsvHandler(factory,configuration));
  matcher.put("String_Node_Str",new ExistenceCheckHandler(factory));
  matcher.setDefaultHandler(new StaticContentHandler(configuration));
  StringBuilder welcome=Misc.getThreadLocalBuilder();
  final HttpServer server=new HttpServer(configuration,matcher);
  server.getJobs().addAll(LogFactory.INSTANCE.getJobs());
  factory.exportJobs(server.getJobs());
  if (!server.start(configuration.getHttpQueueDepth())) {
    welcome.append("String_Node_Str").append(configuration.getHttpIP()).append(':').append(configuration.getHttpPort());
    welcome.append("String_Node_Str");
    System.err.println(welcome);
    System.out.println(new Date() + "String_Node_Str");
  }
 else {
    welcome.append("String_Node_Str").append(configuration.getHttpIP()).append(':').append(configuration.getHttpPort());
    if (configuration.getSslConfig().isSecure()) {
      welcome.append("String_Node_Str");
    }
 else {
      welcome.append("String_Node_Str");
    }
    System.err.println(welcome);
    System.out.println(new Date() + "String_Node_Str");
    if (Os.type != Os.WINDOWS && optHash.get("String_Node_Str") == null) {
      Signal.handle(new Signal("String_Node_Str"),new SignalHandler(){
        public void handle(        Signal signal){
        }
      }
);
    }
    Runtime.getRuntime().addShutdownHook(new Thread(new Runnable(){
      public void run(){
        System.out.println(new Date() + "String_Node_Str");
        server.halt();
        factory.close();
      }
    }
));
  }
}

Fixed version (ground truth):
public static void main(String[] args) throws Exception {
  System.err.printf("String_Node_Str",getVersion());
  if (args.length < 1) {
    System.err.println("String_Node_Str");
    return;
  }
  if (Os.type == Os._32Bit) {
    System.err.println("String_Node_Str");
    return;
  }
  final CharSequenceObjHashMap<String> optHash=hashArgs(args);
  String dir=optHash.get("String_Node_Str");
  extractSite(dir,optHash.get("String_Node_Str") != null);
  File conf=new File(dir,"String_Node_Str");
  if (!conf.exists()) {
    System.err.println("String_Node_Str" + conf);
    return;
  }
  final ServerConfiguration configuration=new ServerConfiguration(conf);
  configureLoggers(configuration);
  final Factory factory=new Factory(configuration.getDbPath().getAbsolutePath(),configuration.getDbPoolIdleTimeout(),configuration.getDbReaderPoolSize());
  final FactoryEventLogger factoryEventLogger=new FactoryEventLogger(factory,10000000,5000,MilliClock.INSTANCE);
  final SimpleUrlMatcher matcher=new SimpleUrlMatcher();
  matcher.put("String_Node_Str",new ImportHandler(configuration,factory));
  matcher.put("String_Node_Str",new QueryHandler(factory,configuration));
  matcher.put("String_Node_Str",new CsvHandler(factory,configuration));
  matcher.put("String_Node_Str",new ExistenceCheckHandler(factory));
  matcher.setDefaultHandler(new StaticContentHandler(configuration));
  final HttpServer server=new HttpServer(configuration,matcher);
  ObjHashSet<Job> jobs=server.getJobs();
  jobs.addAll(LogFactory.INSTANCE.getJobs());
  jobs.add(factoryEventLogger);
  factory.exportJobs(jobs);
  StringBuilder welcome=Misc.getThreadLocalBuilder();
  if (!server.start(configuration.getHttpQueueDepth())) {
    welcome.append("String_Node_Str").append(configuration.getHttpIP()).append(':').append(configuration.getHttpPort());
    welcome.append("String_Node_Str");
    System.err.println(welcome);
    System.out.println(new Date() + "String_Node_Str");
  }
 else {
    welcome.append("String_Node_Str").append(configuration.getHttpIP()).append(':').append(configuration.getHttpPort());
    if (configuration.getSslConfig().isSecure()) {
      welcome.append("String_Node_Str");
    }
 else {
      welcome.append("String_Node_Str");
    }
    System.err.println(welcome);
    System.out.println(new Date() + "String_Node_Str");
    if (Os.type != Os.WINDOWS && optHash.get("String_Node_Str") == null) {
      Signal.handle(new Signal("String_Node_Str"),new SignalHandler(){
        public void handle(        Signal signal){
        }
      }
);
    }
    Runtime.getRuntime().addShutdownHook(new Thread(new Runnable(){
      public void run(){
        System.out.println(new Date() + "String_Node_Str");
        server.halt();
        factoryEventLogger.close();
        factory.close();
      }
    }
));
  }
}