Source:
<code>protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_edit_profile); mFlowParameters = mActivityHelper.getFlowParams(); Button signOut = (Button) findViewById(R.id.sign_out_button); signOut.setOnClickListener(new SignOutClickListener()); ImageView profilePicture = (ImageView) findViewById(R.id.profile_image); <START> Uri profilePhoto = mActivityHelper.getCurrentUser().getPhotoUrl(); <END> Glide.with(this) .load(profilePhoto) .placeholder(R.drawable.ic_person_white_48dp) .transform(new CircleTransform(getApplicationContext())) .into(profilePicture); mDisplayName = (TextView) findViewById(R.id.display_name); ImageButton editDisplayName = (ImageButton) findViewById(R.id.edit_display_name); mEmail = (TextView) findViewById(R.id.email); ImageButton editEmail = (ImageButton) findViewById(R.id.edit_email); editDisplayName.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { startActivityForResult( EditDisplayNameActivity.createIntent( getApplicationContext(), mFlowParameters), RC_EDIT_DISPLAY_NAME); } }); editEmail.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { startActivityForResult(getReauthIntent(), RC_REAUTH_EDIT_EMAIL); } }); Button changePassword = (Button) findViewById(R.id.change_password); changePassword.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { startActivityForResult(getReauthIntent(), RC_REAUTH_PASSWORD); } }); populateView(); }</code><technical_language>check for null try Glide load</technical_language>

Target:
protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_edit_profile); mFlowParameters = mActivityHelper.getFlowParams(); Button signOut = (Button) findViewById(R.id.sign_out_button); signOut.setOnClickListener(new SignOutClickListener()); ImageView profilePicture = (ImageView) findViewById(R.id.profile_image); Uri profilePhoto = mActivityHelper.getCurrentUser().getPhotoUrl(); if (profilePhoto != null) { Glide.with(this) .load(profilePhoto) .placeholder(R.drawable.ic_person_white_48dp) .transform(new CircleTransform(getApplicationContext())) .into(profilePicture); } mDisplayName = (TextView) findViewById(R.id.display_name); ImageButton editDisplayName = (ImageButton) findViewById(R.id.edit_display_name); mEmail = (TextView) findViewById(R.id.email); ImageButton editEmail = (ImageButton) findViewById(R.id.edit_email); editDisplayName.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { startActivityForResult( EditDisplayNameActivity.createIntent( getApplicationContext(), mFlowParameters), RC_EDIT_DISPLAY_NAME); } }); editEmail.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { startActivityForResult( getReauthIntent(ReauthActivity.REAUTAH_REASON_ADD_EMAIL), RC_REAUTH_EDIT_EMAIL); } }); Button changePassword = (Button) findViewById(R.id.change_password); changePassword.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { startActivityForResult( getReauthIntent(ReauthActivity.REAUTAH_REASON_CHANGE_PASSWORD), RC_REAUTH_PASSWORD); } }); populateView(); }