Program: 168336
Project: 168336
Buggy source:
private void addListeners(){
  gen.setOnCheckedChangeListener(new RadioGroup.OnCheckedChangeListener(){
    public void onCheckedChanged(    RadioGroup rGroup,    int checkedId){
      gendererror.setVisibility(View.GONE);
    }
  }
);
  if (eddob != null) {
    eddob.setOnClickListener(new View.OnClickListener(){
      @Override public void onClick(      View v){
        Calendar currentDate=Calendar.getInstance();
        int cYear=currentDate.get(Calendar.YEAR);
        int cMonth=currentDate.get(Calendar.MONTH);
        int cDay=currentDate.get(Calendar.DAY_OF_MONTH);
        edmonth.getText().clear();
        edyr.getText().clear();
        DatePickerDialog mDatePicker=new DatePickerDialog(RegisterPatientFragment.this.getActivity(),new DatePickerDialog.OnDateSetListener(){
          public void onDateSet(          DatePicker datepicker,          int selectedyear,          int selectedmonth,          int selectedday){
            eddob.setText(selectedday + "String_Node_Str" + selectedmonth+ "String_Node_Str"+ selectedyear);
            birthdate=new LocalDate(selectedyear,selectedmonth,selectedday);
            bdt=birthdate.toDateTimeAtStartOfDay().toDateTime();
          }
        }
,cYear,cMonth,cDay);
        mDatePicker.setTitle("String_Node_Str");
        mDatePicker.show();
      }
    }
);
  }
  registerConfirm.setOnClickListener(new View.OnClickListener(){
    @Override public void onClick(    View view){
      mPresenter.confirm(createPatient());
    }
  }
);
  TextWatcher textWatcher=new RegisterPatientBirthdateValidatorWatcher(eddob,edmonth,edyr);
  edmonth.addTextChangedListener(textWatcher);
  edyr.addTextChangedListener(textWatcher);
}

Fixed version (ground truth):
private void addListeners(){
  gen.setOnCheckedChangeListener(new RadioGroup.OnCheckedChangeListener(){
    public void onCheckedChanged(    RadioGroup rGroup,    int checkedId){
      gendererror.setVisibility(View.GONE);
    }
  }
);
  if (eddob != null) {
    eddob.setOnClickListener(new View.OnClickListener(){
      @Override public void onClick(      View v){
        Calendar currentDate=Calendar.getInstance();
        int cYear=currentDate.get(Calendar.YEAR);
        int cMonth=currentDate.get(Calendar.MONTH);
        int cDay=currentDate.get(Calendar.DAY_OF_MONTH);
        edmonth.getText().clear();
        edyr.getText().clear();
        DatePickerDialog mDatePicker=new DatePickerDialog(RegisterPatientFragment.this.getActivity(),new DatePickerDialog.OnDateSetListener(){
          public void onDateSet(          DatePicker datepicker,          int selectedyear,          int selectedmonth,          int selectedday){
            selectedmonth++;
            eddob.setText(selectedday + "String_Node_Str" + selectedmonth+ "String_Node_Str"+ selectedyear);
            birthdate=new LocalDate(selectedyear,selectedmonth,selectedday);
            bdt=birthdate.toDateTimeAtStartOfDay().toDateTime();
          }
        }
,cYear,cMonth,cDay);
        mDatePicker.setTitle("String_Node_Str");
        mDatePicker.show();
      }
    }
);
  }
  registerConfirm.setOnClickListener(new View.OnClickListener(){
    @Override public void onClick(    View view){
      mPresenter.confirm(createPatient());
    }
  }
);
  TextWatcher textWatcher=new RegisterPatientBirthdateValidatorWatcher(eddob,edmonth,edyr);
  edmonth.addTextChangedListener(textWatcher);
  edyr.addTextChangedListener(textWatcher);
}