This error is triggered when Sitemaps.Namer.previous!/1 function is called but it's the located in the first file.
Sitemaps.Namer.previous!/1