Program: 172656
Project: 172656
Buggy source:
/** 
 * 초기화, 달력 날짜 클릭 이벤트 설정, 신청 버튼 클릭 이벤트 설정
 * @param rootView 필요한 뷰를 찾을 최상위 뷰
 */
private void init(View rootView){
  getActivity().setTitle(R.string.nav_stayapply);
  mAccountPrefs=getActivity().getSharedPreferences(getString(R.string.PREFS_ACCOUNT),MODE_PRIVATE);
  mDefaultStatusPrefs=getActivity().getSharedPreferences(getString(R.string.PREFS_DEFAULTSTATUS),MODE_PRIVATE);
  mDefaultStatusTV=(TextView)rootView.findViewById(R.id.tv_stayapply_defaultstatus);
  mSelectedWeekTV=(TextView)rootView.findViewById(R.id.tv_stayapply_selectedweek);
  mSelectedWeekStatusTV=(TextView)rootView.findViewById(R.id.tv_stayapply_selectedweekstatus);
  final CalendarView calendarView=(CalendarView)rootView.findViewById(R.id.calendar_stayapply);
  new LoadDefaultStayStatusTask().execute();
  Button changeDefaultStatusBtn=(Button)rootView.findViewById(R.id.btn_stayapply_changedefaultstatus);
  changeDefaultStatusBtn.setOnClickListener(new View.OnClickListener(){
    @Override public void onClick(    View v){
      ChangeDefaultStatusDialog.newInstance(getContext(),mDefaultStatusPrefs.getInt(getString(R.string.PREFS_DEFAULTSTATUS_DEFAULTSTATUS),STAY),new ChangeDefaultStatusDialog.ChangeDefaultStatusListener(){
        @Override public void onChangeDefaultStatus(        int defaultStatus){
          mDefaultStatusPrefs.edit().putInt(getString(R.string.PREFS_DEFAULTSTATUS_DEFAULTSTATUS),defaultStatus).apply();
          setDefaultStatusTV(StayApplyUtils.getStringFromStayStatus(defaultStatus));
        }
      }
).show(getChildFragmentManager(),null);
    }
  }
);
  setSelectedWeekTV(calendarView.getLastSelectedDay());
  mSelectedDate=new Date();
  new LoadStayStatusTask().execute(DateUtils.dateToWeekDateString(mSelectedDate));
  calendarView.setOnDateClickListener(new CalendarView.OnDateClickListener(){
    @Override public void onDateClick(    @NonNull Date date){
      mSelectedDate=date;
      setSelectedWeekTV(date);
      setSelectedWeekStatusTV(null);
      new LoadStayStatusTask().execute(DateUtils.dateToWeekDateString(mSelectedDate));
    }
  }
);
  final DMSRadioButton fridayGoRB=(DMSRadioButton)rootView.findViewById(R.id.rb_stayapply_fridaygo);
  final DMSRadioButton saturdayGoRB=(DMSRadioButton)rootView.findViewById(R.id.rb_stayapply_saturdaygo);
  final DMSRadioButton saturdayComeRB=(DMSRadioButton)rootView.findViewById(R.id.rb_stayapply_saturdaycome);
  final DMSRadioButton stayRB=(DMSRadioButton)rootView.findViewById(R.id.rb_stayapply_stay);
  DMSButton applyBtn=(DMSButton)rootView.findViewById(R.id.btn_stayapply_apply);
  applyBtn.setOnClickListener(new View.OnClickListener(){
    @Override public void onClick(    View view){
      if (fridayGoRB.isChecked()) {
        new ApplyStayStatusTask().execute(FRIDAY_GO,DateUtils.dateToWeekDateString(mSelectedDate));
      }
 else       if (saturdayGoRB.isChecked()) {
        new ApplyStayStatusTask().execute(SATURDAY_GO,DateUtils.dateToWeekDateString(mSelectedDate));
      }
 else       if (saturdayComeRB.isChecked()) {
        new ApplyStayStatusTask().execute(SATURDAY_COME,DateUtils.dateToWeekDateString(mSelectedDate));
      }
 else       if (stayRB.isChecked()) {
        new ApplyStayStatusTask().execute(STAY,DateUtils.dateToWeekDateString(mSelectedDate));
      }
 else {
        Toast.makeText(getContext(),R.string.stayapply_nochecked,Toast.LENGTH_SHORT).show();
      }
    }
  }
);
}

Fixed version (ground truth):
/** 
 * 초기화, 달력 날짜 클릭 이벤트 설정, 신청 버튼 클릭 이벤트 설정
 * @param rootView 필요한 뷰를 찾을 최상위 뷰
 */
private void init(View rootView){
  getActivity().setTitle(R.string.nav_stayapply);
  mAccountPrefs=getActivity().getSharedPreferences(getString(R.string.PREFS_ACCOUNT),MODE_PRIVATE);
  mDefaultStatusPrefs=getActivity().getSharedPreferences(getString(R.string.PREFS_DEFAULTSTATUS),MODE_PRIVATE);
  mDefaultStatusTV=(TextView)rootView.findViewById(R.id.tv_stayapply_defaultstatus);
  mSelectedWeekTV=(TextView)rootView.findViewById(R.id.tv_stayapply_selectedweek);
  mSelectedWeekStatusTV=(TextView)rootView.findViewById(R.id.tv_stayapply_selectedweekstatus);
  final CalendarView calendarView=(CalendarView)rootView.findViewById(R.id.calendar_stayapply);
  new LoadDefaultStayStatusTask().execute();
  Button changeDefaultStatusBtn=(Button)rootView.findViewById(R.id.btn_stayapply_changedefaultstatus);
  changeDefaultStatusBtn.setOnClickListener(new View.OnClickListener(){
    @Override public void onClick(    View v){
      ChangeDefaultStatusDialog.newInstance(getContext(),mDefaultStatusPrefs.getInt(getString(R.string.PREFS_DEFAULTSTATUS_DEFAULTSTATUS),STAY),new ChangeDefaultStatusDialog.ChangeDefaultStatusListener(){
        @Override public void onChangeDefaultStatus(        int defaultStatus){
          mDefaultStatusPrefs.edit().putInt(getString(R.string.PREFS_DEFAULTSTATUS_DEFAULTSTATUS),defaultStatus).apply();
          setDefaultStatusTV(StayApplyUtils.getStringFromStayStatus(defaultStatus));
        }
      }
).show(getChildFragmentManager(),null);
    }
  }
);
  setSelectedWeekTV(calendarView.getLastSelectedWeekString());
  mSelectedDate=new Date();
  new LoadStayStatusTask().execute(DateUtils.dateToWeekDateString(mSelectedDate));
  calendarView.setOnDateClickListener(new CalendarView.OnDateClickListener(){
    @Override public void onDateClick(    @NonNull Date date){
      mSelectedDate=date;
      setSelectedWeekTV(calendarView.getLastSelectedWeekString());
      setSelectedWeekStatusTV(null);
      new LoadStayStatusTask().execute(DateUtils.dateToWeekDateString(mSelectedDate));
    }
  }
);
  final DMSRadioButton fridayGoRB=(DMSRadioButton)rootView.findViewById(R.id.rb_stayapply_fridaygo);
  final DMSRadioButton saturdayGoRB=(DMSRadioButton)rootView.findViewById(R.id.rb_stayapply_saturdaygo);
  final DMSRadioButton saturdayComeRB=(DMSRadioButton)rootView.findViewById(R.id.rb_stayapply_saturdaycome);
  final DMSRadioButton stayRB=(DMSRadioButton)rootView.findViewById(R.id.rb_stayapply_stay);
  DMSButton applyBtn=(DMSButton)rootView.findViewById(R.id.btn_stayapply_apply);
  applyBtn.setOnClickListener(new View.OnClickListener(){
    @Override public void onClick(    View view){
      if (fridayGoRB.isChecked()) {
        new ApplyStayStatusTask().execute(FRIDAY_GO,DateUtils.dateToWeekDateString(mSelectedDate));
      }
 else       if (saturdayGoRB.isChecked()) {
        new ApplyStayStatusTask().execute(SATURDAY_GO,DateUtils.dateToWeekDateString(mSelectedDate));
      }
 else       if (saturdayComeRB.isChecked()) {
        new ApplyStayStatusTask().execute(SATURDAY_COME,DateUtils.dateToWeekDateString(mSelectedDate));
      }
 else       if (stayRB.isChecked()) {
        new ApplyStayStatusTask().execute(STAY,DateUtils.dateToWeekDateString(mSelectedDate));
      }
 else {
        Toast.makeText(getContext(),R.string.stayapply_nochecked,Toast.LENGTH_SHORT).show();
      }
    }
  }
);
}