Program: 80100
Project: 80100
Buggy source:
private void _testPreInitSlave(){
  String db=null;
  String connectionURL=null;
  Connection conn=null;
  db=masterDatabasePath + "String_Node_Str" + ReplicationRun.masterDbSubPath+ "String_Node_Str"+ replicatedDb;
  connectionURL="String_Node_Str" + "String_Node_Str" + masterServerHost + "String_Node_Str"+ masterServerPort+ "String_Node_Str"+ db+ "String_Node_Str";
  util.DEBUG("String_Node_Str" + connectionURL);
  try {
    conn=DriverManager.getConnection(connectionURL);
    util.DEBUG("String_Node_Str" + connectionURL);
    assertTrue("String_Node_Str" + connectionURL,false);
  }
 catch (  SQLException se) {
    int ec=se.getErrorCode();
    String ss=se.getSQLState();
    String msg=ec + "String_Node_Str" + ss+ "String_Node_Str"+ se.getMessage();
    assertTrue("String_Node_Str" + msg,SQLState.REPLICATION_NOT_IN_MASTER_MODE.equals(ss));
    util.DEBUG("String_Node_Str" + connectionURL + "String_Node_Str"+ msg);
  }
  db=slaveDatabasePath + "String_Node_Str" + ReplicationRun.slaveDbSubPath+ "String_Node_Str"+ replicatedDb;
  connectionURL="String_Node_Str" + "String_Node_Str" + slaveServerHost + "String_Node_Str"+ slaveServerPort+ "String_Node_Str"+ db+ "String_Node_Str";
  util.DEBUG("String_Node_Str" + connectionURL);
  try {
    conn=DriverManager.getConnection(connectionURL);
    util.DEBUG("String_Node_Str" + connectionURL);
    assertTrue("String_Node_Str" + connectionURL,false);
  }
 catch (  SQLException se) {
    int ec=se.getErrorCode();
    String ss=se.getSQLState();
    String msg=ec + "String_Node_Str" + ss+ "String_Node_Str"+ se.getMessage();
    assertTrue("String_Node_Str" + msg,SQLState.REPLICATION_DB_NOT_BOOTED.equals(ss));
    util.DEBUG("String_Node_Str" + connectionURL + "String_Node_Str"+ msg);
  }
}

Fixed version (ground truth):
private void _testPreInitSlave(){
  String db=null;
  String connectionURL=null;
  Connection conn=null;
  db=masterDatabasePath + FS + ReplicationRun.masterDbSubPath+ FS+ replicatedDb;
  connectionURL="String_Node_Str" + "String_Node_Str" + masterServerHost + "String_Node_Str"+ masterServerPort+ "String_Node_Str"+ db+ "String_Node_Str";
  util.DEBUG("String_Node_Str" + connectionURL);
  try {
    conn=DriverManager.getConnection(connectionURL);
    util.DEBUG("String_Node_Str" + connectionURL);
    assertTrue("String_Node_Str" + connectionURL,false);
  }
 catch (  SQLException se) {
    int ec=se.getErrorCode();
    String ss=se.getSQLState();
    String msg=ec + "String_Node_Str" + ss+ "String_Node_Str"+ se.getMessage();
    assertTrue("String_Node_Str" + msg,SQLState.REPLICATION_NOT_IN_MASTER_MODE.equals(ss));
    util.DEBUG("String_Node_Str" + connectionURL + "String_Node_Str"+ msg);
  }
  db=slaveDatabasePath + FS + ReplicationRun.slaveDbSubPath+ FS+ replicatedDb;
  connectionURL="String_Node_Str" + "String_Node_Str" + slaveServerHost + "String_Node_Str"+ slaveServerPort+ "String_Node_Str"+ db+ "String_Node_Str";
  util.DEBUG("String_Node_Str" + connectionURL);
  try {
    conn=DriverManager.getConnection(connectionURL);
    util.DEBUG("String_Node_Str" + connectionURL);
    assertTrue("String_Node_Str" + connectionURL,false);
  }
 catch (  SQLException se) {
    int ec=se.getErrorCode();
    String ss=se.getSQLState();
    String msg=ec + "String_Node_Str" + ss+ "String_Node_Str"+ se.getMessage();
    assertTrue("String_Node_Str" + msg,SQLState.REPLICATION_DB_NOT_BOOTED.equals(ss));
    util.DEBUG("String_Node_Str" + connectionURL + "String_Node_Str"+ msg);
  }
}