ComponentRegistry constructor Null safety

ComponentRegistry()