Page-sitemap generated empty shouldn't be empty.
For Post and Page : The error occurs when the option "Include in Sitemap" is set to "Auto detect" AND the option "Meta Robots Index" is set to "Index"