LinkFactory: throw InvalidLilnkException if router returns null