GitHub Feed Object reference not set to an instance of an object

integration

(stephen_sherwood) #1

Downloaded latest version. Configured a new GitHub feed. Entered the URL of the base GitHub and selected Anonymous access. When I clicked on Test

Octopus v2018.3.3

Object reference not set to an instance of an object.

System.NullReferenceException

at Octopus.Core.Packages.GitHub.GitHubEndpointProxy.Search(String query, Int32 skip, Int32 take, CancellationToken cancellationToken)

at Octopus.Core.Packages.GitHub.GitHubPackageFeed.SearchPackages(String term, CancellationToken cancellationToken, Int32& total, Int32 skip, Int32 take)

at Octopus.Server.Web.Api.Actions.PackageSearchAction.ExecuteRegistered()

at Octopus.Server.Web.Infrastructure.Api.Responder`1.Respond(TDescriptor options, NancyContext context)

at System.Dynamic.UpdateDelegates.UpdateAndExecute3[T0,T1,T2,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2)

at Octopus.Server.Web.Infrastructure.OctopusNancyModule.<>c__DisplayClass14_0.<get_Routes>b__1(Object x)

at Nancy.Routing.Route.<>c__DisplayClass4.b__3(Object parameters, CancellationToken context)


(Shaun Marx) #2

Hi Stephen, thanks for reporting the error.

I have raised an issue for this error where you can track the progress.

I was able to reproduce the problem by using an URL such as https://www.github.com instead of https://api.github.com. Could I get you to confirm whether this is the same cause for the exception on your end, please?

Sorry for any inconvenience this has caused! I will try and get a fix for this as soon as possible.

Regards,
Shaun Marx


(stephen_sherwood) #3

Yes. Confirmed.


(Shaun Marx) #4

Hi Stephen, just letting you know that this issue has been fixed and should be going out in the next release.

The github issue I linked previously will get assigned to a milestone just before that happens. I will also post here once the release goes out.

Regards,
Shaun Marx


(system) #5

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.