Program: 28289
Project: 28289
Buggy source:
protected int doMain(String[] args){
  int minor=JDK.getMinor();
  if (minor < 6) {
    System.err.println(strings.get("String_Node_Str","String_Node_Str" + minor));
    return ERROR;
  }
  boolean trace=env.trace();
  boolean debug=env.debug();
  logger=Logger.getLogger(ADMIN_CLI_LOGGER);
  if (trace) {
    logger.setLevel(Level.FINEST);
  }
 else   if (debug) {
    logger.setLevel(Level.FINER);
  }
 else {
    logger.setLevel(Level.FINE);
  }
  logger.setUseParentHandlers(false);
  Handler h=new CLILoggerHandler();
  h.setLevel(logger.getLevel());
  logger.addHandler(h);
  Logger rlogger=Logger.getLogger("String_Node_Str");
  rlogger.setUseParentHandlers(false);
  for (  Handler lh : rlogger.getHandlers()) {
    rlogger.removeHandler(lh);
  }
  rlogger.addHandler(h);
  if (debug) {
    System.setProperty(CLIConstants.WALL_CLOCK_START_PROP,"String_Node_Str" + System.currentTimeMillis());
    logger.log(Level.FINER,"String_Node_Str",new Object[]{System.getProperty("String_Node_Str"),Arrays.toString(args)});
  }
  Set<File> extensions=getExtensions();
  ClassLoader ecl=getExtensionClassLoader(extensions);
  Thread.currentThread().setContextClassLoader(ecl);
  Thread thread=new Thread(new Runnable(){
    @Override public void run(){
      ProprietaryReaderFactory.getReader(Class.class,"String_Node_Str");
      ProprietaryWriterFactory.getWriter(Class.class);
    }
  }
);
  thread.setDaemon(true);
  thread.start();
  cliContainer=new CLIContainer(ecl,extensions,logger);
  classPath=SmartFile.sanitizePaths(System.getProperty("String_Node_Str"));
  className=AdminMain.class.getName();
  if (args.length == 0) {
    args=new String[]{"String_Node_Str"};
  }
  if (args[0].equals("String_Node_Str")) {
    args=new String[]{"String_Node_Str"};
  }
  command=args[0];
  int exitCode=executeCommand(args);
switch (exitCode) {
case SUCCESS:
    if (!po.isTerse()) {
      logger.fine(strings.get((po.isDetachedCommand() ? "String_Node_Str" : "String_Node_Str"),command));
    }
  break;
case WARNING:
logger.fine(strings.get("String_Node_Str",command));
exitCode=SUCCESS;
break;
case ERROR:
case INVALID_COMMAND_ERROR:
case CONNECTION_ERROR:
default :
logger.fine(strings.get("String_Node_Str",command));
break;
}
CLIUtil.writeCommandToDebugLog(getCommandName(),env,args,exitCode);
return exitCode;
}

Fixed version (ground truth):
protected int doMain(String[] args){
  int minor=JDK.getMinor();
  if (minor < 6) {
    System.err.println(strings.get("String_Node_Str","String_Node_Str" + minor));
    return ERROR;
  }
  boolean trace=env.trace();
  boolean debug=env.debug();
  logger=Logger.getLogger(ADMIN_CLI_LOGGER);
  if (trace) {
    logger.setLevel(Level.FINEST);
  }
 else   if (debug) {
    logger.setLevel(Level.FINER);
  }
 else {
    logger.setLevel(Level.FINE);
  }
  logger.setUseParentHandlers(false);
  Handler h=new CLILoggerHandler();
  h.setLevel(logger.getLevel());
  logger.addHandler(h);
  Logger rlogger=Logger.getLogger("String_Node_Str");
  rlogger.setUseParentHandlers(false);
  for (  Handler lh : rlogger.getHandlers()) {
    rlogger.removeHandler(lh);
  }
  rlogger.addHandler(h);
  if (debug) {
    System.setProperty(CLIConstants.WALL_CLOCK_START_PROP,"String_Node_Str" + System.currentTimeMillis());
    if (logger.isLoggable(Level.FINER))     logger.log(Level.FINER,"String_Node_Str",new Object[]{System.getProperty("String_Node_Str"),Arrays.toString(args)});
  }
  Set<File> extensions=getExtensions();
  ClassLoader ecl=getExtensionClassLoader(extensions);
  Thread.currentThread().setContextClassLoader(ecl);
  Thread thread=new Thread(new Runnable(){
    @Override public void run(){
      ProprietaryReaderFactory.getReader(Class.class,"String_Node_Str");
      ProprietaryWriterFactory.getWriter(Class.class);
    }
  }
);
  thread.setDaemon(true);
  thread.start();
  cliContainer=new CLIContainer(ecl,extensions,logger);
  classPath=SmartFile.sanitizePaths(System.getProperty("String_Node_Str"));
  className=AdminMain.class.getName();
  if (args.length == 0) {
    args=new String[]{"String_Node_Str"};
  }
  if (args[0].equals("String_Node_Str")) {
    args=new String[]{"String_Node_Str"};
  }
  command=args[0];
  int exitCode=executeCommand(args);
switch (exitCode) {
case SUCCESS:
    if (!po.isTerse()) {
      logger.fine(strings.get((po.isDetachedCommand() ? "String_Node_Str" : "String_Node_Str"),command));
    }
  break;
case WARNING:
if (logger.isLoggable(Level.FINE)) logger.fine(strings.get("String_Node_Str",command));
exitCode=SUCCESS;
break;
case ERROR:
case INVALID_COMMAND_ERROR:
case CONNECTION_ERROR:
default :
logger.fine(strings.get("String_Node_Str",command));
break;
}
CLIUtil.writeCommandToDebugLog(getCommandName(),env,args,exitCode);
return exitCode;
}