Program: 8676
Project: 8676
Buggy source:
@Nullable @Override public View onCreateView(LayoutInflater inflater,@Nullable ViewGroup container,@Nullable Bundle savedInstanceState){
  View view=inflater.inflate(R.layout.fragment_calendar,container,false);
  owghat1=(RelativeLayout)view.findViewById(R.id.owghat1);
  owghat2=(RelativeLayout)view.findViewById(R.id.owghat2);
  owghat3=(RelativeLayout)view.findViewById(R.id.owghat3);
  owghat4=(RelativeLayout)view.findViewById(R.id.owghat4);
  owghat5=(RelativeLayout)view.findViewById(R.id.owghat5);
  owghat6=(RelativeLayout)view.findViewById(R.id.owghat6);
  owghat7=(RelativeLayout)view.findViewById(R.id.owghat7);
  owghat8=(RelativeLayout)view.findViewById(R.id.owghat8);
  FragmentActivity activity=getActivity();
  georgianDate=(TextView)view.findViewById(R.id.georgian_date);
  utils.prepareTextView(activity,georgianDate);
  islamicDate=(TextView)view.findViewById(R.id.islamic_date);
  utils.prepareTextView(activity,islamicDate);
  shamsiDate=(TextView)view.findViewById(R.id.shamsi_date);
  utils.prepareTextView(activity,shamsiDate);
  weekDayName=(TextView)view.findViewById(R.id.week_day_name);
  utils.prepareTextView(activity,weekDayName);
  today=(TextView)view.findViewById(R.id.today);
  todayIcon=(AppCompatImageView)view.findViewById(R.id.today_icon);
  athan1=(TextView)view.findViewById(R.id.azan1);
  utils.prepareTextView(activity,athan1);
  utils.prepareShapeTextView(activity,(TextView)view.findViewById(R.id.azan1text));
  athan2=(TextView)view.findViewById(R.id.azan2);
  utils.prepareTextView(activity,athan2);
  utils.prepareShapeTextView(activity,(TextView)view.findViewById(R.id.azan2text));
  athan3=(TextView)view.findViewById(R.id.azan3);
  utils.prepareTextView(activity,athan3);
  utils.prepareShapeTextView(activity,(TextView)view.findViewById(R.id.azan3text));
  athan4=(TextView)view.findViewById(R.id.azan4);
  utils.prepareTextView(activity,athan4);
  utils.prepareShapeTextView(activity,(TextView)view.findViewById(R.id.azan4text));
  athan5=(TextView)view.findViewById(R.id.azan5);
  utils.prepareTextView(activity,athan5);
  utils.prepareShapeTextView(activity,(TextView)view.findViewById(R.id.azan5text));
  aftab1=(TextView)view.findViewById(R.id.aftab1);
  utils.prepareTextView(activity,aftab1);
  utils.prepareShapeTextView(activity,(TextView)view.findViewById(R.id.aftab1text));
  aftab2=(TextView)view.findViewById(R.id.aftab2);
  utils.prepareTextView(activity,aftab2);
  utils.prepareShapeTextView(activity,(TextView)view.findViewById(R.id.aftab2text));
  aftab3=(TextView)view.findViewById(R.id.aftab3);
  utils.prepareTextView(activity,aftab3);
  utils.prepareShapeTextView(activity,(TextView)view.findViewById(R.id.aftab3text));
  moreOwghat=(AppCompatImageView)view.findViewById(R.id.more_owghat);
  eventTitle=(TextView)view.findViewById(R.id.event_title);
  holidayTitle=(TextView)view.findViewById(R.id.holiday_title);
  utils.prepareTextView(activity,holidayTitle);
  owghat=(CardView)view.findViewById(R.id.owghat);
  event=(CardView)view.findViewById(R.id.event);
  monthViewPager=(ViewPager)view.findViewById(R.id.calendar_pager);
  utils.loadHolidays(getResources().openRawResource(R.raw.holidays));
  utils.loadEvents(getResources().openRawResource(R.raw.events));
  digits=utils.preferredDigits(getContext());
  clockIn24=utils.clockIn24(getContext());
  coordinate=utils.getCoordinate(getContext());
  prayTimesCalculator=new PrayTimesCalculator(utils.getCalculationMethod(getContext()));
  monthViewPager.setAdapter(new CalendarAdapter(activity.getSupportFragmentManager()));
  monthViewPager.setCurrentItem(Constants.MONTHS_LIMIT / 2);
  monthViewPager.addOnPageChangeListener(this);
  owghat.setOnClickListener(this);
  today.setOnClickListener(this);
  todayIcon.setOnClickListener(this);
  georgianDate.setOnClickListener(this);
  islamicDate.setOnClickListener(this);
  shamsiDate.setOnClickListener(this);
  utils.prepareShapeTextView(activity,(TextView)view.findViewById(R.id.event_card_title));
  utils.prepareShapeTextView(activity,(TextView)view.findViewById(R.id.today));
  utils.prepareShapeTextView(activity,(TextView)view.findViewById(R.id.owghat_text));
  return view;
}

Fixed version (ground truth):
@Nullable @Override public View onCreateView(LayoutInflater inflater,@Nullable ViewGroup container,@Nullable Bundle savedInstanceState){
  View view=inflater.inflate(R.layout.fragment_calendar,container,false);
  viewPagerPosition=0;
  owghat1=(RelativeLayout)view.findViewById(R.id.owghat1);
  owghat2=(RelativeLayout)view.findViewById(R.id.owghat2);
  owghat3=(RelativeLayout)view.findViewById(R.id.owghat3);
  owghat4=(RelativeLayout)view.findViewById(R.id.owghat4);
  owghat5=(RelativeLayout)view.findViewById(R.id.owghat5);
  owghat6=(RelativeLayout)view.findViewById(R.id.owghat6);
  owghat7=(RelativeLayout)view.findViewById(R.id.owghat7);
  owghat8=(RelativeLayout)view.findViewById(R.id.owghat8);
  FragmentActivity activity=getActivity();
  georgianDate=(TextView)view.findViewById(R.id.georgian_date);
  utils.prepareTextView(activity,georgianDate);
  islamicDate=(TextView)view.findViewById(R.id.islamic_date);
  utils.prepareTextView(activity,islamicDate);
  shamsiDate=(TextView)view.findViewById(R.id.shamsi_date);
  utils.prepareTextView(activity,shamsiDate);
  weekDayName=(TextView)view.findViewById(R.id.week_day_name);
  utils.prepareTextView(activity,weekDayName);
  today=(TextView)view.findViewById(R.id.today);
  todayIcon=(AppCompatImageView)view.findViewById(R.id.today_icon);
  athan1=(TextView)view.findViewById(R.id.azan1);
  utils.prepareTextView(activity,athan1);
  utils.prepareShapeTextView(activity,(TextView)view.findViewById(R.id.azan1text));
  athan2=(TextView)view.findViewById(R.id.azan2);
  utils.prepareTextView(activity,athan2);
  utils.prepareShapeTextView(activity,(TextView)view.findViewById(R.id.azan2text));
  athan3=(TextView)view.findViewById(R.id.azan3);
  utils.prepareTextView(activity,athan3);
  utils.prepareShapeTextView(activity,(TextView)view.findViewById(R.id.azan3text));
  athan4=(TextView)view.findViewById(R.id.azan4);
  utils.prepareTextView(activity,athan4);
  utils.prepareShapeTextView(activity,(TextView)view.findViewById(R.id.azan4text));
  athan5=(TextView)view.findViewById(R.id.azan5);
  utils.prepareTextView(activity,athan5);
  utils.prepareShapeTextView(activity,(TextView)view.findViewById(R.id.azan5text));
  aftab1=(TextView)view.findViewById(R.id.aftab1);
  utils.prepareTextView(activity,aftab1);
  utils.prepareShapeTextView(activity,(TextView)view.findViewById(R.id.aftab1text));
  aftab2=(TextView)view.findViewById(R.id.aftab2);
  utils.prepareTextView(activity,aftab2);
  utils.prepareShapeTextView(activity,(TextView)view.findViewById(R.id.aftab2text));
  aftab3=(TextView)view.findViewById(R.id.aftab3);
  utils.prepareTextView(activity,aftab3);
  utils.prepareShapeTextView(activity,(TextView)view.findViewById(R.id.aftab3text));
  moreOwghat=(AppCompatImageView)view.findViewById(R.id.more_owghat);
  eventTitle=(TextView)view.findViewById(R.id.event_title);
  holidayTitle=(TextView)view.findViewById(R.id.holiday_title);
  utils.prepareTextView(activity,holidayTitle);
  owghat=(CardView)view.findViewById(R.id.owghat);
  event=(CardView)view.findViewById(R.id.event);
  monthViewPager=(ViewPager)view.findViewById(R.id.calendar_pager);
  utils.loadHolidays(getResources().openRawResource(R.raw.holidays));
  utils.loadEvents(getResources().openRawResource(R.raw.events));
  digits=utils.preferredDigits(getContext());
  clockIn24=utils.clockIn24(getContext());
  coordinate=utils.getCoordinate(getContext());
  prayTimesCalculator=new PrayTimesCalculator(utils.getCalculationMethod(getContext()));
  monthViewPager.setAdapter(new CalendarAdapter(activity.getSupportFragmentManager()));
  monthViewPager.setCurrentItem(Constants.MONTHS_LIMIT / 2);
  monthViewPager.addOnPageChangeListener(this);
  owghat.setOnClickListener(this);
  today.setOnClickListener(this);
  todayIcon.setOnClickListener(this);
  georgianDate.setOnClickListener(this);
  islamicDate.setOnClickListener(this);
  shamsiDate.setOnClickListener(this);
  utils.prepareShapeTextView(activity,(TextView)view.findViewById(R.id.event_card_title));
  utils.prepareShapeTextView(activity,(TextView)view.findViewById(R.id.today));
  utils.prepareShapeTextView(activity,(TextView)view.findViewById(R.id.owghat_text));
  return view;
}