throw an exception on null data. display a toast.