Program: 19196
Project: 19196
Buggy source:
@Override protected void onResume(){
  super.onResume();
  IntentFilter filter=new IntentFilter(SearchGeocacheService.ACTION_PROGRESS_UPDATE);
  filter.addAction(SearchGeocacheService.ACTION_PROGRESS_UPDATE);
  filter.addAction(SearchGeocacheService.ACTION_PROGRESS_COMPLETE);
  filter.addAction(SearchGeocacheService.ACTION_ERROR);
  registerReceiver(searchGeocacheReceiver,filter);
  handler=new Handler();
  latitudeEditText=(EditText)findViewById(R.id.latitudeEditText);
  longitudeEditText=(EditText)findViewById(R.id.logitudeEditText);
  simpleCacheDataCheckBox=(CheckBox)findViewById(R.id.simpleCacheDataCheckBox);
  importCachesCheckBox=(CheckBox)findViewById(R.id.importCachesCheckBox);
  latitudeEditText.setOnFocusChangeListener(new View.OnFocusChangeListener(){
    @Override public void onFocusChange(    View v,    boolean hasFocus){
      if (!hasFocus) {
        double deg=Coordinates.convertDegToDouble(latitudeEditText.getText().toString());
        if (Double.isNaN(deg)) {
          latitudeEditText.setText("String_Node_Str");
        }
 else {
          latitudeEditText.setText(Coordinates.convertDoubleToDeg(deg,false));
        }
      }
    }
  }
);
  longitudeEditText.setOnFocusChangeListener(new View.OnFocusChangeListener(){
    @Override public void onFocusChange(    View v,    boolean hasFocus){
      if (!hasFocus) {
        double deg=Coordinates.convertDegToDouble(longitudeEditText.getText().toString());
        if (Double.isNaN(deg)) {
          longitudeEditText.setText("String_Node_Str");
        }
 else {
          longitudeEditText.setText(Coordinates.convertDoubleToDeg(deg,true));
        }
      }
    }
  }
);
  simpleCacheDataCheckBox.setChecked(prefs.getBoolean("String_Node_Str",false));
  simpleCacheDataCheckBox.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener(){
    @Override public void onCheckedChanged(    CompoundButton buttonView,    boolean isChecked){
      Editor edit=prefs.edit();
      edit.putBoolean("String_Node_Str",isChecked);
      edit.commit();
    }
  }
);
  importCachesCheckBox.setChecked(prefs.getBoolean("String_Node_Str",false));
  importCachesCheckBox.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener(){
    @Override public void onCheckedChanged(    CompoundButton buttonView,    boolean isChecked){
      Editor edit=prefs.edit();
      edit.putBoolean("String_Node_Str",isChecked);
      edit.commit();
    }
  }
);
  if (!hasCoordinates) {
    acquireCoordinates();
  }
 else {
    latitudeEditText.setText(Coordinates.convertDoubleToDeg(latitude,false));
    longitudeEditText.setText(Coordinates.convertDoubleToDeg(longitude,true));
    requestProgressUpdate();
  }
  Log.i(TAG,"String_Node_Str");
}

Fixed version (ground truth):
@Override protected void onResume(){
  super.onResume();
  IntentFilter filter=new IntentFilter(SearchGeocacheService.ACTION_PROGRESS_UPDATE);
  filter.addAction(SearchGeocacheService.ACTION_PROGRESS_UPDATE);
  filter.addAction(SearchGeocacheService.ACTION_PROGRESS_COMPLETE);
  filter.addAction(SearchGeocacheService.ACTION_ERROR);
  registerReceiver(searchGeocacheReceiver,filter);
  handler=new Handler();
  latitudeEditText=(EditText)findViewById(R.id.latitudeEditText);
  longitudeEditText=(EditText)findViewById(R.id.logitudeEditText);
  simpleCacheDataCheckBox=(CheckBox)findViewById(R.id.simpleCacheDataCheckBox);
  importCachesCheckBox=(CheckBox)findViewById(R.id.importCachesCheckBox);
  latitudeEditText.setOnFocusChangeListener(new View.OnFocusChangeListener(){
    @Override public void onFocusChange(    View v,    boolean hasFocus){
      if (!hasFocus) {
        double deg=Coordinates.convertDegToDouble(latitudeEditText.getText().toString());
        if (Double.isNaN(deg)) {
          ((EditText)v).setText("String_Node_Str");
        }
 else {
          ((EditText)v).setText(Coordinates.convertDoubleToDeg(deg,false));
        }
      }
    }
  }
);
  longitudeEditText.setOnFocusChangeListener(new View.OnFocusChangeListener(){
    @Override public void onFocusChange(    View v,    boolean hasFocus){
      if (!hasFocus) {
        double deg=Coordinates.convertDegToDouble(longitudeEditText.getText().toString());
        if (Double.isNaN(deg)) {
          ((EditText)v).setText("String_Node_Str");
        }
 else {
          ((EditText)v).setText(Coordinates.convertDoubleToDeg(deg,true));
        }
      }
    }
  }
);
  simpleCacheDataCheckBox.setChecked(prefs.getBoolean("String_Node_Str",false));
  simpleCacheDataCheckBox.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener(){
    @Override public void onCheckedChanged(    CompoundButton buttonView,    boolean isChecked){
      Editor edit=prefs.edit();
      edit.putBoolean("String_Node_Str",isChecked);
      edit.commit();
    }
  }
);
  importCachesCheckBox.setChecked(prefs.getBoolean("String_Node_Str",false));
  importCachesCheckBox.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener(){
    @Override public void onCheckedChanged(    CompoundButton buttonView,    boolean isChecked){
      Editor edit=prefs.edit();
      edit.putBoolean("String_Node_Str",isChecked);
      edit.commit();
    }
  }
);
  if (!hasCoordinates) {
    acquireCoordinates();
  }
 else {
    updateCoordinateTextView();
    requestProgressUpdate();
  }
  Log.i(TAG,"String_Node_Str");
}