Registry instance cannot be null in RpcProxyRegistration