Buggy code:
public final class MyInfoFragment extends BaseFragment { private static final int LAYOUT = layout . fragment_my_info ; private RoundedNetworkImageView mUserPhotoIv ; private TextView mUserNameTv ; private MyInformation myInfo ; private View mRefreshV ; private TextView mNoticesTv ; private int mAtCount ; private int mCommentsCount ; private int mFansCount ; private int mFollowedCount ; private View myNoticesLl ; private View myHomeFriendsLl ; private TextView mFriendsTv ; private TextView mHomeTv ; private View meV ; private View mUserPhotoFl ; private View mEditMeV ; private float mPhotoScX ; private float mPhotoScY ; private boolean mInProgress ; public void onEvent ( RefreshMyInfoEvent e ) { } public void onEvent ( ClearNoticeEvent e ) { } public void onEvent ( OpenedDrawerEvent e ) { } public static MyInfoFragment newInstance ( Context context ) { } @ Override public View onCreateView ( LayoutInflater inflater , ViewGroup container , Bundle savedInstanceState ) { } @ Override public void onViewCreated ( View view , Bundle savedInstanceState ) { } private void getMyInformation ( final boolean feedback ) { if ( ! ( mInProgress ) ) { AsyncTaskCompat . executeParallel ( new android . os . AsyncTask < Object , MyInformation , MyInformation > ( ) { ObjectAnimator objectAnimator ; @ Override protected void onPreExecute ( ) { super . onPreExecute ( ) ; mInProgress = true ; <START_BUG> mUserPhotoIv . setDefaultImageResId ( ic_not_loaded ) ; <END_BUG> mRefreshV . setEnabled ( false ) ; objectAnimator = ObjectAnimator . ofFloat ( mRefreshV , "rotation" , 0 , 360.0F ) ; objectAnimator . setDuration ( 800 ) ; objectAnimator . setRepeatCount ( INFINITE ) ; objectAnimator . start ( ) ; } @ Override protected MyInformation doInBackground ( Object ... params ) { try { return OscApi . myInformation ( Instance , Prefs . getInstance ( ) . settingShowMeInNoticesList ( ) ) ; } catch ( IOException e ) { return null ; } catch ( OscTweetException e ) { return null ; } } @ Override protected void onPostExecute ( MyInformation myInfo ) { super . onPostExecute ( myInfo ) ; try { if ( ( myInfo != null ) && ( ( myInfo . getAm ( ) ) != null ) ) { MyInfoFragment . this . myInfo = myInfo ; Am am = MyInfoFragment . this . myInfo . getAm ( ) ; mUserPhotoIv . setImageUrl ( am . getPortrait ( ) , TaskHelper . getImageLoader ( ) ) ; mUserNameTv . setText ( am . getName ( ) ) ; mAtCount = ( ( myInfo . getNotices ( ) ) == null ) ? 0 : myInfo . getNotices ( ) . size ( ) ; mCommentsCount = ( ( myInfo . getComments ( ) ) == null ) ? 0 : myInfo . getComments ( ) . size ( ) ; String count = String . format ( getString ( msg_update_my_info ) , mAtCount , mCommentsCount ) ; if ( feedback ) { Utils . showShortToast ( Instance , count ) ; com . osc . tweet . utils . Utils . vibrationFeedback ( Instance ) ; } mNoticesTv . setText ( count ) ; if ( ( ( mAtCount ) != 0 ) || ( ( mCommentsCount ) != 0 ) ) { EventBus . getDefault ( ) . post ( new OpenMyNoticesDrawerEvent ( ) ) ; } mFansCount = am . getFansCount ( ) ; mFollowedCount = am . getFollowersCount ( ) ; mHomeTv . setText ( ( ( ( am . getCity ( ) ) + "," ) + ( am . getProvince ( ) ) ) ) ; mEditMeV . setVisibility ( VISIBLE ) ; meV . setVisibility ( VISIBLE ) ; } else { if ( ( MyInfoFragment . this . myInfo ) == null ) { meV . setVisibility ( INVISIBLE ) ; mEditMeV . setVisibility ( INVISIBLE ) ; } EventBus . getDefault ( ) . post ( new OperatingEvent ( false ) ) ; } EventBus . getDefault ( ) . post ( new com . osc . tweet . events . GetMyInformationEvent ( myInfo ) ) ; objectAnimator . cancel ( ) ; mRefreshV . setEnabled ( true ) ; String friends = String . format ( getString ( lbl_friends_count ) , mFansCount , mFollowedCount ) ; mFriendsTv . setText ( friends ) ; String count = String . format ( getString ( msg_update_my_info ) , mAtCount , mCommentsCount ) ; mNoticesTv . setText ( count ) ; } catch ( IllegalStateException e ) { } mInProgress = false ; } } ) ; } } private void transition ( OpenedDrawerEvent e ) { } private void doAnimation ( ) { } @ Override protected BasicPrefs getPrefs ( ) { } }

Fix:
mUserPhotoIv . setDefaultImageResId ( ic_portrait_preview ) ;