Program: 1566
Project: 1566
Buggy source:
public void onEnable(){
  final long startTime=System.nanoTime();
  final long endTime;
  try {
    Locale.setDefault(Locale.US);
    Server=getServer();
    TerminalSupport=((CraftServer)getServer()).getReader().getTerminal().isANSISupported();
    info=getDescription();
    directory=getDataFolder();
    if (!directory.exists())     directory.mkdir();
    Common.extract("String_Node_Str","String_Node_Str");
    Constants.load(new Configuration(new File(directory,"String_Node_Str")));
    Template=new Template(directory.getPath(),"String_Node_Str");
    Type type=Database.getType(Constants.Nodes.DatabaseType.toString());
    if (!(type.equals(Type.InventoryDB) || type.equals(Type.MiniDB))) {
      Drivers driver=null;
switch (type) {
case H2DB:
        driver=Constants.Drivers.H2;
      break;
case MySQL:
    driver=Constants.Drivers.MySQL;
  break;
case SQLite:
driver=Constants.Drivers.SQLite;
break;
case Postgre:
driver=Constants.Drivers.Postgre;
break;
}
if (driver != null) if (!(new File("String_Node_Str",driver.getFilename()).exists())) {
System.out.println("String_Node_Str" + driver.getFilename() + "String_Node_Str");
wget.fetch(driver.getUrl(),driver.getFilename());
System.out.println("String_Node_Str");
}
}
Commands.add("String_Node_Str",new Money(this));
Commands.add("String_Node_Str",new Create(this));
Commands.add("String_Node_Str",new Remove(this));
Commands.add("String_Node_Str",new Give(this));
Commands.add("String_Node_Str",new Take(this));
Commands.add("String_Node_Str",new Set(this));
try {
Database=new Database(Constants.Nodes.DatabaseType.toString(),Constants.Nodes.DatabaseUrl.toString(),Constants.Nodes.DatabaseUsername.toString(),Constants.Nodes.DatabasePassword.toString());
if (Database.getDatabase() == null) if (!Database.tableExists(Constants.Nodes.DatabaseTable.toString())) {
System.out.println("String_Node_Str");
String SQL=Common.resourceToString("String_Node_Str" + Database.getType().toString().toLowerCase() + "String_Node_Str");
SQL=String.format(SQL,Constants.Nodes.DatabaseTable.getValue());
try {
QueryRunner run=new QueryRunner();
Connection c=iConomy.Database.getConnection();
try {
run.update(c,SQL);
}
 catch (SQLException ex) {
System.out.println("String_Node_Str" + ex);
}
 finally {
DbUtils.close(c);
}
}
 catch (SQLException ex) {
System.out.println("String_Node_Str" + ex);
}
}
}
 catch (MissingDriver ex) {
System.out.println(ex.getMessage());
}
String name="String_Node_Str";
System.out.println(name + "String_Node_Str" + Accounts.exists(name));
Account Nijikokun=Accounts.get(name);
Holdings holdings=Nijikokun.getHoldings();
System.out.println("String_Node_Str" + holdings.getBalance());
}
  finally {
endTime=System.nanoTime();
}
final long duration=endTime - startTime;
System.out.println("String_Node_Str" + info.getName() + "String_Node_Str"+ Common.readableProfile(duration)+ "String_Node_Str");
}

Fixed version (ground truth):
public void onEnable(){
  final long startTime=System.nanoTime();
  final long endTime;
  try {
    Locale.setDefault(Locale.US);
    Server=getServer();
    TerminalSupport=((CraftServer)getServer()).getReader().getTerminal().isANSISupported();
    info=getDescription();
    directory=getDataFolder();
    if (!directory.exists())     directory.mkdir();
    Common.extract("String_Node_Str","String_Node_Str");
    Constants.load(new Configuration(new File(directory,"String_Node_Str")));
    Template=new Template(directory.getPath(),"String_Node_Str");
    Type type=Database.getType(Constants.Nodes.DatabaseType.toString());
    if (!(type.equals(Type.InventoryDB) || type.equals(Type.MiniDB))) {
      Drivers driver=null;
switch (type) {
case H2DB:
        driver=Constants.Drivers.H2;
      break;
case MySQL:
    driver=Constants.Drivers.MySQL;
  break;
case SQLite:
driver=Constants.Drivers.SQLite;
break;
case Postgre:
driver=Constants.Drivers.Postgre;
break;
}
if (driver != null) if (!(new File("String_Node_Str",driver.getFilename()).exists())) {
System.out.println("String_Node_Str" + driver.getFilename() + "String_Node_Str");
wget.fetch(driver.getUrl(),driver.getFilename());
System.out.println("String_Node_Str");
}
}
Commands.add("String_Node_Str",new Money(this));
Commands.add("String_Node_Str",new Create(this));
Commands.add("String_Node_Str",new Remove(this));
Commands.add("String_Node_Str",new Give(this));
Commands.add("String_Node_Str",new Take(this));
Commands.add("String_Node_Str",new Set(this));
try {
Database=new Database(Constants.Nodes.DatabaseType.toString(),Constants.Nodes.DatabaseUrl.toString(),Constants.Nodes.DatabaseUsername.toString(),Constants.Nodes.DatabasePassword.toString());
if (Database.getDatabase() == null && Database.getInventoryDatabase() == null) if (!Database.tableExists(Constants.Nodes.DatabaseTable.toString())) {
System.out.println("String_Node_Str");
String SQL=Common.resourceToString("String_Node_Str" + Database.getType().toString().toLowerCase() + "String_Node_Str");
SQL=String.format(SQL,Constants.Nodes.DatabaseTable.getValue());
try {
QueryRunner run=new QueryRunner();
Connection c=iConomy.Database.getConnection();
try {
run.update(c,SQL);
}
 catch (SQLException ex) {
System.out.println("String_Node_Str" + ex);
}
 finally {
DbUtils.close(c);
}
}
 catch (SQLException ex) {
System.out.println("String_Node_Str" + ex);
}
}
}
 catch (MissingDriver ex) {
System.out.println(ex.getMessage());
}
String name="String_Node_Str";
System.out.println(name + "String_Node_Str" + Accounts.exists(name));
Account Nijikokun=Accounts.get(name);
Holdings holdings=Nijikokun.getHoldings();
System.out.println("String_Node_Str" + holdings.getBalance());
}
  finally {
endTime=System.nanoTime();
}
final long duration=endTime - startTime;
System.out.println("String_Node_Str" + info.getName() + "String_Node_Str"+ Common.readableProfile(duration)+ "String_Node_Str");
}