Program: 137433
Project: 137433
Buggy source:
@Before public void setUp() throws Exception {
  analysis=AnalysisFactory.eINSTANCE.createAnalysis();
  AnalysisContext context=AnalysisFactory.eINSTANCE.createAnalysisContext();
  analysis.setContext(context);
  Package catalog=orgomg.cwm.resource.relational.RelationalFactory.eINSTANCE.createCatalog();
  catalog.setName("String_Node_Str");
  Package schema=orgomg.cwm.resource.relational.RelationalFactory.eINSTANCE.createSchema();
  schema.setNamespace(catalog);
  TdTable tdTable=RelationalFactory.eINSTANCE.createTdTable();
  tdTable.setName("String_Node_Str");
  tdTable.setNamespace(schema);
  TdColumn tdColumn=RelationalFactory.eINSTANCE.createTdColumn();
  tdColumn.setOwner(tdTable);
  tdColumn.setName("String_Node_Str");
  tdColumn.setContentType(DataminingType.INTERVAL.getName());
  TdColumn tdColumn2=RelationalFactory.eINSTANCE.createTdColumn();
  tdColumn2.setOwner(tdTable);
  tdColumn2.setName("String_Node_Str");
  tdColumn2.setContentType(DataminingType.INTERVAL.getName());
  AnalysisParameters analysisPara=AnalysisFactory.eINSTANCE.createAnalysisParameters();
  analysisPara.setStoreData(false);
  analysisPara.setAnalysisType(AnalysisType.COLUMN_SET);
  analysis.setParameters(analysisPara);
  context.getAnalysedElements().add(tdColumn);
  context.getAnalysedElements().add(tdColumn2);
  AnalysisResult analysisResult=AnalysisFactory.eINSTANCE.createAnalysisResult();
  ExecutionInformations info=AnalysisFactory.eINSTANCE.createExecutionInformations();
  analysisResult.setResultMetadata(info);
  simpleStatIndicator=ColumnsetFactory.eINSTANCE.createSimpleStatIndicator();
  TdExpression expression=RelationalFactory.eINSTANCE.createTdExpression();
  expression.setBody("String_Node_Str");
  expression.setLanguage("String_Node_Str");
  IndicatorDefinition indicatorDefinition=DefinitionFactory.eINSTANCE.createIndicatorDefinition();
  indicatorDefinition.getSqlGenericExpression().add(expression);
  simpleStatIndicator.setIndicatorDefinition(indicatorDefinition);
  simpleStatIndicator.getDateFunctions().add("String_Node_Str");
  simpleStatIndicator.getNumericFunctions().add("String_Node_Str");
  simpleStatIndicator.setDataminingType(DataminingType.NOMINAL);
  simpleStatIndicator.getAnalyzedColumns().add(tdColumn);
  simpleStatIndicator.getAnalyzedColumns().add(tdColumn2);
  analysisResult.getIndicators().add(simpleStatIndicator);
  analysis.setResults(analysisResult);
}

Fixed version (ground truth):
@Before public void setUp() throws Exception {
  analysis=AnalysisFactory.eINSTANCE.createAnalysis();
  AnalysisContext context=AnalysisFactory.eINSTANCE.createAnalysisContext();
  analysis.setContext(context);
  Package schema=orgomg.cwm.resource.relational.RelationalFactory.eINSTANCE.createSchema();
  schema.setName("String_Node_Str");
  TdTable tdTable=RelationalFactory.eINSTANCE.createTdTable();
  tdTable.setName("String_Node_Str");
  tdTable.setNamespace(schema);
  TdColumn tdColumn=RelationalFactory.eINSTANCE.createTdColumn();
  tdColumn.setOwner(tdTable);
  tdColumn.setName("String_Node_Str");
  tdColumn.setContentType(DataminingType.INTERVAL.getName());
  TdColumn tdColumn2=RelationalFactory.eINSTANCE.createTdColumn();
  tdColumn2.setOwner(tdTable);
  tdColumn2.setName("String_Node_Str");
  tdColumn2.setContentType(DataminingType.INTERVAL.getName());
  AnalysisParameters analysisPara=AnalysisFactory.eINSTANCE.createAnalysisParameters();
  analysisPara.setStoreData(false);
  analysisPara.setAnalysisType(AnalysisType.COLUMN_SET);
  analysis.setParameters(analysisPara);
  context.getAnalysedElements().add(tdColumn);
  context.getAnalysedElements().add(tdColumn2);
  AnalysisResult analysisResult=AnalysisFactory.eINSTANCE.createAnalysisResult();
  ExecutionInformations info=AnalysisFactory.eINSTANCE.createExecutionInformations();
  analysisResult.setResultMetadata(info);
  simpleStatIndicator=ColumnsetFactory.eINSTANCE.createSimpleStatIndicator();
  TdExpression expression=RelationalFactory.eINSTANCE.createTdExpression();
  expression.setBody("String_Node_Str");
  expression.setLanguage("String_Node_Str");
  IndicatorDefinition indicatorDefinition=DefinitionFactory.eINSTANCE.createIndicatorDefinition();
  indicatorDefinition.getSqlGenericExpression().add(expression);
  simpleStatIndicator.setIndicatorDefinition(indicatorDefinition);
  simpleStatIndicator.getDateFunctions().add("String_Node_Str");
  simpleStatIndicator.getNumericFunctions().add("String_Node_Str");
  simpleStatIndicator.setDataminingType(DataminingType.NOMINAL);
  simpleStatIndicator.getAnalyzedColumns().add(tdColumn);
  simpleStatIndicator.getAnalyzedColumns().add(tdColumn2);
  analysisResult.getIndicators().add(simpleStatIndicator);
  analysis.setResults(analysisResult);
}