I am getting a Fatal Exception: Main : <p>I am very new to android and just learning on the fly mostly from tutorial videos.  I am having an issue where I am getting a fatal exception when I try to run the app.  I believe the portion of the code generating the error is below, I have a char array of letters that I am trying to scramble and then set the text of certain buttons to those letters (i.e. letter1A.setText(scrambleLettersChar[0]).  I did the same thing above this portion of the code and it worked just fine.   TIA.</p>

<pre><code>char[] solutionLetters = {letter1, letter2, letter3, letter4, letter5, letter6, letter7, letter8, letter9, letter10, letter11, letter12};

                for (int i = 0; i &lt; solutionLetters.length; i++) {
                    int randomIndex = (int) (Math.random() * solutionLetters.length);
                    char temp = solutionLetters[i];
                    solutionLetters[i] = solutionLetters[randomIndex];
                    solutionLetters[randomIndex] = temp;

                }
                String scrambleLettersString = new String(solutionLetters);
                scrambleLettersChar = scrambleLettersString.toCharArray();

                letter1A.setText(scrambleLettersChar[0]);


            }
</code></pre>
