Program: 2838
Project: 2838
Buggy source:
@SuppressWarnings("String_Node_Str") public synchronized void launch(ILaunchConfiguration configuration,String mode,ILaunch launch,final IProgressMonitor monitor) throws CoreException {
  try {
    setProcessFinished(false);
    rhodesLogHelper.stopLog();
    m_projectName=configuration.getAttribute(projectNameCfgAttribute,"String_Node_Str");
    m_platformName=configuration.getAttribute(platforrmCfgAttribute,"String_Node_Str");
    m_appLogName=configuration.getAttribute(prjectLogFileName,"String_Node_Str");
    if (configuration.getAttribute(platforrmDeviceCfgAttribute,"String_Node_Str").equals("String_Node_Str")) {
      m_onDevice=true;
    }
    final IProject project=ResourcesPlugin.getWorkspace().getRoot().getProject(m_projectName);
    if (project == null || m_platformName == null || m_platformName.length() == 0 || !project.isOpen()) {
      throw new IllegalArgumentException("String_Node_Str");
    }
    Thread cancelingThread=new Thread(new Runnable(){
      @Override public void run(){
        try {
          EPlatformType type=RhodesAdapter.convertPlatformFromDesc(m_platformName);
          rhodesAdapter.buildApp(project.getLocation().toOSString(),type,m_onDevice);
          setProcessFinished(true);
          ConsoleHelper.showAppConsole();
          startLogOutput(project,type);
        }
 catch (        Exception e) {
          e.printStackTrace();
        }
      }
    }
);
    cancelingThread.start();
    while (true) {
      try {
        if (monitor.isCanceled()) {
          OSHelper.killProcess("String_Node_Str","String_Node_Str");
          return;
        }
        if (getProcessFinished()) {
          return;
        }
        Thread.sleep(100);
      }
 catch (      InterruptedException e) {
        e.printStackTrace();
      }
    }
  }
 catch (  IllegalArgumentException e) {
    ConsoleHelper.consolePrint(e.getMessage());
  }
catch (  Exception e) {
    e.printStackTrace();
  }
  monitor.done();
}

Fixed version (ground truth):
@SuppressWarnings("String_Node_Str") public synchronized void launch(ILaunchConfiguration configuration,String mode,ILaunch launch,final IProgressMonitor monitor) throws CoreException {
  try {
    setProcessFinished(false);
    rhodesLogHelper.stopLog();
    m_projectName=configuration.getAttribute(projectNameCfgAttribute,"String_Node_Str");
    m_platformName=configuration.getAttribute(platforrmCfgAttribute,"String_Node_Str");
    m_appLogName=configuration.getAttribute(prjectLogFileName,"String_Node_Str");
    if (configuration.getAttribute(platforrmDeviceCfgAttribute,"String_Node_Str").equals("String_Node_Str")) {
      m_onDevice=true;
    }
    if (m_projectName == null || m_projectName.length() == 0 || m_platformName == null || m_platformName.length() == 0) {
      throw new IllegalArgumentException("String_Node_Str");
    }
    final IProject project=ResourcesPlugin.getWorkspace().getRoot().getProject(m_projectName);
    Thread cancelingThread=new Thread(new Runnable(){
      @Override public void run(){
        try {
          EPlatformType type=RhodesAdapter.convertPlatformFromDesc(m_platformName);
          rhodesAdapter.buildApp(project.getLocation().toOSString(),type,m_onDevice);
          setProcessFinished(true);
          ConsoleHelper.showAppConsole();
          startLogOutput(project,type);
        }
 catch (        Exception e) {
          e.printStackTrace();
        }
      }
    }
);
    cancelingThread.start();
    while (true) {
      try {
        if (monitor.isCanceled()) {
          OSHelper.killProcess("String_Node_Str","String_Node_Str");
          return;
        }
        if (getProcessFinished()) {
          return;
        }
        Thread.sleep(100);
      }
 catch (      InterruptedException e) {
        e.printStackTrace();
      }
    }
  }
 catch (  IllegalArgumentException e) {
    ConsoleHelper.consolePrint(e.getMessage());
  }
catch (  Exception e) {
    e.printStackTrace();
  }
  monitor.done();
}