NullPointerException in LogCat?
<p>Whenever I introduce the array, i get this error. I tried different array types...but no luck.</p>

<pre><code>public class Classifytestclass2 extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
         int test2[] = null;
        for(int i=0;i&lt;50;i++){
               test2[0]=1;
        }
    }
}
</code></pre>

<p>edit:
forgot to mention, the entire app crashes (force close.)</p>
