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
-
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.
-
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
-
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