android indexoutofboundsexception passing bundle through intent
<p>I have stumbled upon an issue I can't figure out right now. I get an index out of bounds exception when I pass a bundle to a new activity in intent extras. </p>

<p>I use the following code:</p>

<pre><code>Intent intent = new intent(this, statelistactivity.class);

Bundle bundle = new bundle();
Bundle.putInt("id", _id);
Bundle.putString("name", _name);
Intent.putExtras(bundle);

startactivity(intent);
</code></pre>

<p>In the receiving activity I use:</p>

<pre><code>String name = getIntent().getString("name);
</code></pre>

<p>Following the same principle for the int.</p>

<p>However my code never gets here because of an <code>outofboundsexception</code>. What could cause this?</p>
