caught nullpointer exception (when no contacts were found and cursors is
null)