Base64 decode Stuck
<p>i need to convert a base64 value into string array so simply i have write this :                    </p>

<pre><code>String s[] = new String[partyname.length];
        for(int i=0;i&lt;=partyname.length;i++)
        {
        byte[] bytes = Base64.decode(partyname[i], Base64.DEFAULT);
                String string = new String(bytes, "UTF-8");
                s[i] = string;
                System.out.println("string is ::" + string+s[i]);


        }
</code></pre>

<p>but i dont know why it raise null pointer error at <code>s[i] = string;</code> line if i remove it then working fine so please help me out.</p>
