Our CI system created a release that was missing some packages. When clicking on the release, the packages section shows "Object reference not set to an instance of an object.
Octopus Version: v2018.3.7
Unhandled error on request: https://DOMAIN/api/packages/notes?packageIds=feeds-builtin%3APACKAGE%3AVERSION%2Cfeeds-builtin%3APACKAGE%3AVERSION e5e6ca1663f94377b3361029a0ecbbb4 by USERNAME : One or more errors occurred. System.AggregateException: One or more errors occurred. —> System.NullReferenceException: Object reference not set to an instance of an object.
at Octopus.Core.BuiltInFeed.BuiltInPackageRepository.GetNotes(String packageId, IVersion version, CancellationToken cancellationToken)
at Octopus.Server.Web.Api.Services.PackageNotesRetriever.<>c__DisplayClass5_0.b__0()
at System.Lazy1.CreateValue() at System.Lazy
1.LazyInitValue()
at Octopus.Server.Caching.OctopusCache.GetOrAdd[TItem](String key, Func1 valueFactory, DateTimeOffset absoluteExpiry) at Octopus.Server.Web.Api.Services.PackageNotesRetriever.GetReleaseNotes(String feedId, String packageId, String version) at Octopus.Server.Web.Api.Actions.PackageListNotesAction.<ExecuteRegistered>b__3_2(String[] idSplit) at System.Linq.Parallel.SelectQueryOperator
2.SelectQueryOperatorEnumerator1.MoveNext(TOutput& currentElement, TKey& currentKey) at System.Linq.Parallel.StopAndGoSpoolingTask
2.SpoolingWork()
at System.Linq.Parallel.SpoolingTaskBase.Work()
at System.Linq.Parallel.QueryTask.BaseWork(Object unused)
at System.Threading.Tasks.Task.Execute()
— End of inner exception stack trace —
—> (Inner Exception #0) System.NullReferenceException: Object reference not set to an instance of an object.
at Octopus.Core.BuiltInFeed.BuiltInPackageRepository.GetNotes(String packageId, IVersion version, CancellationToken cancellationToken)
at Octopus.Server.Web.Api.Services.PackageNotesRetriever.<>c__DisplayClass5_0.b__0()
at System.Lazy1.CreateValue() at System.Lazy
1.LazyInitValue()
at Octopus.Server.Caching.OctopusCache.GetOrAdd[TItem](String key, Func1 valueFactory, DateTimeOffset absoluteExpiry) at Octopus.Server.Web.Api.Services.PackageNotesRetriever.GetReleaseNotes(String feedId, String packageId, String version) at Octopus.Server.Web.Api.Actions.PackageListNotesAction.<ExecuteRegistered>b__3_2(String[] idSplit) at System.Linq.Parallel.SelectQueryOperator
2.SelectQueryOperatorEnumerator1.MoveNext(TOutput& currentElement, TKey& currentKey) at System.Linq.Parallel.StopAndGoSpoolingTask
2.SpoolingWork()
at System.Linq.Parallel.SpoolingTaskBase.Work()
at System.Linq.Parallel.QueryTask.BaseWork(Object unused)
at System.Threading.Tasks.Task.Execute()<—
—> (Inner Exception #1) System.NullReferenceException: Object reference not set to an instance of an object.
at Octopus.Core.BuiltInFeed.BuiltInPackageRepository.GetNotes(String packageId, IVersion version, CancellationToken cancellationToken)
at Octopus.Server.Web.Api.Services.PackageNotesRetriever.<>c__DisplayClass5_0.b__0()
at System.Lazy1.CreateValue() at System.Lazy
1.LazyInitValue()
at Octopus.Server.Caching.OctopusCache.GetOrAdd[TItem](String key, Func1 valueFactory, DateTimeOffset absoluteExpiry) at Octopus.Server.Web.Api.Services.PackageNotesRetriever.GetReleaseNotes(String feedId, String packageId, String version) at Octopus.Server.Web.Api.Actions.PackageListNotesAction.<ExecuteRegistered>b__3_2(String[] idSplit) at System.Linq.Parallel.SelectQueryOperator
2.SelectQueryOperatorEnumerator1.MoveNext(TOutput& currentElement, TKey& currentKey) at System.Linq.Parallel.StopAndGoSpoolingTask
2.SpoolingWork()
at System.Linq.Parallel.SpoolingTaskBase.Work()
at System.Linq.Parallel.QueryTask.BaseWork(Object unused)
at System.Threading.Tasks.Task.Execute()<—