Switch[] switchArray = {one, two, three, four, five};
contains references to one, two, three, four, five
at the moment you create the array.
Latter, you reassign those variables, but your array still points to the previous references.
You need to create the array after you have assigned your views:
one = (Switch) findViewById(R.id.switchOne);
two = (Switch) findViewById(R.id.switchTwo);
three = (Switch) findViewById(R.id.switchThree);
four = (Switch) findViewById(R.id.switchFour);
five = (Switch) findViewById(R.id.switchFive);
// Then only
switchArray = {one, two, three, four, five};