You initialized your array but you never initialized your Array Elements, thus you get NullPointerException
when you try to acess the zero'th index of your array as yourarray[0] returns null and you try to call setMe...() on null.. you have to actually initialize your array elements.
MeasurementPoint [] controlValues = new MeasurementPoint [points];
controlValues[0] = new Measurementpoint(val1,val2);