Program: 140749
Project: 140749
Buggy source:
/** 
 * DOC scorreia Comment method "main".
 * @param args
 */
public static void main(String[] args){
  TypedProperties connectionParams=PropertiesLoader.getProperties(IndicatorEvaluator.class,"String_Node_Str");
  String driverClassName=connectionParams.getProperty("String_Node_Str");
  String dbUrl=connectionParams.getProperty("String_Node_Str");
  try {
    Connection connection=ConnectionUtils.createConnection(dbUrl,driverClassName,connectionParams);
    TdDataProvider dataProvider=new TestAnalysisCreation().getDataManager();
    String catalog="String_Node_Str";
    ConnectionEvaluator evaluator=new ConnectionEvaluator();
    evaluator.setConnection(connection);
    ConnectionIndicator connectionIndicator=SchemaFactory.eINSTANCE.createConnectionIndicator();
    evaluator.storeIndicator(dataProvider,connectionIndicator);
    String sql=createSql(catalog);
    ReturnCode rc=evaluator.evaluateIndicators(sql,false);
    if (!rc.isOk()) {
      System.err.println("String_Node_Str" + rc.getMessage());
    }
    File file=new File("String_Node_Str" + IndicatorsPackage.eNAME);
    EMFUtil util=new EMFUtil();
    if (!util.addPoolToResourceSet(file.toURI().toString(),connectionIndicator)) {
      System.err.println(util.getLastErrorMessage());
    }
    File dp=new File("String_Node_Str");
    FolderProvider fProv=new FolderProvider();
    fProv.setFolder(dp);
    DqRepositoryViewService.saveDataProviderAndStructure(dataProvider,fProv);
    util.save();
    ConnectionUtils.closeConnection(connection);
  }
 catch (  SQLException e) {
    e.printStackTrace();
  }
catch (  InstantiationException e) {
    e.printStackTrace();
  }
catch (  IllegalAccessException e) {
    e.printStackTrace();
  }
catch (  ClassNotFoundException e) {
    e.printStackTrace();
  }
}

Fixed version (ground truth):
/** 
 * DOC scorreia Comment method "main".
 * @param args
 */
public static void main(String[] args){
  TypedProperties connectionParams=PropertiesLoader.getProperties(IndicatorEvaluator.class,"String_Node_Str");
  String driverClassName=connectionParams.getProperty("String_Node_Str");
  String dbUrl=connectionParams.getProperty("String_Node_Str");
  try {
    Connection connection=ConnectionUtils.createConnection(dbUrl,driverClassName,connectionParams);
    TdDataProvider dataProvider=new TestAnalysisCreation().getDataManager();
    String catalog="String_Node_Str";
    ConnectionEvaluator evaluator=new ConnectionEvaluator();
    evaluator.setConnection(connection);
    ConnectionIndicator connectionIndicator=SchemaFactory.eINSTANCE.createConnectionIndicator();
    evaluator.storeIndicator(dataProvider,connectionIndicator);
    String sql=createSql(catalog);
    ReturnCode rc=evaluator.evaluateIndicators(sql,false);
    if (!rc.isOk()) {
      System.err.println("String_Node_Str" + rc.getMessage());
    }
    File file=new File("String_Node_Str" + IndicatorsPackage.eNAME);
    EMFUtil util=EMFUtil.getInstance();
    if (!util.addPoolToResourceSet(file.toURI().toString(),connectionIndicator)) {
      System.err.println(util.getLastErrorMessage());
    }
    File dp=new File("String_Node_Str");
    FolderProvider fProv=new FolderProvider();
    fProv.setFolder(dp);
    DqRepositoryViewService.saveDataProviderAndStructure(dataProvider,fProv);
    util.save();
    ConnectionUtils.closeConnection(connection);
  }
 catch (  SQLException e) {
    e.printStackTrace();
  }
catch (  InstantiationException e) {
    e.printStackTrace();
  }
catch (  IllegalAccessException e) {
    e.printStackTrace();
  }
catch (  ClassNotFoundException e) {
    e.printStackTrace();
  }
}