Program: 94068
Project: 94068
Buggy source:
public Config(String config,String directory,String filename){
  template=new Configuration(new File(directory,filename));
  template.load();
  if (config.equals("String_Node_Str")) {
    autoupdate_enable=GetConfigBoolean("String_Node_Str",false);
    debug_enable=GetConfigBoolean("String_Node_Str",false);
    usagestats_enabled=GetConfigBoolean("String_Node_Str",true);
    script_name=GetConfigString("String_Node_Str","String_Node_Str").toLowerCase();
    script_updatestatus=GetConfigBoolean("String_Node_Str",true);
    database_driver=GetConfigString("String_Node_Str","String_Node_Str");
    database_username=GetConfigString("String_Node_Str","String_Node_Str");
    database_password=GetConfigString("String_Node_Str","String_Node_Str");
    database_port=GetConfigString("String_Node_Str","String_Node_Str");
    database_host=GetConfigString("String_Node_Str","String_Node_Str");
    database_database=GetConfigString("String_Node_Str","String_Node_Str");
    database_prefix=GetConfigString("String_Node_Str","String_Node_Str");
    dbDb="String_Node_Str" + database_host + "String_Node_Str"+ database_port+ "String_Node_Str"+ database_database;
    register_enabled=GetConfigBoolean("String_Node_Str",true);
    register_force=GetConfigBoolean("String_Node_Str",true);
    password_tries=GetConfigString("String_Node_Str","String_Node_Str");
    password_kick=GetConfigBoolean("String_Node_Str",true);
    password_ban=GetConfigBoolean("String_Node_Str",false);
    session_time=GetConfigString("String_Node_Str","String_Node_Str");
    session_length=GetConfigString("String_Node_Str","String_Node_Str");
    idle_time=GetConfigString("String_Node_Str","String_Node_Str");
    idle_length=GetConfigString("String_Node_Str","String_Node_Str");
    idle_kick=GetConfigBoolean("String_Node_Str",true);
    idle_whitelist=GetConfigString("String_Node_Str","String_Node_Str");
    idle_ticks=Util.ToTicks(Config.idle_time,Config.idle_length);
    guests_commands=GetConfigBoolean("String_Node_Str",true);
    guests_movement=GetConfigBoolean("String_Node_Str",true);
    guests_inventory=GetConfigBoolean("String_Node_Str",true);
    guests_drops=GetConfigBoolean("String_Node_Str",true);
    guests_health=GetConfigBoolean("String_Node_Str",true);
    guests_damage=GetConfigBoolean("String_Node_Str",true);
    guests_interact=GetConfigBoolean("String_Node_Str",true);
    guests_build=GetConfigBoolean("String_Node_Str",true);
    guests_chat=GetConfigBoolean("String_Node_Str",true);
    badcharacters_kick=GetConfigBoolean("String_Node_Str",true);
    badcharacters_remove=GetConfigBoolean("String_Node_Str",false);
    badcharacters_characters=GetConfigString("String_Node_Str","String_Node_Str");
    geoip_enabled=GetConfigBoolean("String_Node_Str",true);
    CraftIRC_enabled=GetConfigBoolean("String_Node_Str",true);
    CraftIRC_tag=GetConfigString("String_Node_Str","String_Node_Str");
    CraftIRC_prefix=GetConfigString("String_Node_Str","String_Node_Str");
    CraftIRC_messages_enabled=GetConfigBoolean("String_Node_Str",true);
    CraftIRC_messages_welcome_enabled=GetConfigBoolean("String_Node_Str",true);
    CraftIRC_messages_register_enabled=GetConfigBoolean("String_Node_Str",true);
    CraftIRC_messages_unregister_enabled=GetConfigBoolean("String_Node_Str",true);
    CraftIRC_messages_login_enabled=GetConfigBoolean("String_Node_Str",true);
    CraftIRC_messages_email_enabled=GetConfigBoolean("String_Node_Str",true);
    CraftIRC_messages_username_enabled=GetConfigBoolean("String_Node_Str",true);
    CraftIRC_messages_password_enabled=GetConfigBoolean("String_Node_Str",true);
    CraftIRC_messages_idle_enabled=GetConfigBoolean("String_Node_Str",true);
  }
 else   if (config.equals("String_Node_Str")) {
    Messages.AuthDB_message_welcome_guest=(String)Config.GetConfigString("String_Node_Str","String_Node_Str");
    Messages.AuthDB_message_welcome_user=(String)Config.GetConfigString("String_Node_Str","String_Node_Str");
    Messages.AuthDB_message_register_success=Config.GetConfigString("String_Node_Str","String_Node_Str");
    Messages.AuthDB_message_register_failure=Config.GetConfigString("String_Node_Str","String_Node_Str");
    Messages.AuthDB_message_register_registered=Config.GetConfigString("String_Node_Str","String_Node_Str");
    Messages.AuthDB_message_register_disabled=Config.GetConfigString("String_Node_Str","String_Node_Str");
    Messages.AuthDB_message_register_usage=Config.GetConfigString("String_Node_Str","String_Node_Str");
    Messages.AuthDB_message_unregister_success=Config.GetConfigString("String_Node_Str","String_Node_Str");
    Messages.AuthDB_message_unregister_failure=Config.GetConfigString("String_Node_Str","String_Node_Str");
    Messages.AuthDB_message_unregister_usage=Config.GetConfigString("String_Node_Str","String_Node_Str");
    Messages.AuthDB_message_login_success=Config.GetConfigString("String_Node_Str","String_Node_Str");
    Messages.AuthDB_message_login_failure=Config.GetConfigString("String_Node_Str","String_Node_Str");
    Messages.AuthDB_message_login_authorized=Config.GetConfigString("String_Node_Str","String_Node_Str");
    Messages.AuthDB_message_login_session=Config.GetConfigString("String_Node_Str","String_Node_Str");
    Messages.AuthDB_message_login_usage=Config.GetConfigString("String_Node_Str","String_Node_Str");
    Messages.AuthDB_message_email_required=Config.GetConfigString("String_Node_Str","String_Node_Str");
    Messages.AuthDB_message_email_badcharacters=Config.GetConfigString("String_Node_Str","String_Node_Str");
    Messages.AuthDB_message_badcharacters_renamed=Config.GetConfigString("String_Node_Str","String_Node_Str");
    Messages.AuthDB_message_badcharacters_kicked=Config.GetConfigString("String_Node_Str","String_Node_Str");
    Messages.AuthDB_message_badcharacters_whitelist=Config.GetConfigString("String_Node_Str","String_Node_Str");
    Messages.AuthDB_message_password_success=Config.GetConfigString("String_Node_Str","String_Node_Str");
    Messages.AuthDB_message_password_failure=Config.GetConfigString("String_Node_Str","String_Node_Str");
    Messages.AuthDB_message_password_notregistered=Config.GetConfigString("String_Node_Str","String_Node_Str");
    Messages.AuthDB_message_password_usage=Config.GetConfigString("String_Node_Str","String_Node_Str");
    Messages.AuthDB_message_idle_kick=Config.GetConfigString("String_Node_Str","String_Node_Str");
    Messages.CraftIRC_message_status_join=Config.GetConfigString("String_Node_Str","String_Node_Str");
    Messages.CraftIRC_message_status_quit=Config.GetConfigString("String_Node_Str","String_Node_Str");
    Messages.CraftIRC_message_register_success=Config.GetConfigString("String_Node_Str","String_Node_Str");
    Messages.CraftIRC_message_register_failure=Config.GetConfigString("String_Node_Str","String_Node_Str");
    Messages.CraftIRC_message_register_registered=Config.GetConfigString("String_Node_Str","String_Node_Str");
    Messages.CraftIRC_message_badcharacters_renamed=Config.GetConfigString("String_Node_Str","String_Node_Str");
    Messages.CraftIRC_message_badcharacters_kicked=Config.GetConfigString("String_Node_Str","String_Node_Str");
    Messages.CraftIRC_message_badcharacters_whitelist=Config.GetConfigString("String_Node_Str","String_Node_Str");
    Messages.CraftIRC_message_password_success=Config.GetConfigString("String_Node_Str","String_Node_Str");
    Messages.CraftIRC_message_password_failure=Config.GetConfigString("String_Node_Str","String_Node_Str");
  }
}

Fixed version (ground truth):
public Config(String config,String directory,String filename){
  template=new Configuration(new File(directory,filename));
  template.load();
  if (config.equals("String_Node_Str")) {
    autoupdate_enable=GetConfigBoolean("String_Node_Str",false);
    debug_enable=GetConfigBoolean("String_Node_Str",false);
    usagestats_enabled=GetConfigBoolean("String_Node_Str",true);
    script_name=GetConfigString("String_Node_Str","String_Node_Str").toLowerCase();
    script_version=GetConfigString("String_Node_Str","String_Node_Str");
    script_updatestatus=GetConfigBoolean("String_Node_Str",true);
    database_driver=GetConfigString("String_Node_Str","String_Node_Str");
    database_username=GetConfigString("String_Node_Str","String_Node_Str");
    database_password=GetConfigString("String_Node_Str","String_Node_Str");
    database_port=GetConfigString("String_Node_Str","String_Node_Str");
    database_host=GetConfigString("String_Node_Str","String_Node_Str");
    database_database=GetConfigString("String_Node_Str","String_Node_Str");
    database_prefix=GetConfigString("String_Node_Str","String_Node_Str");
    dbDb="String_Node_Str" + database_host + "String_Node_Str"+ database_port+ "String_Node_Str"+ database_database;
    register_enabled=GetConfigBoolean("String_Node_Str",true);
    register_force=GetConfigBoolean("String_Node_Str",true);
    password_tries=GetConfigString("String_Node_Str","String_Node_Str");
    password_kick=GetConfigBoolean("String_Node_Str",true);
    password_ban=GetConfigBoolean("String_Node_Str",false);
    session_time=GetConfigString("String_Node_Str","String_Node_Str");
    session_length=GetConfigString("String_Node_Str","String_Node_Str");
    idle_time=GetConfigString("String_Node_Str","String_Node_Str");
    idle_length=GetConfigString("String_Node_Str","String_Node_Str");
    idle_kick=GetConfigBoolean("String_Node_Str",true);
    idle_whitelist=GetConfigString("String_Node_Str","String_Node_Str");
    idle_ticks=Util.ToTicks(Config.idle_time,Config.idle_length);
    guests_commands=GetConfigBoolean("String_Node_Str",true);
    guests_movement=GetConfigBoolean("String_Node_Str",true);
    guests_inventory=GetConfigBoolean("String_Node_Str",true);
    guests_drops=GetConfigBoolean("String_Node_Str",true);
    guests_health=GetConfigBoolean("String_Node_Str",true);
    guests_damage=GetConfigBoolean("String_Node_Str",true);
    guests_interact=GetConfigBoolean("String_Node_Str",true);
    guests_build=GetConfigBoolean("String_Node_Str",true);
    guests_chat=GetConfigBoolean("String_Node_Str",true);
    badcharacters_kick=GetConfigBoolean("String_Node_Str",true);
    badcharacters_remove=GetConfigBoolean("String_Node_Str",false);
    badcharacters_characters=GetConfigString("String_Node_Str","String_Node_Str");
    geoip_enabled=GetConfigBoolean("String_Node_Str",true);
    CraftIRC_enabled=GetConfigBoolean("String_Node_Str",true);
    CraftIRC_tag=GetConfigString("String_Node_Str","String_Node_Str");
    CraftIRC_prefix=GetConfigString("String_Node_Str","String_Node_Str");
    CraftIRC_messages_enabled=GetConfigBoolean("String_Node_Str",true);
    CraftIRC_messages_welcome_enabled=GetConfigBoolean("String_Node_Str",true);
    CraftIRC_messages_register_enabled=GetConfigBoolean("String_Node_Str",true);
    CraftIRC_messages_unregister_enabled=GetConfigBoolean("String_Node_Str",true);
    CraftIRC_messages_login_enabled=GetConfigBoolean("String_Node_Str",true);
    CraftIRC_messages_email_enabled=GetConfigBoolean("String_Node_Str",true);
    CraftIRC_messages_username_enabled=GetConfigBoolean("String_Node_Str",true);
    CraftIRC_messages_password_enabled=GetConfigBoolean("String_Node_Str",true);
    CraftIRC_messages_idle_enabled=GetConfigBoolean("String_Node_Str",true);
  }
 else   if (config.equals("String_Node_Str")) {
    Messages.AuthDB_message_welcome_guest=(String)Config.GetConfigString("String_Node_Str","String_Node_Str");
    Messages.AuthDB_message_welcome_user=(String)Config.GetConfigString("String_Node_Str","String_Node_Str");
    Messages.AuthDB_message_register_success=Config.GetConfigString("String_Node_Str","String_Node_Str");
    Messages.AuthDB_message_register_failure=Config.GetConfigString("String_Node_Str","String_Node_Str");
    Messages.AuthDB_message_register_registered=Config.GetConfigString("String_Node_Str","String_Node_Str");
    Messages.AuthDB_message_register_disabled=Config.GetConfigString("String_Node_Str","String_Node_Str");
    Messages.AuthDB_message_register_usage=Config.GetConfigString("String_Node_Str","String_Node_Str");
    Messages.AuthDB_message_unregister_success=Config.GetConfigString("String_Node_Str","String_Node_Str");
    Messages.AuthDB_message_unregister_failure=Config.GetConfigString("String_Node_Str","String_Node_Str");
    Messages.AuthDB_message_unregister_usage=Config.GetConfigString("String_Node_Str","String_Node_Str");
    Messages.AuthDB_message_login_success=Config.GetConfigString("String_Node_Str","String_Node_Str");
    Messages.AuthDB_message_login_failure=Config.GetConfigString("String_Node_Str","String_Node_Str");
    Messages.AuthDB_message_login_authorized=Config.GetConfigString("String_Node_Str","String_Node_Str");
    Messages.AuthDB_message_login_session=Config.GetConfigString("String_Node_Str","String_Node_Str");
    Messages.AuthDB_message_login_usage=Config.GetConfigString("String_Node_Str","String_Node_Str");
    Messages.AuthDB_message_email_required=Config.GetConfigString("String_Node_Str","String_Node_Str");
    Messages.AuthDB_message_email_badcharacters=Config.GetConfigString("String_Node_Str","String_Node_Str");
    Messages.AuthDB_message_badcharacters_renamed=Config.GetConfigString("String_Node_Str","String_Node_Str");
    Messages.AuthDB_message_badcharacters_kicked=Config.GetConfigString("String_Node_Str","String_Node_Str");
    Messages.AuthDB_message_badcharacters_whitelist=Config.GetConfigString("String_Node_Str","String_Node_Str");
    Messages.AuthDB_message_password_success=Config.GetConfigString("String_Node_Str","String_Node_Str");
    Messages.AuthDB_message_password_failure=Config.GetConfigString("String_Node_Str","String_Node_Str");
    Messages.AuthDB_message_password_notregistered=Config.GetConfigString("String_Node_Str","String_Node_Str");
    Messages.AuthDB_message_password_usage=Config.GetConfigString("String_Node_Str","String_Node_Str");
    Messages.AuthDB_message_idle_kick=Config.GetConfigString("String_Node_Str","String_Node_Str");
    Messages.CraftIRC_message_status_join=Config.GetConfigString("String_Node_Str","String_Node_Str");
    Messages.CraftIRC_message_status_quit=Config.GetConfigString("String_Node_Str","String_Node_Str");
    Messages.CraftIRC_message_register_success=Config.GetConfigString("String_Node_Str","String_Node_Str");
    Messages.CraftIRC_message_register_failure=Config.GetConfigString("String_Node_Str","String_Node_Str");
    Messages.CraftIRC_message_register_registered=Config.GetConfigString("String_Node_Str","String_Node_Str");
    Messages.CraftIRC_message_badcharacters_renamed=Config.GetConfigString("String_Node_Str","String_Node_Str");
    Messages.CraftIRC_message_badcharacters_kicked=Config.GetConfigString("String_Node_Str","String_Node_Str");
    Messages.CraftIRC_message_badcharacters_whitelist=Config.GetConfigString("String_Node_Str","String_Node_Str");
    Messages.CraftIRC_message_password_success=Config.GetConfigString("String_Node_Str","String_Node_Str");
    Messages.CraftIRC_message_password_failure=Config.GetConfigString("String_Node_Str","String_Node_Str");
  }
}