I'd imagine setting all your arrays to null is your problem. You need to create an array object in order to put stuff in it:


Vector3D cur_S[] = new Vector3D[5];

Note: Once you create an array...