Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    Connector to DevExpress Feed fails with Object reference not set to an instance of an object

    Scheduled Pinned Locked Moved Support
    3 Posts 2 Posters 18 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • U Offline
      uwer_4638
      last edited by

      ProGet Version 2024.27 (Build 4) (Inedo Hub)

      When enabling the DevExpress NuGet feed, the all requests fail with the following error:

      Connector DevExpress Online error: Object reference not set to an instance of an object.

      System.NullReferenceException: Object reference not set to an instance of an object. at Inedo.ProGet.Feeds.NuGet.NuGetConnector.FindPackagesByIdAsync(NuGetQueryOptions options, String id)

      ::Connector Error on 24.02.2025 13:08:33::

      DevExpress claims that this is a ProGet-Problem.

      What could cause this problem?

      Thanks in advance for any help.

      dean-houstonD 1 Reply Last reply Reply Quote 0
      • dean-houstonD Offline
        dean-houston inedo-engineer @uwer_4638
        last edited by

        Hi @uwer_4638 ,

        The underlying issue is that you're making a "NuGet v2 API" request to your ProGet feed, which ProGet is then forwarding to connectors, and DevExpress does not support NuGet API V2.

        So, you'll need to track down whatever is making that request (perhaps you're using an old endpoint URL), or simply just disable the V2 API on your feed. This will cause an error on the client, and should show you pretty quickly what's making that outdated call.

        -- Dean

        U 1 Reply Last reply Reply Quote 0
        • U Offline
          uwer_4638 @dean-houston
          last edited by

          Hi @dean-houston,
          thanks for the reply. That solved the problem. In addition I finally had to configure my Visual Studion correctly by adding /v3/index.json to the feed address. I had missed this for quite some time, unfortunately.
          Now everything is running fine.

          Best regards
          Uwe

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • 1 / 1
          • First post
            Last post
          Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation