Program: 33663
Project: 33663
Buggy source:
@Override protected void onPostExecute(APIResponse.CODE code){
  super.onPostExecute(code);
  View view=mFragment.getView();
  if (view != null && activity != null) {
    TextView noDataText=(TextView)view.findViewById(R.id.no_data);
    View content=view.findViewById(R.id.team_content);
    if (code == APIResponse.CODE.NODATA) {
      noDataText.setText(R.string.no_team_info);
      noDataText.setVisibility(View.VISIBLE);
      content.setVisibility(View.GONE);
    }
 else {
      noDataText.setVisibility(View.GONE);
      content.setVisibility(View.VISIBLE);
      TextView teamName=((TextView)view.findViewById(R.id.team_name));
      if (mTeamName.isEmpty()) {
        teamName.setText("String_Node_Str" + mTeamNumber);
      }
 else {
        teamName.setText(mTeamName);
      }
      View teamLocationContainer=view.findViewById(R.id.team_location_container);
      if (mLocation.isEmpty()) {
        teamLocationContainer.setVisibility(View.GONE);
      }
 else {
        ((TextView)view.findViewById(R.id.team_location)).setText(mLocation);
        view.findViewById(R.id.team_location_container).setTag("String_Node_Str" + mLocation.replace("String_Node_Str","String_Node_Str"));
      }
      if (mTeamWebsite.isEmpty()) {
        view.findViewById(R.id.team_website_container).setTag("String_Node_Str" + mTeamKey);
        ((TextView)view.findViewById(R.id.team_website_title)).setText(R.string.find_team_on_google);
      }
 else {
        view.findViewById(R.id.team_website_container).setTag(mTeamWebsite);
        ((TextView)view.findViewById(R.id.team_website_title)).setText(R.string.view_team_website);
      }
      view.findViewById(R.id.team_twitter_container).setTag("String_Node_Str" + mTeamKey);
      ((TextView)view.findViewById(R.id.team_twitter_title)).setText(activity.getResources().getString(R.string.view_team_twitter,mTeamKey));
      view.findViewById(R.id.team_youtube_container).setTag("String_Node_Str" + mTeamKey);
      ((TextView)view.findViewById(R.id.team_youtube_title)).setText(activity.getResources().getString(R.string.view_team_youtube,mTeamKey));
      view.findViewById(R.id.team_cd_container).setTag("String_Node_Str" + mTeamKey);
      if (mFullName.isEmpty()) {
        view.findViewById(R.id.team_full_name_container).setVisibility(View.GONE);
      }
 else {
        SpannableString string=new SpannableString("String_Node_Str" + mFullName);
        string.setSpan(new TextAppearanceSpan(mFragment.getActivity(),R.style.InfoItemLabelStyle),0,3,Spannable.SPAN_INCLUSIVE_INCLUSIVE);
        ((TextView)view.findViewById(R.id.team_full_name)).setText(string);
      }
      view.findViewById(R.id.team_next_match_label).setVisibility(View.GONE);
      view.findViewById(R.id.team_next_match_details).setVisibility(View.GONE);
      if (code == APIResponse.CODE.OFFLINECACHE) {
        ((RefreshableHostActivity)mFragment.getActivity()).showWarningMessage(mFragment.getString(R.string.warning_using_cached_data));
      }
      view.findViewById(R.id.team_info_container).setVisibility(View.VISIBLE);
    }
    view.findViewById(R.id.progress).setVisibility(View.GONE);
    if (code == APIResponse.CODE.LOCAL && !isCancelled()) {
      requestParams.forceFromCache=false;
      PopulateTeamInfo secondLoad=new PopulateTeamInfo(mFragment,requestParams);
      mFragment.updateTask(secondLoad);
      secondLoad.execute(mTeamKey);
    }
 else {
      Log.i(Constants.REFRESH_LOG,"String_Node_Str" + mTeamKey + "String_Node_Str");
      if (activity != null && mFragment instanceof RefreshListener) {
        activity.notifyRefreshComplete(mFragment);
      }
    }
    AnalyticsHelper.sendTimingUpdate(activity,System.currentTimeMillis() - startTime,"String_Node_Str",mTeamKey);
  }
}

Fixed version (ground truth):
@Override protected void onPostExecute(APIResponse.CODE code){
  super.onPostExecute(code);
  View view=mFragment.getView();
  if (view != null && activity != null) {
    TextView noDataText=(TextView)view.findViewById(R.id.no_data);
    View content=view.findViewById(R.id.team_content);
    if (code == APIResponse.CODE.NODATA) {
      noDataText.setText(R.string.no_team_info);
      noDataText.setVisibility(View.VISIBLE);
      content.setVisibility(View.GONE);
    }
 else {
      noDataText.setVisibility(View.GONE);
      content.setVisibility(View.VISIBLE);
      TextView teamName=((TextView)view.findViewById(R.id.team_name));
      if (mTeamName.isEmpty()) {
        teamName.setText("String_Node_Str" + mTeamNumber);
      }
 else {
        teamName.setText(mTeamName);
      }
      View teamLocationContainer=view.findViewById(R.id.team_location_container);
      if (mLocation.isEmpty()) {
        teamLocationContainer.setVisibility(View.GONE);
      }
 else {
        ((TextView)view.findViewById(R.id.team_location)).setText(mLocation);
        view.findViewById(R.id.team_location_container).setTag("String_Node_Str" + mLocation.replace("String_Node_Str","String_Node_Str"));
      }
      if (mTeamWebsite.isEmpty()) {
        view.findViewById(R.id.team_website_container).setTag("String_Node_Str" + mTeamKey);
        ((TextView)view.findViewById(R.id.team_website_title)).setText(R.string.find_team_on_google);
      }
 else {
        view.findViewById(R.id.team_website_container).setTag(mTeamWebsite);
        ((TextView)view.findViewById(R.id.team_website_title)).setText(R.string.view_team_website);
      }
      view.findViewById(R.id.team_twitter_container).setTag("String_Node_Str" + mTeamKey);
      ((TextView)view.findViewById(R.id.team_twitter_title)).setText(activity.getResources().getString(R.string.view_team_twitter,mTeamKey));
      view.findViewById(R.id.team_youtube_container).setTag("String_Node_Str" + mTeamKey);
      ((TextView)view.findViewById(R.id.team_youtube_title)).setText(activity.getResources().getString(R.string.view_team_youtube,mTeamKey));
      view.findViewById(R.id.team_cd_container).setTag("String_Node_Str" + mTeamKey);
      if (mFullName.isEmpty()) {
        view.findViewById(R.id.team_full_name_container).setVisibility(View.GONE);
      }
 else {
        SpannableString string=new SpannableString("String_Node_Str" + mFullName);
        string.setSpan(new TextAppearanceSpan(mFragment.getActivity(),R.style.InfoItemLabelStyle),0,3,Spannable.SPAN_INCLUSIVE_INCLUSIVE);
        ((TextView)view.findViewById(R.id.team_full_name)).setText(string);
      }
      view.findViewById(R.id.team_next_match_label).setVisibility(View.GONE);
      view.findViewById(R.id.team_next_match_details).setVisibility(View.GONE);
      if (code == APIResponse.CODE.OFFLINECACHE) {
        ((RefreshableHostActivity)mFragment.getActivity()).showWarningMessage(mFragment.getString(R.string.warning_using_cached_data));
      }
    }
    view.findViewById(R.id.progress).setVisibility(View.GONE);
    if (code == APIResponse.CODE.LOCAL && !isCancelled()) {
      requestParams.forceFromCache=false;
      PopulateTeamInfo secondLoad=new PopulateTeamInfo(mFragment,requestParams);
      mFragment.updateTask(secondLoad);
      secondLoad.execute(mTeamKey);
    }
 else {
      Log.i(Constants.REFRESH_LOG,"String_Node_Str" + mTeamKey + "String_Node_Str");
      if (activity != null && mFragment instanceof RefreshListener) {
        activity.notifyRefreshComplete(mFragment);
      }
    }
    AnalyticsHelper.sendTimingUpdate(activity,System.currentTimeMillis() - startTime,"String_Node_Str",mTeamKey);
  }
}