title: Can't get array string resource from XML
body: <p>I have a list of values in my XML file which I would like to select based off a spinner selection.  For some reason, using an array-string for the spinner works fine, the values are populated into the spinner.  For whatever reason, I cannot get the values of the second array to save my life, they are in the same file which has no errors that I can find.  Here is the way I am trying to grab them:</p>
  
  <pre><code>String[] some_array = getResources().getStringArray(R.array.playerclassdesc_array);
  </code></pre>
  
  <p>The spinner is populated differently (no errors doing this part):</p>
  
  <pre><code>ArrayAdapter&lt;CharSequence&gt; adapter = ArrayAdapter.createFromResource(
      this, R.array.playerclass_array, android.R.layout.simple_spinner_item);
  </code></pre>
  
  <p>The error I am getting is:</p>
  
  <p>"04-26 21:41:35.305: ERROR/AndroidRuntime(514): Caused by: android.content.res.Resources$NotFoundException: String array resource ID #0x7f050001"</p>
  
  <p>Which refers directly to the "getResources" line.  Does anyone have any clue why this could be happening?</p>
  
  <p>Edit: Here is the xml file (it's simple)</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;resources&gt;
      &lt;string name="class_prompt"&gt;Choose a class&lt;/string&gt;
      &lt;string-array name="playerclass_array"&gt;
          &lt;item&gt;Assassin&lt;/item&gt;
          &lt;item&gt;Paladin&lt;/item&gt;
          &lt;item&gt;Pirate&lt;/item&gt;
          &lt;item&gt;Hell Mage&lt;/item&gt;
          &lt;item&gt;Winter Witch&lt;/item&gt;
          &lt;item&gt;Shadow Walker&lt;/item&gt;
          &lt;item&gt;Underthief&lt;/item&gt;
          &lt;item&gt;Red Warrior&lt;/item&gt;
          &lt;item&gt;Haru Norda&lt;/item&gt;
      &lt;/string-array&gt;
      &lt;string-array name="playerclassdesc_array"&gt;
          &lt;item&gt;This is the Assassin&lt;/item&gt;
          &lt;item&gt;This is the Paladin&lt;/item&gt;
          &lt;item&gt;This is the Pirate&lt;/item&gt;
          &lt;item&gt;This is the Hell Mage&lt;/item&gt;
          &lt;item&gt;This is the Winter Witch&lt;/item&gt;
          &lt;item&gt;This is the Shadow Walker&lt;/item&gt;
          &lt;item&gt;This is the Underthief&lt;/item&gt;
          &lt;item&gt;This is the Red Warrior&lt;/item&gt;
          &lt;item&gt;This is the Haru Norda&lt;/item&gt;
      &lt;/string-array&gt;
  &lt;/resources&gt;
  </code></pre>