Program: 168113
Project: 168113
Buggy source:
private void addButtonsToToolBar(){
  IToolBarManager mgr=form.getToolBarManager();
  mgr.add(new Action(){
    @Override public ImageDescriptor getImageDescriptor(){
      return (StandardWordCountImageRegistry.getImageIconFactory().getImageDescriptor(IMAGE_LRUN_OBJ));
    }
    @Override public String getToolTipText(){
      return "String_Node_Str";
    }
    @Override public void run(){
      if (!canProceed()) {
        return;
      }
      TacitFormComposite.writeConsoleHeaderBegining("String_Node_Str");
      final String outputPath=layoutData.getOutputLabel().getText();
      TacitUtil tacitHelper=new TacitUtil();
      final List<Object> inputObjs=inputLayoutData.getSelectedFiles();
      tacitHelper.writeSummaryFile(outputPath);
      final List<String> dictionaryFiles=dictLayoutData.getSelectedFiles(false);
      final boolean isStemDic=stemEnabled.getSelection();
      final boolean doPennCounts=defaultTags.getSelection();
      final boolean doWordDistribution=wordDistribution.getSelection();
      final boolean ppValue=preprocessButton.getSelection();
      final boolean wcType=weightedWordCountButton.getSelection();
      final boolean datFile=createDATFile.getSelection();
      final boolean doPOSTags=createPOSTags.getSelection();
      final Date dateObj=new Date();
      wordCountJob=new Job("String_Node_Str"){
        @Override protected IStatus run(        IProgressMonitor monitor){
          monitor.beginTask("String_Node_Str",(inputObjs.size() * 15) + 15);
          WordCountPlugin wc=new WordCountPlugin(wcType,dateObj,isStemDic,doPennCounts,doWordDistribution,datFile,doPOSTags,outputPath,monitor);
          TacitFormComposite.setConsoleViewInFocus();
          TacitFormComposite.updateStatusMessage(getViewSite(),"String_Node_Str",null,form);
          Preprocessor ppObj;
          try {
            ppObj=new Preprocessor("String_Node_Str",ppValue);
            List<String> inputFiles=ppObj.processData("String_Node_Str",inputObjs);
            monitor.worked(5);
            wc.countWords(inputFiles,dictionaryFiles);
            ppObj.clean();
            monitor.worked(1);
          }
 catch (          IOException e) {
            e.printStackTrace();
            return Status.CANCEL_STATUS;
          }
catch (          Exception e) {
            e.printStackTrace();
            return Status.CANCEL_STATUS;
          }
          monitor.done();
          return Status.OK_STATUS;
        }
      }
;
      wordCountJob.setUser(true);
      if (canProceed()) {
        wordCountJob.schedule();
        wordCountJob.addJobChangeListener(new JobChangeAdapter(){
          @Override public void done(          IJobChangeEvent event){
            if (!event.getResult().isOK()) {
              TacitFormComposite.writeConsoleHeaderBegining("String_Node_Str");
              ConsoleView.printlInConsoleln("String_Node_Str");
              ConsoleView.printlInConsoleln("String_Node_Str");
            }
 else {
              TacitFormComposite.updateStatusMessage(getViewSite(),"String_Node_Str",IStatus.OK,form);
              TacitFormComposite.writeConsoleHeaderBegining("String_Node_Str");
            }
          }
        }
);
      }
    }
  }
);
  Action helpAction=new Action(){
    @Override public ImageDescriptor getImageDescriptor(){
      return (StandardWordCountImageRegistry.getImageIconFactory().getImageDescriptor(IMAGE_HELP_CO));
    }
    @Override public String getToolTipText(){
      return "String_Node_Str";
    }
    @Override public void run(){
      PlatformUI.getWorkbench().getHelpSystem().displayHelp("String_Node_Str");
    }
  }
;
  mgr.add(helpAction);
  PlatformUI.getWorkbench().getHelpSystem().setHelp(helpAction,"String_Node_Str");
  PlatformUI.getWorkbench().getHelpSystem().setHelp(form,"String_Node_Str");
  form.getToolBarManager().update(true);
}

Fixed version (ground truth):
private void addButtonsToToolBar(){
  IToolBarManager mgr=form.getToolBarManager();
  mgr.add(new Action(){
    @Override public ImageDescriptor getImageDescriptor(){
      return (StandardWordCountImageRegistry.getImageIconFactory().getImageDescriptor(IMAGE_LRUN_OBJ));
    }
    @Override public String getToolTipText(){
      return "String_Node_Str";
    }
    @Override public void run(){
      if (!canProceed()) {
        return;
      }
      TacitFormComposite.writeConsoleHeaderBegining("String_Node_Str");
      final String outputPath=layoutData.getOutputLabel().getText();
      TacitUtil tacitHelper=new TacitUtil();
      final List<Object> inputObjs=inputLayoutData.getSelectedFiles();
      tacitHelper.writeSummaryFile(outputPath);
      final List<String> dictionaryFiles=dictLayoutData.getSelectedFiles(false);
      final boolean isStemDic=stemEnabled.getSelection();
      final boolean doPennCounts=defaultTags.getSelection();
      final boolean doWordDistribution=wordDistribution.getSelection();
      final boolean ppValue=preprocessButton.getSelection();
      final boolean wcType=weightedWordCountButton.getSelection();
      final boolean datFile=createDATFile.getSelection();
      final boolean doPOSTags=createPOSTags.getSelection();
      final Date dateObj=new Date();
      wordCountJob=new Job("String_Node_Str"){
        @Override protected IStatus run(        IProgressMonitor monitor){
          monitor.beginTask("String_Node_Str",(inputObjs.size() * 15) + 15);
          WordCountPlugin wc=new WordCountPlugin(wcType,dateObj,isStemDic,doPennCounts,doWordDistribution,datFile,doPOSTags,outputPath,monitor);
          TacitFormComposite.setConsoleViewInFocus();
          TacitFormComposite.updateStatusMessage(getViewSite(),"String_Node_Str",null,form);
          Preprocessor ppObj;
          try {
            ppObj=new Preprocessor("String_Node_Str",ppValue);
            List<String> inputFiles=ppObj.processData("String_Node_Str",inputObjs);
            monitor.worked(5);
            wc.countWords(inputFiles,dictionaryFiles);
            ppObj.clean();
            monitor.worked(1);
          }
 catch (          IOException e) {
            e.printStackTrace();
            return Status.CANCEL_STATUS;
          }
catch (          OperationCanceledException e) {
            e.printStackTrace();
            return Status.CANCEL_STATUS;
          }
catch (          Exception e) {
            e.printStackTrace();
            return Status.CANCEL_STATUS;
          }
          monitor.done();
          return Status.OK_STATUS;
        }
      }
;
      wordCountJob.setUser(true);
      if (canProceed()) {
        wordCountJob.schedule();
        wordCountJob.addJobChangeListener(new JobChangeAdapter(){
          @Override public void done(          IJobChangeEvent event){
            if (!event.getResult().isOK()) {
              TacitFormComposite.writeConsoleHeaderBegining("String_Node_Str");
              ConsoleView.printlInConsoleln("String_Node_Str");
              ConsoleView.printlInConsoleln("String_Node_Str");
            }
 else {
              TacitFormComposite.updateStatusMessage(getViewSite(),"String_Node_Str",IStatus.OK,form);
              TacitFormComposite.writeConsoleHeaderBegining("String_Node_Str");
            }
          }
        }
);
      }
    }
  }
);
  Action helpAction=new Action(){
    @Override public ImageDescriptor getImageDescriptor(){
      return (StandardWordCountImageRegistry.getImageIconFactory().getImageDescriptor(IMAGE_HELP_CO));
    }
    @Override public String getToolTipText(){
      return "String_Node_Str";
    }
    @Override public void run(){
      PlatformUI.getWorkbench().getHelpSystem().displayHelp("String_Node_Str");
    }
  }
;
  mgr.add(helpAction);
  PlatformUI.getWorkbench().getHelpSystem().setHelp(helpAction,"String_Node_Str");
  PlatformUI.getWorkbench().getHelpSystem().setHelp(form,"String_Node_Str");
  form.getToolBarManager().update(true);
}