Program: 46267
Project: 46267
Buggy source:
public static void main(String[] args){
  try {
    InputStream is=WebServerLauncher.class.getResourceAsStream("String_Node_Str");
    Properties props=new Properties();
    props.load(is);
    for (    Object prop : props.keySet()) {
      if (!System.getProperties().containsKey(prop)) {
        System.setProperty((String)prop,props.getProperty((String)prop));
      }
    }
  }
 catch (  Exception ex) {
    logger.log(Level.SEVERE,"String_Node_Str",ex);
    System.exit(-1);
  }
  if (System.getProperty("String_Node_Str") == null && System.getProperty("String_Node_Str") == null) {
    try {
      InputStream logConfig;
      Properties p=new Properties();
      p.load(WebServerLauncher.class.getResourceAsStream("String_Node_Str"));
      String filePattern=p.getProperty("String_Node_Str");
      if (filePattern != null && filePattern.contains("String_Node_Str")) {
        String logDir=SystemPropertyUtil.getProperty("String_Node_Str");
        p.setProperty("String_Node_Str",filePattern.replaceAll("String_Node_Str",logDir));
        File tmpLog=File.createTempFile("String_Node_Str","String_Node_Str");
        p.store(new FileOutputStream(tmpLog),null);
        logConfig=new FileInputStream(tmpLog);
      }
 else {
        logConfig=WebServerLauncher.class.getResourceAsStream("String_Node_Str");
      }
      LogManager.getLogManager().readConfiguration(logConfig);
    }
 catch (    IOException ioe) {
      logger.log(Level.WARNING,"String_Node_Str",ioe);
    }
  }
  if (!parseArguments(args)) {
    usage();
    System.exit(-1);
  }
  String killSwitchStr=System.getProperty(WEBSERVER_KILLSWITCH_PROPERTY);
  if (killSwitchStr != null) {
    KillSwitch ks=new KillSwitch(Integer.parseInt(killSwitchStr));
    new Thread(ks).start();
  }
  try {
    File webDir=new File(RunUtil.getRunDir(),"String_Node_Str");
    webDir.mkdirs();
    if (!compareVersions(RunUtil.getRunDir())) {
      System.setProperty(Constants.WEBSERVER_NEWVERSION_PROP,"String_Node_Str");
      extractWebserverJars(webDir);
      writeVersion(RunUtil.getRunDir());
    }
    List<URL> urls=new ArrayList<URL>();
    for (    File jar : webDir.listFiles()) {
      URL u=jar.toURI().toURL();
      logger.fine("String_Node_Str" + u);
      urls.add(u);
    }
    classLoader=new LauncherClassLoader(urls.toArray(new URL[0]));
    Thread.currentThread().setContextClassLoader(classLoader);
    Class c=classLoader.loadClass("String_Node_Str");
    c.newInstance();
    System.out.println("String_Node_Str");
    System.out.println("String_Node_Str");
    System.out.println("String_Node_Str" + SystemPropertyUtil.getProperty("String_Node_Str"));
    System.out.println("String_Node_Str" + SystemPropertyUtil.getProperty(Constants.WEBSERVER_URL_PROP));
    System.out.println("String_Node_Str");
  }
 catch (  Exception ex) {
    logger.log(Level.SEVERE,"String_Node_Str",ex);
    System.exit(-1);
  }
}

Fixed version (ground truth):
public static void main(String[] args){
  try {
    InputStream is=WebServerLauncher.class.getResourceAsStream("String_Node_Str");
    Properties props=new Properties();
    props.load(is);
    for (    Object prop : props.keySet()) {
      if (!System.getProperties().containsKey(prop)) {
        System.setProperty((String)prop,props.getProperty((String)prop));
      }
    }
  }
 catch (  Exception ex) {
    logger.log(Level.SEVERE,"String_Node_Str",ex);
    System.exit(-1);
  }
  if (System.getProperty("String_Node_Str") == null && System.getProperty("String_Node_Str") == null) {
    try {
      InputStream logConfig;
      Properties p=new Properties();
      p.load(WebServerLauncher.class.getResourceAsStream("String_Node_Str"));
      String filePattern=p.getProperty("String_Node_Str");
      if (filePattern != null && filePattern.contains("String_Node_Str")) {
        String logDir=SystemPropertyUtil.getProperty("String_Node_Str");
        p.setProperty("String_Node_Str",filePattern.replaceAll("String_Node_Str",logDir));
        File tmpLog=File.createTempFile("String_Node_Str","String_Node_Str");
        p.store(new FileOutputStream(tmpLog),null);
        logConfig=new FileInputStream(tmpLog);
      }
 else {
        logConfig=WebServerLauncher.class.getResourceAsStream("String_Node_Str");
      }
      LogManager.getLogManager().readConfiguration(logConfig);
    }
 catch (    IOException ioe) {
      logger.log(Level.WARNING,"String_Node_Str",ioe);
    }
  }
  if (!parseArguments(args)) {
    usage();
    System.exit(-1);
  }
  if (System.getProperty(Constants.WEBSERVER_PORT_PROP) == null) {
    System.setProperty(Constants.WEBSERVER_PORT_PROP,"String_Node_Str");
  }
  String killSwitchStr=System.getProperty(WEBSERVER_KILLSWITCH_PROPERTY);
  if (killSwitchStr != null) {
    KillSwitch ks=new KillSwitch(Integer.parseInt(killSwitchStr));
    new Thread(ks).start();
  }
  try {
    File webDir=new File(RunUtil.getRunDir(),"String_Node_Str");
    webDir.mkdirs();
    if (!compareVersions(RunUtil.getRunDir())) {
      System.setProperty(Constants.WEBSERVER_NEWVERSION_PROP,"String_Node_Str");
      extractWebserverJars(webDir);
      writeVersion(RunUtil.getRunDir());
    }
    List<URL> urls=new ArrayList<URL>();
    for (    File jar : webDir.listFiles()) {
      URL u=jar.toURI().toURL();
      logger.fine("String_Node_Str" + u);
      urls.add(u);
    }
    classLoader=new LauncherClassLoader(urls.toArray(new URL[0]));
    Thread.currentThread().setContextClassLoader(classLoader);
    Class c=classLoader.loadClass("String_Node_Str");
    c.newInstance();
    System.out.println("String_Node_Str");
    System.out.println("String_Node_Str");
    System.out.println("String_Node_Str" + SystemPropertyUtil.getProperty("String_Node_Str"));
    System.out.println("String_Node_Str" + SystemPropertyUtil.getProperty(Constants.WEBSERVER_URL_PROP));
    System.out.println("String_Node_Str");
  }
 catch (  Exception ex) {
    logger.log(Level.SEVERE,"String_Node_Str",ex);
    System.exit(-1);
  }
}