Program: 168147
Project: 168147
Buggy source:
private void addButtonsToToolBar(){
  IToolBarManager mgr=form.getToolBarManager();
  mgr.add(new Action(){
    @Override public ImageDescriptor getImageDescriptor(){
      return (ZlabelLdaTopicModelViewImageRegistry.getImageIconFactory().getImageDescriptor(IMAGE_LRUN_OBJ));
    }
    @Override public String getToolTipText(){
      return "String_Node_Str";
    }
    public void run(){
      final int noOfTopics=Integer.valueOf(topics.getText()).intValue();
      final boolean isPreprocess=preprocessEnabled.getSelection();
      final String inputPath=inputLayoutData.getOutputLabel().getText();
      final String outputPath=layoutData.getOutputLabel().getText();
      final String seedFilePath=seedFileText.getText();
      TacitFormComposite.writeConsoleHeaderBegining("String_Node_Str");
      job=new Job("String_Node_Str"){
        @Override protected IStatus run(        IProgressMonitor monitor){
          TacitFormComposite.setConsoleViewInFocus();
          TacitFormComposite.updateStatusMessage(getViewSite(),null,null,form);
          monitor.beginTask("String_Node_Str",100);
          List<String> inputFiles=new ArrayList<String>();
          String topicModelDirPath=inputPath;
          Preprocess preprocessTask=null;
          if (isPreprocess) {
            monitor.subTask("String_Node_Str");
            preprocessTask=new Preprocess("String_Node_Str");
            try {
              File[] inputFile=new File(inputPath).listFiles();
              for (              File iFile : inputFile) {
                inputFiles.add(iFile.toString());
              }
              topicModelDirPath=preprocessTask.doPreprocessing(inputFiles,"String_Node_Str");
            }
 catch (            IOException e) {
              TacitFormComposite.writeConsoleHeaderBegining("String_Node_Str");
              e.printStackTrace();
            }
            monitor.worked(10);
          }
          long startTime=System.currentTimeMillis();
          Date dateObj=new Date();
          ZlabelTopicModelAnalysis zlda=new ZlabelTopicModelAnalysis(new SubProgressMonitor(monitor,70));
          monitor.subTask("String_Node_Str");
          zlda.invokeLDA(topicModelDirPath,seedFilePath,noOfTopics,outputPath,dateObj);
          System.out.println("String_Node_Str" + (System.currentTimeMillis() - startTime) + "String_Node_Str");
          TacitFormComposite.writeConsoleHeaderBegining("String_Node_Str");
          if (monitor.isCanceled()) {
            TacitFormComposite.writeConsoleHeaderBegining("String_Node_Str");
            return Status.CANCEL_STATUS;
          }
          if (isPreprocess) {
            monitor.subTask("String_Node_Str");
            preprocessTask.clean();
          }
          monitor.worked(10);
          monitor.done();
          TacitFormComposite.updateStatusMessage(getViewSite(),"String_Node_Str",IStatus.OK,form);
          ;
          TacitFormComposite.writeConsoleHeaderBegining("String_Node_Str");
          return Status.OK_STATUS;
        }
      }
;
      job.setUser(true);
      if (canProceedJob()) {
        job.schedule();
      }
 else {
        TacitFormComposite.updateStatusMessage(getViewSite(),"String_Node_Str",IStatus.ERROR,form);
      }
    }
  }
);
  Action helpAction=new Action(){
    @Override public ImageDescriptor getImageDescriptor(){
      return (ZlabelLdaTopicModelViewImageRegistry.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 (ZlabelLdaTopicModelViewImageRegistry.getImageIconFactory().getImageDescriptor(IMAGE_LRUN_OBJ));
    }
    @Override public String getToolTipText(){
      return "String_Node_Str";
    }
    @Override public void run(){
      final int noOfTopics=Integer.valueOf(topics.getText()).intValue();
      final boolean isPreprocess=preprocessEnabled.getSelection();
      final String inputPath=inputLayoutData.getOutputLabel().getText();
      final String outputPath=layoutData.getOutputLabel().getText();
      final String seedFilePath=seedFileText.getText();
      TacitFormComposite.writeConsoleHeaderBegining("String_Node_Str");
      job=new Job("String_Node_Str"){
        @Override protected IStatus run(        IProgressMonitor monitor){
          TacitFormComposite.setConsoleViewInFocus();
          TacitFormComposite.updateStatusMessage(getViewSite(),null,null,form);
          monitor.beginTask("String_Node_Str",100);
          List<String> inputFiles=new ArrayList<String>();
          String topicModelDirPath=inputPath;
          Preprocess preprocessTask=null;
          if (isPreprocess) {
            monitor.subTask("String_Node_Str");
            preprocessTask=new Preprocess("String_Node_Str");
            try {
              File[] inputFile=new File(inputPath).listFiles();
              for (              File iFile : inputFile) {
                inputFiles.add(iFile.toString());
              }
              topicModelDirPath=preprocessTask.doPreprocessing(inputFiles,"String_Node_Str");
            }
 catch (            IOException e) {
              TacitFormComposite.writeConsoleHeaderBegining("String_Node_Str");
              e.printStackTrace();
            }
            monitor.worked(10);
          }
          long startTime=System.currentTimeMillis();
          Date dateObj=new Date();
          ZlabelTopicModelAnalysis zlda=new ZlabelTopicModelAnalysis(new SubProgressMonitor(monitor,70));
          monitor.subTask("String_Node_Str");
          zlda.invokeLDA(topicModelDirPath,seedFilePath,noOfTopics,outputPath,dateObj);
          System.out.println("String_Node_Str" + (System.currentTimeMillis() - startTime) + "String_Node_Str");
          TacitFormComposite.writeConsoleHeaderBegining("String_Node_Str");
          if (monitor.isCanceled()) {
            TacitFormComposite.writeConsoleHeaderBegining("String_Node_Str");
            return Status.CANCEL_STATUS;
          }
          if (isPreprocess) {
            monitor.subTask("String_Node_Str");
            preprocessTask.clean();
          }
          monitor.worked(10);
          monitor.done();
          TacitFormComposite.updateStatusMessage(getViewSite(),"String_Node_Str",IStatus.OK,form);
          ;
          TacitFormComposite.writeConsoleHeaderBegining("String_Node_Str");
          return Status.OK_STATUS;
        }
      }
;
      job.setUser(true);
      if (canProceedJob()) {
        job.schedule();
      }
 else {
        TacitFormComposite.updateStatusMessage(getViewSite(),"String_Node_Str",IStatus.ERROR,form);
      }
    }
  }
);
  Action helpAction=new Action(){
    @Override public ImageDescriptor getImageDescriptor(){
      return (ZlabelLdaTopicModelViewImageRegistry.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);
}