App crashing when I try to instantiate an array

Printable View