CommandHandlerFactory constructor Null safety

CommandHandlerFactory()