Description
In case a user template is created, a NPE is thrown from the Doctype Service.
The service cannot handle use cases where the module key is missing. In case of user templates there is no module key.
The service must check if the module key is specified and if not skip the doctype analysis. Therefore there are no doctype information that can be derived from user templates.