added RegistryNotInitializedException