Program: 33792
Project: 33792
Buggy source:
@Override protected void onCreate(Bundle savedInstanceState){
  super.onCreate(savedInstanceState);
  setContentView(R.layout.activity_view_team);
  mTeamKey=getIntent().getStringExtra(TEAM_KEY);
  if (mTeamKey == null) {
    throw new IllegalArgumentException("String_Node_Str");
  }
  warningMessage=(TextView)findViewById(R.id.warning_container);
  hideWarningMessage();
  if (savedInstanceState != null) {
    if (savedInstanceState.containsKey(SELECTED_TAB)) {
      mSelectedTab=savedInstanceState.getInt(SELECTED_TAB);
    }
    if (savedInstanceState.containsKey(SELECTED_YEAR)) {
      mYear=savedInstanceState.getInt(SELECTED_YEAR);
    }
  }
 else {
    if (getIntent() != null && getIntent().getExtras() != null && getIntent().getExtras().containsKey(TEAM_YEAR)) {
      mYear=getIntent().getIntExtra(TEAM_YEAR,Calendar.getInstance().get(Calendar.YEAR));
    }
 else {
      mYear=Calendar.getInstance().get(Calendar.YEAR);
    }
    mCurrentSelectedYearPosition=0;
    mSelectedTab=0;
  }
  pager=(ViewPager)findViewById(R.id.view_pager);
  pager.setOffscreenPageLimit(3);
  pager.setAdapter(new ViewTeamFragmentPagerAdapter(getSupportFragmentManager(),mTeamKey));
  pager.setOnPageChangeListener(this);
  PagerSlidingTabStrip tabs=(PagerSlidingTabStrip)findViewById(R.id.tabs);
  tabs.setViewPager(pager);
  tabs.setOnPageChangeListener(this);
  if (!ConnectionDetector.isConnectedToInternet(this)) {
    showWarningMessage(getString(R.string.warning_unable_to_load));
  }
  new MakeActionBarDropdownForTeam(this).execute(mTeamKey);
}

Fixed version (ground truth):
@Override protected void onCreate(Bundle savedInstanceState){
  super.onCreate(savedInstanceState);
  setContentView(R.layout.activity_view_team);
  mTeamKey=getIntent().getStringExtra(TEAM_KEY);
  if (mTeamKey == null) {
    throw new IllegalArgumentException("String_Node_Str");
  }
  warningMessage=(TextView)findViewById(R.id.warning_container);
  hideWarningMessage();
  if (savedInstanceState != null) {
    if (savedInstanceState.containsKey(SELECTED_TAB)) {
      mSelectedTab=savedInstanceState.getInt(SELECTED_TAB);
    }
    if (savedInstanceState.containsKey(SELECTED_YEAR)) {
      mYear=savedInstanceState.getInt(SELECTED_YEAR);
    }
  }
 else {
    if (getIntent() != null && getIntent().getExtras() != null && getIntent().getExtras().containsKey(TEAM_YEAR)) {
      mYear=getIntent().getIntExtra(TEAM_YEAR,Calendar.getInstance().get(Calendar.YEAR));
    }
 else {
      mYear=Calendar.getInstance().get(Calendar.YEAR);
    }
    mCurrentSelectedYearPosition=0;
    mSelectedTab=0;
  }
  pager=(ViewPager)findViewById(R.id.view_pager);
  pager.setOffscreenPageLimit(3);
  pager.setPageMargin(Utilities.getPixelsFromDp(this,16));
  pager.setAdapter(new ViewTeamFragmentPagerAdapter(getSupportFragmentManager(),mTeamKey));
  pager.setOnPageChangeListener(this);
  PagerSlidingTabStrip tabs=(PagerSlidingTabStrip)findViewById(R.id.tabs);
  tabs.setViewPager(pager);
  tabs.setOnPageChangeListener(this);
  if (!ConnectionDetector.isConnectedToInternet(this)) {
    showWarningMessage(getString(R.string.warning_unable_to_load));
  }
  new MakeActionBarDropdownForTeam(this).execute(mTeamKey);
}