Program: 140454
Project: 140454
Buggy source:
private void createAnalysisParamSection(ScrolledForm form,Composite topComp){
  Section statisticalSection=this.createSection(form,topComp,"String_Node_Str",false,null);
  Composite sectionClient=toolkit.createComposite(statisticalSection);
  Pattern tablePattern=null;
  Pattern viewPattern=null;
  if (this.connectionAnalysis.getParameters().getDataFilter().size() > 0) {
    domain=connectionAnalysis.getParameters().getDataFilter().get(0);
    for (    Pattern patttern : domain.getPatterns()) {
      if (patttern.getName().equals(TABLE_PATTERN_NAME)) {
        tablePattern=patttern;
      }
 else {
        viewPattern=patttern;
      }
    }
  }
  sectionClient.setLayout(new GridLayout(2,false));
  Label tableFilterLabel=new Label(sectionClient,SWT.None);
  tableFilterLabel.setText("String_Node_Str");
  tableFilterLabel.setLayoutData(new GridData());
  tableFilterText=new Text(sectionClient,SWT.BORDER);
  tableFilterText.setText(tablePattern == null ? PluginConstant.EMPTY_STRING : ((RegularExpressionImpl)tablePattern.getComponents().get(0)).getExpression().getBody());
  GridDataFactory.fillDefaults().grab(true,false).applyTo(tableFilterText);
  tableFilterText.addModifyListener(new ModifyListener(){
    public void modifyText(    ModifyEvent e){
      setDirty(true);
    }
  }
);
  Label viewFilterLabel=new Label(sectionClient,SWT.None);
  viewFilterLabel.setText("String_Node_Str");
  viewFilterLabel.setLayoutData(new GridData());
  viewFilterText=new Text(sectionClient,SWT.BORDER);
  viewFilterText.setText(viewPattern == null ? PluginConstant.EMPTY_STRING : ((RegularExpressionImpl)viewPattern.getComponents().get(0)).getExpression().getBody());
  GridDataFactory.fillDefaults().grab(true,false).applyTo(viewFilterText);
  viewFilterText.addModifyListener(new ModifyListener(){
    public void modifyText(    ModifyEvent e){
      setDirty(true);
    }
  }
);
  statisticalSection.setClient(sectionClient);
}

Fixed version (ground truth):
private void createAnalysisParamSection(ScrolledForm form,Composite topComp){
  Section statisticalSection=this.createSection(form,topComp,"String_Node_Str",false,null);
  Composite sectionClient=toolkit.createComposite(statisticalSection);
  sectionClient.setLayout(new GridLayout(2,false));
  Label tableFilterLabel=new Label(sectionClient,SWT.None);
  tableFilterLabel.setText("String_Node_Str");
  tableFilterLabel.setLayoutData(new GridData());
  tableFilterText=new Text(sectionClient,SWT.BORDER);
  EList<Domain> dataFilters=connectionAnalysis.getParameters().getDataFilter();
  String tablePattern=DomainHelper.getTablePattern(dataFilters);
  tableFilterText.setText(tablePattern == null ? PluginConstant.EMPTY_STRING : tablePattern);
  GridDataFactory.fillDefaults().grab(true,false).applyTo(tableFilterText);
  tableFilterText.addModifyListener(new ModifyListener(){
    public void modifyText(    ModifyEvent e){
      setDirty(true);
    }
  }
);
  Label viewFilterLabel=new Label(sectionClient,SWT.None);
  viewFilterLabel.setText("String_Node_Str");
  viewFilterLabel.setLayoutData(new GridData());
  viewFilterText=new Text(sectionClient,SWT.BORDER);
  String viewPattern=DomainHelper.getViewPattern(dataFilters);
  viewFilterText.setText(viewPattern == null ? PluginConstant.EMPTY_STRING : viewPattern);
  GridDataFactory.fillDefaults().grab(true,false).applyTo(viewFilterText);
  viewFilterText.addModifyListener(new ModifyListener(){
    public void modifyText(    ModifyEvent e){
      setDirty(true);
    }
  }
);
  statisticalSection.setClient(sectionClient);
}