Program: 147244
Project: 147244
Buggy source:
@Override public View onCreateView(LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState){
  final boolean isFullyFunded=patientObj.isFullyFunded();
  View view=inflater.inflate(R.layout.fragment_new_patient_detail,container,false);
  profileInfo=(LinearLayout)view.findViewById(R.id.profileInfo);
  donateAndShare=(LinearLayout)view.findViewById(R.id.donateAndShare);
  divder_down=(View)view.findViewById(R.id.divder_down);
  fullyFundedCheckMark=(ImageView)view.findViewById(R.id.isFullyFunded);
  donationToGo=(TextView)view.findViewById(R.id.donationToGo);
  story=(TextView)view.findViewById(R.id.patientStory);
  Util.applyPrimaryFont(getActivity(),story);
  getActivity().getActionBar().setTitle(patientObj.getFullName());
  shareAction=(ImageView)view.findViewById(R.id.shareIv);
  shareOnFacebook=(ImageView)view.findViewById(R.id.share_fb);
  donateView=(ImageView)view.findViewById(R.id.fund_treatment);
  shareOnTwitter=(ImageView)view.findViewById(R.id.share_tw);
  story.setText(patientObj.getStory().replace("String_Node_Str","String_Node_Str"));
  shareAction.setTag(patientObj);
  shareAction.setOnClickListener(new OnClickListener(){
    @Override public void onClick(    View v){
      startShareIntent(getActivity(),(Patient)v.getTag());
    }
  }
);
  shareOnTwitter.setTag(patientObj);
  shareOnTwitter.setOnClickListener(new OnClickListener(){
    @Override public void onClick(    View v){
      startShareIntentWithTwitter(getActivity(),(Patient)v.getTag());
    }
  }
);
  shareOnFacebook.setTag(patientObj);
  shareOnFacebook.setOnClickListener(new OnClickListener(){
    @Override public void onClick(    View v){
      startShareIntentWithFaceBook(getActivity(),(Patient)v.getTag());
    }
  }
);
  if (isFullyFunded) {
    fullyFundedCheckMark.setVisibility(View.VISIBLE);
    donateView.setVisibility(View.INVISIBLE);
  }
 else {
    Util.applyPrimaryFont(getActivity(),donationToGo);
    donationToGo.setText(Util.formatAmount(patientObj.getDonationToGo()) + "String_Node_Str");
    donateView.setVisibility(View.VISIBLE);
    donateView.setTag(patientObj);
    donateView.setOnClickListener(new OnClickListener(){
      @Override public void onClick(      View v){
        Intent intent=Util.getFundTreatmentIntent(getActivity(),patientObj,new BigDecimal("String_Node_Str"));
        startActivityForResult(intent,0);
      }
    }
);
  }
  mAdapter=new TestFragmentAdapter(getActivity().getSupportFragmentManager());
  mPager=(ViewPager)view.findViewById(R.id.pager);
  mPager.setAdapter(mAdapter);
  mIndicator=(CirclePageIndicator)view.findViewById(R.id.indicator);
  mIndicator.setViewPager(mPager);
  return view;
}

Fixed version (ground truth):
@Override public View onCreateView(LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState){
  final boolean isFullyFunded=patientObj.isFullyFunded();
  View view=inflater.inflate(R.layout.fragment_new_patient_detail,container,false);
  profileInfo=(LinearLayout)view.findViewById(R.id.profileInfo);
  donateAndShare=(LinearLayout)view.findViewById(R.id.donateAndShare);
  divder_down=(View)view.findViewById(R.id.divder_down);
  fullyFundedCheckMark=(ImageView)view.findViewById(R.id.isFullyFunded);
  donationToGo=(TextView)view.findViewById(R.id.donationToGo);
  story=(TextView)view.findViewById(R.id.patientStory);
  Util.applyPrimaryFont(getActivity(),story);
  getActivity().getActionBar().setTitle(patientObj.getFullName());
  shareAction=(ImageView)view.findViewById(R.id.shareIv);
  shareOnFacebook=(ImageView)view.findViewById(R.id.share_fb);
  donateView=(ImageView)view.findViewById(R.id.fund_treatment);
  shareOnTwitter=(ImageView)view.findViewById(R.id.share_tw);
  story.setText(patientObj.getStory().replace("String_Node_Str","String_Node_Str"));
  shareAction.setTag(patientObj);
  shareAction.setOnClickListener(new OnClickListener(){
    @Override public void onClick(    View v){
      startShareIntent(getActivity(),(Patient)v.getTag());
    }
  }
);
  shareOnTwitter.setTag(patientObj);
  shareOnTwitter.setOnClickListener(new OnClickListener(){
    @Override public void onClick(    View v){
      startShareIntentWithTwitter(getActivity(),(Patient)v.getTag());
    }
  }
);
  shareOnFacebook.setTag(patientObj);
  shareOnFacebook.setOnClickListener(new OnClickListener(){
    @Override public void onClick(    View v){
      startShareIntentWithFaceBook(getActivity(),(Patient)v.getTag());
    }
  }
);
  if (isFullyFunded) {
    fullyFundedCheckMark.setVisibility(View.VISIBLE);
    donateView.setVisibility(View.INVISIBLE);
  }
 else {
    Util.applyPrimaryFont(getActivity(),donationToGo);
    donationToGo.setText(Util.formatAmount(patientObj.getDonationToGo()) + "String_Node_Str");
    donateView.setVisibility(View.VISIBLE);
    donateView.setTag(patientObj);
    donateView.setOnClickListener(new OnClickListener(){
      @Override public void onClick(      View v){
        Intent intent=Util.getFundTreatmentIntent((BaseFragmentActivity)getActivity(),patientObj,new BigDecimal("String_Node_Str"),"String_Node_Str","String_Node_Str");
        startActivityForResult(intent,0);
      }
    }
);
  }
  mAdapter=new TestFragmentAdapter(getActivity().getSupportFragmentManager());
  mPager=(ViewPager)view.findViewById(R.id.pager);
  mPager.setAdapter(mAdapter);
  mIndicator=(CirclePageIndicator)view.findViewById(R.id.indicator);
  mIndicator.setViewPager(mPager);
  return view;
}