Program: 4023
Project: 4023
Buggy source:
@Override public View onCreateView(LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState){
  View rootView=inflater.inflate(R.layout.fragment_profile,container,false);
  context=getActivity();
  api=new WaniKaniApi(getActivity());
  dataMan=new OfflineDataManager(getActivity());
  prefMan=new PrefManager(getActivity());
  mAvatar=(ImageView)rootView.findViewById(R.id.profile_avatar);
  mUsername=(TextView)rootView.findViewById(R.id.profile_username);
  mTitle=(TextView)rootView.findViewById(R.id.profile_title);
  mLevel=(TextView)rootView.findViewById(R.id.profile_level);
  mTopicsCount=(TextView)rootView.findViewById(R.id.profile_topics_count);
  mPostsCount=(TextView)rootView.findViewById(R.id.profile_posts_count);
  mCreationDate=(TextView)rootView.findViewById(R.id.profile_creation_date);
  mAbout=(TextView)rootView.findViewById(R.id.profile_about);
  mWebsite=(TextView)rootView.findViewById(R.id.profile_website);
  mTwitter=(TextView)rootView.findViewById(R.id.profile_twitter);
  mAboutHolder=(LinearLayout)rootView.findViewById(R.id.profile_about_holder);
  mWebsiteHolder=(RelativeLayout)rootView.findViewById(R.id.profile_website_holder);
  mTwitterHolder=(RelativeLayout)rootView.findViewById(R.id.profile_twitter_holder);
  mViewFlipper=(ViewFlipper)rootView.findViewById(R.id.profile_view_flipper);
  mViewFlipper.setInAnimation(getActivity(),R.anim.abc_fade_in);
  mViewFlipper.setInAnimation(getActivity(),R.anim.abc_fade_out);
  mPullToRefreshLayout=(PullToRefreshLayout)rootView.findViewById(R.id.dashboard_pull_to_refresh);
  ActionBarPullToRefresh.from(getActivity()).allChildrenArePullable().listener(this).setup(mPullToRefreshLayout);
  if (prefMan.isProfileFirstTime()) {
    if (mViewFlipper.getDisplayedChild() == 0) {
      mViewFlipper.showNext();
    }
  }
  setOldValues();
  mPullToRefreshLayout.setRefreshing(true);
  new LoadTask().execute();
  return rootView;
}

Fixed version (ground truth):
@Override public View onCreateView(LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState){
  View rootView=inflater.inflate(R.layout.fragment_profile,container,false);
  context=getActivity();
  api=new WaniKaniApi(getActivity());
  dataMan=new OfflineDataManager(getActivity());
  prefMan=new PrefManager(getActivity());
  mAvatar=(ImageView)rootView.findViewById(R.id.profile_avatar);
  mUsername=(TextView)rootView.findViewById(R.id.profile_username);
  mTitle=(TextView)rootView.findViewById(R.id.profile_title);
  mLevel=(TextView)rootView.findViewById(R.id.profile_level);
  mTopicsCount=(TextView)rootView.findViewById(R.id.profile_topics_count);
  mPostsCount=(TextView)rootView.findViewById(R.id.profile_posts_count);
  mCreationDate=(TextView)rootView.findViewById(R.id.profile_creation_date);
  mAbout=(TextView)rootView.findViewById(R.id.profile_about);
  mWebsite=(TextView)rootView.findViewById(R.id.profile_website);
  mTwitter=(TextView)rootView.findViewById(R.id.profile_twitter);
  mAboutHolder=(LinearLayout)rootView.findViewById(R.id.profile_about_holder);
  mWebsiteHolder=(RelativeLayout)rootView.findViewById(R.id.profile_website_holder);
  mTwitterHolder=(RelativeLayout)rootView.findViewById(R.id.profile_twitter_holder);
  mViewFlipper=(ViewFlipper)rootView.findViewById(R.id.profile_view_flipper);
  mViewFlipper.setInAnimation(getActivity(),R.anim.abc_fade_in);
  mViewFlipper.setInAnimation(getActivity(),R.anim.abc_fade_out);
  mPullToRefreshLayout=(PullToRefreshLayout)rootView.findViewById(R.id.dashboard_pull_to_refresh);
  ActionBarPullToRefresh.from(getActivity()).allChildrenArePullable().listener(this).setup(mPullToRefreshLayout);
  if (prefMan.isProfileFirstTime()) {
    if (mViewFlipper.getDisplayedChild() == 0) {
      mViewFlipper.showNext();
    }
  }
  setOldValues();
  if (!MainActivity.isFirstSyncProfileDone) {
    mPullToRefreshLayout.setRefreshing(true);
    new LoadTask().execute();
    MainActivity.isFirstSyncProfileDone=true;
  }
  return rootView;
}