Program: 2850
Project: 2850
Buggy source:
@SuppressWarnings("String_Node_Str") public synchronized void launch(ILaunchConfiguration configuration,String mode,ILaunch launch,final IProgressMonitor monitor) throws CoreException {
  try {
    setProcessFinished(false);
    m_projectName=configuration.getAttribute(projectNameCfgAttribute,"String_Node_Str");
    m_platformName=configuration.getAttribute(platforrmCfgAttribute,"String_Node_Str");
    final IProject project=ResourcesPlugin.getWorkspace().getRoot().getProject(m_projectName);
    if (project == null || m_platformName == null || m_platformName.length() == 0) {
      throw new IllegalArgumentException();
    }
    Thread cancelingThread=new Thread(new Runnable(){
      @Override public void run(){
        try {
          rhodesAdapter.buildApp(project.getLocation().toOSString(),m_platformName);
          setProcessFinished(true);
        }
 catch (        Exception e) {
          e.printStackTrace();
        }
      }
    }
);
    cancelingThread.start();
    while (true) {
      try {
        if (monitor.isCanceled()) {
          List<String> cmdLine=new ArrayList<String>();
          if (OSValidator.OSType.WINDOWS == OSValidator.detect()) {
            cmdLine.add("String_Node_Str");
            cmdLine.add("String_Node_Str");
            cmdLine.add("String_Node_Str");
            cmdLine.add("String_Node_Str");
          }
 else {
            cmdLine.add("String_Node_Str");
            cmdLine.add("String_Node_Str");
            cmdLine.add("String_Node_Str");
          }
          SysCommandExecutor executor=new SysCommandExecutor();
          executor.runCommand(cmdLine);
          return;
        }
        if (getProcessFinished()) {
          return;
        }
        Thread.sleep(100);
      }
 catch (      InterruptedException e) {
        e.printStackTrace();
      }
    }
  }
 catch (  IllegalArgumentException e) {
    ConsoleHelper.consolePrint("String_Node_Str");
  }
catch (  Exception e) {
    e.printStackTrace();
  }
}

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);
    if (m_appLogReader != null) {
      m_appLogReader.stopReading();
    }
    m_projectName=configuration.getAttribute(projectNameCfgAttribute,"String_Node_Str");
    m_platformName=configuration.getAttribute(platforrmCfgAttribute,"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) {
      throw new IllegalArgumentException();
    }
    Thread cancelingThread=new Thread(new Runnable(){
      @Override public void run(){
        try {
          rhodesAdapter.buildApp(project.getLocation().toOSString(),m_platformName,m_onDevice);
          setProcessFinished(true);
          startLogOutput(project);
        }
 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("String_Node_Str");
  }
catch (  Exception e) {
    e.printStackTrace();
  }
}