Program: 33590
Project: 33590
Buggy source:
@Override protected void onCreate(Bundle savedInstanceState){
  super.onCreate(savedInstanceState);
  setContentView(R.layout.activity_confirm_image_suggestion);
  ButterKnife.bind(this);
  mConfirmFab.setOnClickListener(this);
  mCancelFab.setOnClickListener(this);
  mConfirmFab.setEnabled(false);
  ViewCompat.setElevation(mToolbar,getResources().getDimension(R.dimen.toolbar_elevation));
  mToolbar.setContentInsetsRelative(0,0);
  setSupportActionBar(mToolbar);
  getSupportActionBar().setTitle("String_Node_Str");
  Bundle extras=getIntent().getExtras() == null ? new Bundle() : getIntent().getExtras();
  if (!extras.containsKey(EXTRA_IMAGE_URI) || !extras.containsKey(EXTRA_TEAM_KEY) || !extras.containsKey(EXTRA_YEAR)) {
    throw new IllegalArgumentException("String_Node_Str");
  }
  mUri=extras.getParcelable(EXTRA_IMAGE_URI);
  mTeamKey=extras.getString(EXTRA_TEAM_KEY);
  mYear=extras.getInt(EXTRA_YEAR);
  if (!TeamHelper.validateTeamKey(mTeamKey)) {
    throw new IllegalArgumentException("String_Node_Str");
  }
  if (mUri == null) {
    throw new IllegalArgumentException("String_Node_Str");
  }
  if (savedInstanceState != null && savedInstanceState.containsKey(SAVED_TEMP_FILE_PATH)) {
    Log.d(Constants.LOG_TAG,"String_Node_Str" + savedInstanceState.getString(SAVED_TEMP_FILE_PATH));
    mImageFile=new File(savedInstanceState.getString(SAVED_TEMP_FILE_PATH));
    mDidFileExistOnCreate=true;
    mProgressBar.setVisibility(View.GONE);
  }
  ViewTreeObserver vto=mImageView.getViewTreeObserver();
  vto.addOnGlobalLayoutListener(new ViewTreeObserver.OnGlobalLayoutListener(){
    @Override public void onGlobalLayout(){
      mImageView.getViewTreeObserver().removeOnGlobalLayoutListener(this);
      cacheAndLoadImage();
    }
  }
);
}

Fixed version (ground truth):
@Override protected void onCreate(Bundle savedInstanceState){
  super.onCreate(savedInstanceState);
  setContentView(R.layout.activity_confirm_image_suggestion);
  ButterKnife.bind(this);
  mConfirmFab.setOnClickListener(this);
  mCancelFab.setOnClickListener(this);
  mConfirmFab.setEnabled(false);
  ViewCompat.setElevation(mToolbar,getResources().getDimension(R.dimen.toolbar_elevation));
  mToolbar.setContentInsetsRelative(0,0);
  setSupportActionBar(mToolbar);
  getSupportActionBar().setTitle("String_Node_Str");
  Bundle extras=getIntent().getExtras() == null ? new Bundle() : getIntent().getExtras();
  if (!extras.containsKey(EXTRA_IMAGE_URI) || !extras.containsKey(EXTRA_TEAM_KEY) || !extras.containsKey(EXTRA_YEAR)) {
    throw new IllegalArgumentException("String_Node_Str");
  }
  mUri=extras.getParcelable(EXTRA_IMAGE_URI);
  mTeamKey=extras.getString(EXTRA_TEAM_KEY);
  mYear=extras.getInt(EXTRA_YEAR);
  if (!TeamHelper.validateTeamKey(mTeamKey)) {
    throw new IllegalArgumentException("String_Node_Str");
  }
  if (mUri == null) {
    throw new IllegalArgumentException("String_Node_Str");
  }
  if (savedInstanceState != null && savedInstanceState.containsKey(SAVED_TEMP_FILE_PATH)) {
    mImageFile=new File(savedInstanceState.getString(SAVED_TEMP_FILE_PATH));
  }
  ViewTreeObserver vto=mImageView.getViewTreeObserver();
  vto.addOnGlobalLayoutListener(new ViewTreeObserver.OnGlobalLayoutListener(){
    @Override public void onGlobalLayout(){
      mImageView.getViewTreeObserver().removeOnGlobalLayoutListener(this);
      cacheAndLoadImage();
    }
  }
);
}