get NRow throws error if error occur