Program: 33717
Project: 33717
Buggy source:
protected void onPostExecute(APIResponse.CODE code){
  View view=mFragment.getView();
  if (view != null && activity != null) {
    TextView noDataText=(TextView)view.findViewById(R.id.no_match_data);
    if (code == APIResponse.CODE.NODATA || (!forceFromCache && groups == null || adapter.groups.isEmpty())) {
      noDataText.setVisibility(View.VISIBLE);
      noDataText.setText(teamKey.isEmpty() ? R.string.no_match_data : R.string.no_team_match_data);
    }
 else {
      noDataText.setVisibility(View.GONE);
      ExpandableListView results=(ExpandableListView)view.findViewById(R.id.match_results);
      Parcelable state=results.onSaveInstanceState();
      int firstVisiblePosition=results.getFirstVisiblePosition();
      results.setAdapter(adapter);
      results.onRestoreInstanceState(state);
      results.setSelection(firstVisiblePosition);
      if (groups.size() == 1) {
        results.expandGroup(0);
      }
      adapter.notifyDataSetChanged();
    }
    if (code != APIResponse.CODE.NODATA) {
      if (event.isHappeningNow()) {
        Log.d(Constants.LOG_TAG,"String_Node_Str" + eventKey);
        EventBus.getDefault().post(new LiveEventMatchUpdateEvent(lastMatch,nextMatch));
      }
    }
    view.findViewById(R.id.progress).setVisibility(View.GONE);
    view.findViewById(R.id.match_results).setVisibility(View.VISIBLE);
    if (code == APIResponse.CODE.OFFLINECACHE) {
      activity.showWarningMessage(activity.getString(R.string.warning_using_cached_data));
    }
  }
  if (code == APIResponse.CODE.LOCAL && !isCancelled()) {
    PopulateEventMatches secondLoad=new PopulateEventMatches(mFragment,false);
    mFragment.updateTask(secondLoad);
    secondLoad.execute(eventKey,teamKey);
  }
 else {
    if (mFragment instanceof RefreshListener) {
      Log.i(Constants.REFRESH_LOG,"String_Node_Str" + eventKey + "String_Node_Str");
      activity.notifyRefreshComplete(mFragment);
    }
  }
}

Fixed version (ground truth):
protected void onPostExecute(APIResponse.CODE code){
  View view=mFragment.getView();
  if (view != null && activity != null) {
    TextView noDataText=(TextView)view.findViewById(R.id.no_match_data);
    if (code == APIResponse.CODE.NODATA || (!forceFromCache && groups == null || adapter.groups.isEmpty())) {
      noDataText.setVisibility(View.VISIBLE);
      noDataText.setText(teamKey.isEmpty() ? R.string.no_match_data : R.string.no_team_match_data);
    }
 else {
      noDataText.setVisibility(View.GONE);
      ExpandableListView results=(ExpandableListView)view.findViewById(R.id.match_results);
      Parcelable state=results.onSaveInstanceState();
      int firstVisiblePosition=results.getFirstVisiblePosition();
      results.setAdapter(adapter);
      results.onRestoreInstanceState(state);
      results.setSelection(firstVisiblePosition);
      if (groups.size() == 1) {
        results.expandGroup(0);
      }
      adapter.notifyDataSetChanged();
    }
    if (code != APIResponse.CODE.NODATA) {
      if (event.isHappeningNow()) {
        Log.d(Constants.LOG_TAG,"String_Node_Str" + eventKey);
        EventBus.getDefault().post(new LiveEventMatchUpdateEvent(lastMatch,nextMatch));
      }
 else {
        Log.d(Constants.LOG_TAG,"String_Node_Str");
      }
    }
    view.findViewById(R.id.progress).setVisibility(View.GONE);
    view.findViewById(R.id.match_results).setVisibility(View.VISIBLE);
    if (code == APIResponse.CODE.OFFLINECACHE) {
      activity.showWarningMessage(activity.getString(R.string.warning_using_cached_data));
    }
  }
  if (code == APIResponse.CODE.LOCAL && !isCancelled()) {
    PopulateEventMatches secondLoad=new PopulateEventMatches(mFragment,false);
    mFragment.updateTask(secondLoad);
    secondLoad.execute(eventKey,teamKey);
  }
 else {
    if (mFragment instanceof RefreshListener) {
      Log.i(Constants.REFRESH_LOG,"String_Node_Str" + eventKey + "String_Node_Str");
      activity.notifyRefreshComplete(mFragment);
    }
  }
}