Program: 119770
Project: 119770
Buggy source:
@Override protected void okPressed(){
  IPath tempPath=new Path(System.getProperty("String_Node_Str")).append("String_Node_Str");
  File pathFile=tempPath.toFile();
  if (downloadproperty.getFileName() == null || downloadproperty.getFileName() == null) {
    MessageBox box=new MessageBox(Display.getCurrent().getActiveShell(),SWT.ICON_WARNING | SWT.OK);
    box.setText(Messages.getString("String_Node_Str"));
    box.setMessage(Messages.getString("String_Node_Str"));
    box.open();
    return;
  }
  tempFile=new File(pathFile,downloadproperty.getFileName());
  try {
    url=new URL(downloadproperty.getDownloadUrl());
  }
 catch (  MalformedURLException e1) {
    ExceptionHandler.process(e1);
  }
  if (!pathFile.exists()) {
    pathFile.mkdirs();
  }
  ProgressMonitorDialog progressDialog=new ProgressMonitorDialog(PlatformUI.getWorkbench().getDisplay().getActiveShell().getShell());
  IRunnableWithProgress runnable=new IRunnableWithProgress(){
    public void run(    IProgressMonitor monitor){
      monitor.beginTask(Messages.getString("String_Node_Str"),IProgressMonitor.UNKNOWN);
      Display.getDefault().syncExec(new Runnable(){
        public void run(){
          try {
            new DownloadHelper().download(url,tempFile);
          }
 catch (          Exception e) {
            ExceptionHandler.process(e);
          }
        }
      }
);
      monitor.done();
    }
  }
;
  try {
    progressDialog.run(true,true,runnable);
  }
 catch (  InvocationTargetException e1) {
    ExceptionHandler.process(e1);
  }
catch (  InterruptedException e1) {
    ExceptionHandler.process(e1);
  }
  selectFile=tempFile.toString();
  super.okPressed();
}

Fixed version (ground truth):
@Override protected void okPressed(){
  IPath tempPath=new Path(System.getProperty("String_Node_Str")).append("String_Node_Str");
  File pathFile=tempPath.toFile();
  if (downloadproperty.getFileName() == null || downloadproperty.getFileName() == null) {
    MessageBox box=new MessageBox(Display.getCurrent().getActiveShell(),SWT.ICON_WARNING | SWT.OK);
    box.setText(Messages.getString("String_Node_Str"));
    box.setMessage(Messages.getString("String_Node_Str"));
    box.open();
    return;
  }
  tempFile=new File(pathFile,downloadproperty.getFileName());
  try {
    url=new URL(downloadproperty.getDownloadUrl());
  }
 catch (  MalformedURLException e1) {
    ExceptionHandler.process(e1);
  }
  if (!pathFile.exists()) {
    pathFile.mkdirs();
  }
  ProgressMonitorDialog progressDialog=new ProgressMonitorDialog(PlatformUI.getWorkbench().getDisplay().getActiveShell().getShell());
  IRunnableWithProgress runnable=new IRunnableWithProgress(){
    @Override public void run(    IProgressMonitor monitor){
      monitor.beginTask(Messages.getString("String_Node_Str"),IProgressMonitor.UNKNOWN);
      Display.getDefault().syncExec(new Runnable(){
        @Override public void run(){
          try {
            new DownloadHelper().download(url,tempFile);
          }
 catch (          Exception e) {
            ExceptionHandler.process(e);
          }
        }
      }
);
      monitor.done();
    }
  }
;
  try {
    progressDialog.run(true,true,runnable);
  }
 catch (  InvocationTargetException e1) {
    ExceptionHandler.process(e1);
  }
catch (  InterruptedException e1) {
    ExceptionHandler.process(e1);
  }
  selectFile=tempFile.toString();
  super.okPressed();
}