We have an internal Nuget server which has started throwing the following error when searching for packages through visual studio:
[NullReferenceException: Object reference not set to an instance of an object.]
NuGet.PackageEqualityComparer.<.cctor>b__1(IPackageName x) +62
System.Collections.Generic.HashSet`1.InternalGetHashCode(T item) +84
System.Collections.Generic.HashSet`1.AddIfNotPresent(T value) +54
NuGet.CollectionExtensions.AddRange(ICollection`1 collection, IEnumerable`1 items) +184
NuGet.Server.Infrastructure.ServerPackageStore.Load() +398
NuGet.Server.Infrastructure.ServerPackageRepository..ctor(String path, IHashProvider
hashProvider, ILogger logger) +298
NuGet.Server.DefaultServiceResolver..ctor() +145
NuGet.Server.DataServices.NuGetRoutes.Start() +31
Does this ring any bells with anyone? I have checked the nuget.config and web.config on the machine acting as the Nuget host and nothing has changed that I can see.