Program: 168097
Project: 168097
Buggy source:
private void addButtonsToToolBar(){
  IToolBarManager mgr=form.getToolBarManager();
  mgr.add(new Action(){
    @Override public ImageDescriptor getImageDescriptor(){
      return (SVMViewImageRegistry.getImageIconFactory().getImageDescriptor(IMAGE_LRUN_OBJ));
    }
    @Override public String getToolTipText(){
      return "String_Node_Str";
    }
    @Override public void run(){
      if (!canProceed())       return;
      final List<Object> class1Files=class1LayoutData.getSelectedFiles();
      final List<Object> class2Files=class2LayoutData.getSelectedFiles();
      final String class1NameStr=class1Name.getText();
      final String class2NameStr=class2Name.getText();
      final int kValueInt=Integer.parseInt(kValue.getText());
      ;
      final String outputPath=layoutData.getOutputLabel().getText();
      final boolean featureFile=featureFileButton.getSelection();
      final boolean ppValue=preprocessButton.getSelection();
      final Preprocess preprocessor=new Preprocess("String_Node_Str");
      final SVMClassify svm=new SVMClassify(class1NameStr,class2NameStr,outputPath);
      final CrossValidator cv=new CrossValidator();
      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",kValueInt + 4);
          String ppClass1="String_Node_Str";
          String ppClass2="String_Node_Str";
          File[] class1FilesL;
          File[] class2FilesL;
          Date dateObj=new Date();
          try {
            Preprocessor ppObj=new Preprocessor("String_Node_Str",ppValue);
            List<String> c1Files=ppObj.processData(class1NameStr,class1Files);
            List<String> c2Files=ppObj.processData(class2NameStr,class2Files);
            class1FilesL=new File[c1Files.size()];
            class2FilesL=new File[c2Files.size()];
            for (int k=0; k < c1Files.size(); k++) {
              class1FilesL[k]=new File(c1Files.get(k));
            }
            for (int k=0; k < c2Files.size(); k++) {
              class2FilesL[k]=new File(c2Files.get(k));
            }
            monitor.worked(2);
            cv.doCross(svm,class1NameStr,class1FilesL,class2NameStr,class2FilesL,kValueInt,featureFile,outputPath,monitor,dateObj);
            monitor.worked(5);
            ppObj.clean();
            monitor.worked(2);
          }
 catch (          IOException e) {
            e.printStackTrace();
          }
catch (          Exception e) {
            e.printStackTrace();
          }
          monitor.done();
          return Status.OK_STATUS;
        }
      }
;
      job.setUser(true);
      job.schedule();
      job.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 (SVMViewImageRegistry.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 (SVMViewImageRegistry.getImageIconFactory().getImageDescriptor(IMAGE_LRUN_OBJ));
    }
    @Override public String getToolTipText(){
      return "String_Node_Str";
    }
    @Override public void run(){
      if (!canProceed())       return;
      final List<Object> class1Files=class1LayoutData.getSelectedFiles();
      final List<Object> class2Files=class2LayoutData.getSelectedFiles();
      final String class1NameStr=class1Name.getText();
      final String class2NameStr=class2Name.getText();
      final int kValueInt=Integer.parseInt(kValue.getText());
      ;
      final String outputPath=layoutData.getOutputLabel().getText();
      final boolean featureFile=featureFileButton.getSelection();
      final boolean ppValue=preprocessButton.getSelection();
      final Preprocess preprocessor=new Preprocess("String_Node_Str");
      final SVMClassify svm=new SVMClassify(class1NameStr,class2NameStr,outputPath);
      final CrossValidator cv=new CrossValidator();
      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",kValueInt + 4);
          String ppClass1="String_Node_Str";
          String ppClass2="String_Node_Str";
          File[] class1FilesL;
          File[] class2FilesL;
          Date dateObj=new Date();
          try {
            Preprocessor ppObj=new Preprocessor("String_Node_Str",ppValue);
            List<String> c1Files=ppObj.processData(class1NameStr,class1Files);
            List<String> c2Files=ppObj.processData(class2NameStr,class2Files);
            class1FilesL=new File[c1Files.size()];
            class2FilesL=new File[c2Files.size()];
            for (int k=0; k < c1Files.size(); k++) {
              class1FilesL[k]=new File(c1Files.get(k));
            }
            for (int k=0; k < c2Files.size(); k++) {
              class2FilesL[k]=new File(c2Files.get(k));
            }
            monitor.worked(2);
            cv.doCross(svm,class1NameStr,class1FilesL,class2NameStr,class2FilesL,kValueInt,featureFile,outputPath,monitor,dateObj);
            monitor.worked(5);
            ppObj.clean();
            monitor.worked(2);
          }
 catch (          IOException e) {
            e.printStackTrace();
            return Status.CANCEL_STATUS;
          }
catch (          Exception e) {
            e.printStackTrace();
            return Status.CANCEL_STATUS;
          }
          monitor.done();
          return Status.OK_STATUS;
        }
      }
;
      job.setUser(true);
      job.schedule();
      job.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 (SVMViewImageRegistry.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);
}