Program: 168229
Project: 168229
Buggy source:
@PostConstruct public void postConstruct(Composite parent){
  final Shell shell=parent.getShell();
  parent.setLayout(new GridLayout(1,false));
  PreprocessorService ppService=GlobalPresserSettings.ppService;
  Composite composite=new Composite(parent,SWT.NONE);
  composite.setLayout(new GridLayout(3,false));
  GridData gd_composite=new GridData(SWT.LEFT,SWT.CENTER,false,false,1,1);
  gd_composite.widthHint=431;
  gd_composite.heightHint=477;
  composite.setLayoutData(gd_composite);
  Label lblNewLabel=new Label(composite,SWT.NONE);
  lblNewLabel.setText("String_Node_Str");
  txtInputDir=new Text(composite,SWT.BORDER);
  GridData gd_txtInputDir=new GridData(SWT.LEFT,SWT.CENTER,false,false,1,1);
  gd_txtInputDir.widthHint=244;
  txtInputDir.setLayoutData(gd_txtInputDir);
  button=new Button(composite,SWT.NONE);
  button.addMouseListener(new MouseAdapter(){
    @Override public void mouseUp(    MouseEvent e){
      DirectoryDialog dd=new DirectoryDialog(shell);
      dd.open();
      String path=dd.getFilterPath();
      txtInputDir.setText(path);
    }
  }
);
  button.setText("String_Node_Str");
  lblSeedFile=new Label(composite,SWT.NONE);
  lblSeedFile.setText("String_Node_Str");
  txtSeedFile=new Text(composite,SWT.BORDER);
  GridData gd_txtSeedFile=new GridData(SWT.LEFT,SWT.CENTER,false,false,1,1);
  gd_txtSeedFile.widthHint=244;
  txtSeedFile.setLayoutData(gd_txtSeedFile);
  button_2=new Button(composite,SWT.NONE);
  button_2.addMouseListener(new MouseAdapter(){
    @Override public void mouseUp(    MouseEvent e){
      txtSeedFile.setText("String_Node_Str");
      FileDialog fd=new FileDialog(shell,SWT.OPEN);
      fd.open();
      String oFile=fd.getFileName();
      String dir=fd.getFilterPath();
      txtSeedFile.setText(dir + System.getProperty("String_Node_Str") + oFile);
    }
  }
);
  button_2.setText("String_Node_Str");
  lblNumberOfTopics=new Label(composite,SWT.NONE);
  lblNumberOfTopics.setText("String_Node_Str");
  txtNumTopics=new Text(composite,SWT.BORDER);
  new Label(composite,SWT.NONE);
  lblOutputPath=new Label(composite,SWT.NONE);
  lblOutputPath.setText("String_Node_Str");
  txtOutputDir=new Text(composite,SWT.BORDER);
  GridData gd_txtOutputDir=new GridData(SWT.LEFT,SWT.CENTER,false,false,1,1);
  gd_txtOutputDir.widthHint=244;
  txtOutputDir.setLayoutData(gd_txtOutputDir);
  button_3=new Button(composite,SWT.NONE);
  button_3.addMouseListener(new MouseAdapter(){
    @Override public void mouseUp(    MouseEvent e){
      DirectoryDialog dd=new DirectoryDialog(shell);
      dd.open();
      String path=dd.getFilterPath();
      txtOutputDir.setText(path);
    }
  }
);
  button_3.setText("String_Node_Str");
  btnPreprocess=new Button(composite,SWT.CHECK);
  btnPreprocess.setText("String_Node_Str");
  Button btnCalculate=new Button(composite,SWT.NONE);
  btnCalculate.addMouseListener(new MouseAdapter(){
    @Override public void mouseUp(    MouseEvent e){
      ppDir=txtInputDir.getText();
      ppSeedFile=txtSeedFile.getText();
      if (btnPreprocess.getSelection()) {
        if (ppService.options == null) {
          System.out.println("String_Node_Str");
          appendLog("String_Node_Str");
          GlobalPresserSettings.ppService.setOptions(shell);
        }
        IEclipseContext iEclipseContext=context;
        ContextInjectionFactory.inject(ppService,iEclipseContext);
        appendLog("String_Node_Str");
        System.out.println("String_Node_Str");
        try {
          ppDir=ppService.doPreprocessing(txtInputDir.getText());
          ppSeedFile=ppService.doPreprocessing(txtSeedFile.getText());
        }
 catch (        IOException e1) {
          e1.printStackTrace();
        }
      }
      long startTime=System.currentTimeMillis();
      appendLog("String_Node_Str");
      invokeLDA();
      appendLog("String_Node_Str" + (System.currentTimeMillis() - startTime) + "String_Node_Str");
      if (btnPreprocess.getSelection() && ppService.doCleanUp()) {
        ppService.clean(ppDir);
        System.out.println("String_Node_Str" + ppDir);
        appendLog("String_Node_Str" + ppDir);
        ppService.clean(ppSeedFile);
        System.out.println("String_Node_Str" + ppSeedFile);
        appendLog("String_Node_Str" + ppSeedFile);
      }
      appendLog("String_Node_Str");
    }
  }
);
  btnCalculate.setText("String_Node_Str");
  new Label(composite,SWT.NONE);
}

Fixed version (ground truth):
@PostConstruct public void postConstruct(Composite parent){
  final Shell shell=parent.getShell();
  parent.setLayout(new GridLayout(1,false));
  Composite composite=new Composite(parent,SWT.NONE);
  composite.setLayout(new GridLayout(3,false));
  GridData gd_composite=new GridData(SWT.LEFT,SWT.CENTER,false,false,1,1);
  gd_composite.widthHint=431;
  gd_composite.heightHint=477;
  composite.setLayoutData(gd_composite);
  Label lblNewLabel=new Label(composite,SWT.NONE);
  lblNewLabel.setText("String_Node_Str");
  txtInputDir=new Text(composite,SWT.BORDER);
  GridData gd_txtInputDir=new GridData(SWT.LEFT,SWT.CENTER,false,false,1,1);
  gd_txtInputDir.widthHint=244;
  txtInputDir.setLayoutData(gd_txtInputDir);
  button=new Button(composite,SWT.NONE);
  button.addMouseListener(new MouseAdapter(){
    @Override public void mouseUp(    MouseEvent e){
      DirectoryDialog dd=new DirectoryDialog(shell);
      dd.open();
      String path=dd.getFilterPath();
      txtInputDir.setText(path);
    }
  }
);
  button.setText("String_Node_Str");
  lblSeedFile=new Label(composite,SWT.NONE);
  lblSeedFile.setText("String_Node_Str");
  txtSeedFile=new Text(composite,SWT.BORDER);
  GridData gd_txtSeedFile=new GridData(SWT.LEFT,SWT.CENTER,false,false,1,1);
  gd_txtSeedFile.widthHint=244;
  txtSeedFile.setLayoutData(gd_txtSeedFile);
  button_2=new Button(composite,SWT.NONE);
  button_2.addMouseListener(new MouseAdapter(){
    @Override public void mouseUp(    MouseEvent e){
      txtSeedFile.setText("String_Node_Str");
      FileDialog fd=new FileDialog(shell,SWT.OPEN);
      fd.open();
      String oFile=fd.getFileName();
      String dir=fd.getFilterPath();
      txtSeedFile.setText(dir + System.getProperty("String_Node_Str") + oFile);
    }
  }
);
  button_2.setText("String_Node_Str");
  lblNumberOfTopics=new Label(composite,SWT.NONE);
  lblNumberOfTopics.setText("String_Node_Str");
  txtNumTopics=new Text(composite,SWT.BORDER);
  new Label(composite,SWT.NONE);
  lblOutputPath=new Label(composite,SWT.NONE);
  lblOutputPath.setText("String_Node_Str");
  txtOutputDir=new Text(composite,SWT.BORDER);
  GridData gd_txtOutputDir=new GridData(SWT.LEFT,SWT.CENTER,false,false,1,1);
  gd_txtOutputDir.widthHint=244;
  txtOutputDir.setLayoutData(gd_txtOutputDir);
  button_3=new Button(composite,SWT.NONE);
  button_3.addMouseListener(new MouseAdapter(){
    @Override public void mouseUp(    MouseEvent e){
      DirectoryDialog dd=new DirectoryDialog(shell);
      dd.open();
      String path=dd.getFilterPath();
      txtOutputDir.setText(path);
    }
  }
);
  button_3.setText("String_Node_Str");
  btnPreprocess=new Button(composite,SWT.CHECK);
  btnPreprocess.setText("String_Node_Str");
  Button btnCalculate=new Button(composite,SWT.NONE);
  btnCalculate.addMouseListener(new MouseAdapter(){
    @Override public void mouseUp(    MouseEvent e){
      ppDir=txtInputDir.getText();
      ppSeedFile=txtSeedFile.getText();
      if (btnPreprocess.getSelection()) {
        ppService=GlobalPresserSettings.ppService;
        if (ppService.options == null) {
          System.out.println("String_Node_Str");
          appendLog("String_Node_Str");
          GlobalPresserSettings.ppService.setOptions(shell);
        }
        IEclipseContext iEclipseContext=context;
        ContextInjectionFactory.inject(ppService,iEclipseContext);
        appendLog("String_Node_Str");
        System.out.println("String_Node_Str");
        try {
          ppDir=ppService.doPreprocessing(txtInputDir.getText());
          ppSeedFile=ppService.doPreprocessing(txtSeedFile.getText());
        }
 catch (        IOException e1) {
          e1.printStackTrace();
        }
      }
      long startTime=System.currentTimeMillis();
      appendLog("String_Node_Str");
      invokeLDA();
      appendLog("String_Node_Str" + (System.currentTimeMillis() - startTime) + "String_Node_Str");
      if (btnPreprocess.getSelection() && ppService.doCleanUp()) {
        ppService.clean(ppDir);
        System.out.println("String_Node_Str" + ppDir);
        appendLog("String_Node_Str" + ppDir);
        ppService.clean(ppSeedFile);
        System.out.println("String_Node_Str" + ppSeedFile);
        appendLog("String_Node_Str" + ppSeedFile);
      }
      appendLog("String_Node_Str");
    }
  }
);
  btnCalculate.setText("String_Node_Str");
  new Label(composite,SWT.NONE);
}