title: java.lang.IllegalArgumentException: Target must not be null. while using picasso lib
body: <p>i know this question ask many times but i cant find solution of mine.</p>
  
  <p>i m setting image in navigationDrawer using picasso but this error accur. </p>
  
  <p>here is my code.</p>
  
  <pre><code>public class MyMenuFragment extends MenuFragment {
  
      private ImageView ivMenuUserProfilePhoto;
      private TextView ivMenuUserName;
      private NavigationView navigationView;
  
      @Override
      public void onCreate(@Nullable Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
      }
  
      @Override
      public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
          View view = inflater.inflate(R.layout.fragment_menu, container,false);
          ivMenuUserProfilePhoto = (ImageView) view.findViewById(R.id.ivMenuUserProfilePhoto);
          ivMenuUserName = (TextView) view.findViewById(R.id.txtDpName);
          navigationView = (NavigationView) view.findViewById(R.id.vNavigation);
          setupHeader();
          return  setupReveal(view) ;
      }
  
      private void setupHeader() {
          Intent intent = getActivity().getIntent();
  
          int avatarSize = getResources().getDimensionPixelSize(R.dimen.global_menu_avatar_size);
          String profilePhoto = intent.getStringExtra("uri");
          Picasso.with(getActivity())
                  .load(profilePhoto)
                  .placeholder(R.drawable.img_circle_placeholder)
                  .resize(avatarSize, avatarSize)
                  .centerCrop()
                  .transform(new CircleTransformation())
                  .into(ivMenuUserProfilePhoto); &lt;!-- error --&gt;
  
          String profileName = intent.getStringExtra("dname");
          ivMenuUserName.setText(profileName);
      }
  }
  </code></pre>
  
  <p>here is my fragment_menu.xml</p>
  
  <pre><code>&lt;RelativeLayout
          xmlns:android="http://schemas.android.com/apk/res/android"
          xmlns:app="http://schemas.android.com/apk/res-auto"
          android:layout_width="match_parent"
          android:layout_height="match_parent"&gt;
  
          &lt;android.support.design.widget.NavigationView
              android:id="@+id/vNavigation"
              android:layout_width="wrap_content"
              android:layout_height="match_parent"
              android:layout_gravity="start"
              android:background="@android:color/transparent"
              app:headerLayout="@layout/view_global_menu_header"
              app:itemIconTint="#8b8b8b"
              app:itemTextColor="#666666"
              app:menu="@menu/drawer_menu"/&gt;
      &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>view_global_menu_header.xml</p>
  
  <pre><code>  &lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:background="@android:color/transparent"
      android:clickable="true"&gt;
  
      &lt;LinearLayout
          android:id="@+id/vGlobalMenuHeader"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:padding="16dp"&gt;
  
          &lt;ImageView
              android:id="@+id/ivMenuUserProfilePhoto"
              android:layout_width="@dimen/global_menu_avatar_size"
              android:layout_height="@dimen/global_menu_avatar_size"
              android:layout_margin="12dp"
              android:src="@drawable/ic_menu_black" /&gt;
  
          &lt;TextView
              android:id="@+id/txtDpName"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_gravity="center"
              android:layout_weight="1"
              android:text="UserName"
              android:textColor="#2d5d82"
              android:textSize="16sp"
              android:textStyle="bold" /&gt;
  
      &lt;/LinearLayout&gt;
  
      &lt;View
          android:layout_width="match_parent"
          android:layout_height="1dp"
          android:layout_gravity="bottom"
          android:background="#dddddd" /&gt;
  &lt;/FrameLayout&gt;
  </code></pre>
  
  <p>i checked each ids is matching.. but its still getting null.. plz help me to solve this.</p>