add exception case for phase of Profile Type with parent class is NULL