Ask A Question

View Question

Hi Inedo,

I'm getting an exception when trying to download and install a universal package with upack.exe

I still receive the package, so it is working as intended, but the error still shows up in the error log

Message:
An error occurred processing a GET request to http://server:port/upack/feed/download/group.name/Package-Name?latest: Object reference not set to an instance of an object.

Stack:
System.NullReferenceException: Object reference not set to an instance of an object.
at Inedo.ProGet.WebApplication.SimpleHandlers.PackageDeploymentData.FromContext(HttpContext context)
at Inedo.ProGet.WebApplication.FeedEndpoints.Universal.UniversalRepositoryHandler.<RecordPackageDownloadAsync>d__11.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Inedo.ProGet.WebApplication.FeedEndpoints.Universal.UniversalRepositoryHandler.<ProcessDownloadRequestAsync>d__10.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Inedo.ProGet.WebApplication.FeedEndpoints.FeedEndpointHandler.FeedRequestHandler.<ProcessRequestAsync>d__8.MoveNext()

Product: ProGet
Version: 4.7.9

Hello Jorg,

Thanks for the bug report. I've fixed the error for the next version of ProGet (4.7.11) [PG-1018]

Answer Question