Program: 168149
Project: 168149
Buggy source:
private void createCorpusSection(Composite client){
  Group group=new Group(client,SWT.SHADOW_IN);
  group.setText("String_Node_Str");
  group.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
  GridLayout layout=new GridLayout();
  layout.numColumns=1;
  group.setLayout(layout);
  final Button corpusEnabled=new Button(group,SWT.CHECK);
  corpusEnabled.setText("String_Node_Str");
  corpusEnabled.setBounds(10,10,10,10);
  corpusEnabled.pack();
  final Composite sectionClient=new Composite(group,SWT.None);
  GridDataFactory.fillDefaults().grab(true,false).span(1,1).applyTo(sectionClient);
  GridLayoutFactory.fillDefaults().numColumns(3).equalWidth(false).applyTo(sectionClient);
  sectionClient.pack();
  final Label inputPathLabel=new Label(sectionClient,SWT.NONE);
  inputPathLabel.setText("String_Node_Str");
  GridDataFactory.fillDefaults().grab(false,false).span(1,0).applyTo(inputPathLabel);
  final Combo cmbSortType=new Combo(sectionClient,SWT.FLAT | SWT.READ_ONLY);
  GridDataFactory.fillDefaults().grab(true,false).span(2,0).applyTo(cmbSortType);
  manageCorpora=new ManageCorpora();
  corpuraList=manageCorpora.getNames();
  cmbSortType.setItems(corpuraList);
  cmbSortType.setEnabled(false);
  corpusEnabled.addSelectionListener(new SelectionAdapter(){
    @Override public void widgetSelected(    SelectionEvent e){
      if (corpusEnabled.getSelection()) {
        cmbSortType.setEnabled(true);
      }
 else {
        cmbSortType.setEnabled(false);
      }
    }
  }
);
  cmbSortType.addSelectionListener(new SelectionAdapter(){
    @Override public void widgetSelected(    SelectionEvent e){
      ICorpus selectedCorpus=manageCorpora.readCorpusById(corpuraList[cmbSortType.getSelectionIndex()]);
      if (inputList == null) {
        inputList=new ArrayList<String>();
      }
      if (selectedCorpus.getDatatype().equals(DataType.TWITTER_JSON)) {
        TwitterReadJsonData twitterReadJsonData=new TwitterReadJsonData();
        for (        ICorpusClass cls : selectedCorpus.getClasses()) {
          inputList.addAll(twitterReadJsonData.retrieveTwitterData(cls.getClassPath()));
        }
      }
 else       if (selectedCorpus.getDatatype().equals(DataType.REDDIT_JSON)) {
      }
 else       if (selectedCorpus.getDatatype().equals((DataType.PLAIN_TEXT))) {
      }
 else       if (selectedCorpus.getDatatype().equals((DataType.MICROSOFT_WORD))) {
      }
 else       if (selectedCorpus.getDatatype().equals((DataType.XML))) {
      }
    }
  }
);
  TacitFormComposite.createEmptyRow(null,sectionClient);
}

Fixed version (ground truth):
private void createCorpusSection(Composite client){
  Group group=new Group(client,SWT.SHADOW_IN);
  group.setText("String_Node_Str");
  group.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
  GridLayout layout=new GridLayout();
  layout.numColumns=1;
  group.setLayout(layout);
  final Button corpusEnabled=new Button(group,SWT.CHECK);
  corpusEnabled.setText("String_Node_Str");
  corpusEnabled.setBounds(10,10,10,10);
  corpusEnabled.pack();
  final Composite sectionClient=new Composite(group,SWT.None);
  GridDataFactory.fillDefaults().grab(true,false).span(1,1).applyTo(sectionClient);
  GridLayoutFactory.fillDefaults().numColumns(3).equalWidth(false).applyTo(sectionClient);
  sectionClient.pack();
  final Label inputPathLabel=new Label(sectionClient,SWT.NONE);
  inputPathLabel.setText("String_Node_Str");
  GridDataFactory.fillDefaults().grab(false,false).span(1,0).applyTo(inputPathLabel);
  final Combo cmbSortType=new Combo(sectionClient,SWT.FLAT | SWT.READ_ONLY);
  GridDataFactory.fillDefaults().grab(true,false).span(2,0).applyTo(cmbSortType);
  manageCorpora=new ManageCorpora();
  corpuraList=manageCorpora.getNames();
  cmbSortType.setItems(corpuraList);
  cmbSortType.setEnabled(false);
  corpusEnabled.addSelectionListener(new SelectionAdapter(){
    @Override public void widgetSelected(    SelectionEvent e){
      if (corpusEnabled.getSelection()) {
        cmbSortType.setEnabled(true);
      }
 else {
        cmbSortType.setEnabled(false);
      }
    }
  }
);
  cmbSortType.addSelectionListener(new SelectionAdapter(){
    @Override public void widgetSelected(    SelectionEvent e){
      ICorpus selectedCorpus=manageCorpora.readCorpusById(corpuraList[cmbSortType.getSelectionIndex()]);
      if (inputList == null) {
        inputList=new ArrayList<String>();
      }
      if (selectedCorpus.getDatatype().equals(DataType.TWITTER_JSON)) {
        TwitterReadJsonData twitterReadJsonData=new TwitterReadJsonData();
        for (        ICorpusClass cls : selectedCorpus.getClasses()) {
          inputList.add(twitterReadJsonData.retrieveTwitterData(cls.getClassPath()));
        }
      }
 else       if (selectedCorpus.getDatatype().equals(DataType.REDDIT_JSON)) {
      }
 else       if (selectedCorpus.getDatatype().equals((DataType.PLAIN_TEXT))) {
      }
 else       if (selectedCorpus.getDatatype().equals((DataType.MICROSOFT_WORD))) {
      }
 else       if (selectedCorpus.getDatatype().equals((DataType.XML))) {
      }
    }
  }
);
  TacitFormComposite.createEmptyRow(null,sectionClient);
}