title: Android - Bundle.putString("anything") fails to add string
body: <p>i am working on Android project in Android Studio 1.1.0 and i can't pass the message to the handler with Bundle class. </p>
  
  <p>Well, this is my code</p>
  
  <pre><code>...
  Bundle mUIMessageBundle = new Bundle(newUser.getName());
  mUIMessageBundle.putInt("Name", newUser.getName());
  mUIMessageBundle.putString("Tag", null);
  handler.sendMessage(new android.os.Message());
  ...
  </code></pre>
  
  <p>The <code>newUser</code> is well defined but i have a problem on putInt and putString methods. Those methods execute well, but when i read the message in handler getInt and getString return null. So i debugged a bit and the attached pic will show you the problem. Value-key pairs are added, but on their value places are exceptions like this:</p>
  
  <pre><code>java.lang.ClassNotFoundException: Didn't find class "Object" on path: DexPathList[[zip file "/data/app/com.example.mile.voicenc-1.apk"],nativeLibraryDirectories=[/data/app-lib/com.example.mile.voicenc-1, /vendor/lib, /system/lib]] 
  </code></pre>
  
  <p>I have researched a lot, but i cannot find the solution...</p>
  
  <p>All suggestions will be great, thanks!</p>
  
  <p><strong>Edit 1:</strong></p>
  
  <p>Finally i tried to open whole new blank project and i added two lines for intent init:</p>
  
  <pre><code>...
  @Override
  protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_main);
  
      Intent intent = new Intent("make.your.own.intent");
      intent.putExtra("Name", "asd");
  }
  ...
  </code></pre>
  
  <p>And this code in blank project returned exactly the same exception. It makes me go insane...</p>
  
  <p>Any ideas? Thanks</p>