title: java.lang.String android.os.Bundle.getString(java.lang.String)' on a null object reference
body: <p>I am trying to send data from an PageAdapter to a fragment for two days with no success at all.
  I am using Bundle, and send like this:</p>
  
  <pre><code>     protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_ficha__completa);
  
          Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar);
          setSupportActionBar(toolbar);
          // Create the adapter that will return a fragment for each of the three
          // primary sections of the activity.
          mSectionsPagerAdapter = new SectionsPagerAdapter(getSupportFragmentManager()); 
          // Set up the ViewPager with the sections adapter.
          mViewPager = (ViewPager) findViewById(R.id.container);
          mViewPager.setAdapter(mSectionsPagerAdapter);
  
          nome="Chimpanze";
  
          try {
              Bundle bundle = new Bundle();
              bundle.putString("Nome_animal",nome);
              Imagem_Animal imagem = new Imagem_Animal();
              imagem.setArguments(bundle);
          } catch (Exception e) {
              Log.d(TAG_LOG,"Erro de bundle: "+e.getLocalizedMessage());
          }
      }
  </code></pre>
  
  <p>And my fragment is like this:</p>
  
  <pre><code>public class Imagem_Animal extends Fragment {
      ImageView imagem_p;
      static final String TAG ="Fragmento";
      @Override
      public View onCreateView(LayoutInflater inflater, ViewGroup container,
                               Bundle savedInstanceState) {
          // Inflate the layout for this fragment
          View Layout_imagem = inflater.inflate(R.layout.fragment_imagem__animal, container, false);
          imagem_p = (ImageView) Layout_imagem.findViewById(R.id.imagem);
          try {
              String nomeAnimal = getArguments().getString("Nome_animal");
          } catch (Exception e){
              Log.d(TAG, "getStirng :"+e.getMessage());
          }
          return Layout_imagem;
      }
  }
  </code></pre>
  
  <blockquote>
    <p>Log: getString: Attempt to invoke virtual method 'java.lang.String android.os.BaseBundle.getString(java.lang.String)' on a null object reference</p>
  </blockquote>
  
  <p>Anybody can help me please?</p>
  
  <p>Thank you very much</p>