throw an exception if the sdf content is null