Cause: The module contains items that refer to submenus that do not exist.
Action: Fix the non-existent references before generating.