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!
Error while upload nuget package
-
Hi,
I am getting following error while uploading nuget packages into proget server:
Server Error in '/' Application.
Value cannot be null.
Parameter name: destinationDescription: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ArgumentNullException: Value cannot be null.
Parameter name: destinationSource Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[ArgumentNullException: Value cannot be null.
Parameter name: destination]
Inedo.IO.<CopyToAsync>d__46.MoveNext() +291
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +62
Inedo.ProGet.Feeds.NuGet.<InstallOrUpdatePackageAsync>d__41.MoveNext() +2811
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31
Inedo.TaskExtensions.WaitAndUnwrapExceptions(Task task) +146
Inedo.ProGet.WebApplication.Pages.NuGet.Packages.<>c__DisplayClass9_0.<CreateChildControls>b__0() +279
Inedo.Web.Controls.ButtonLinks.PostBackButtonLink.Inedo.Web.Controls.ISimpleAsyncPostControl.ProcessValidPostAsync() +68
Inedo.Web.PageFree.<ProcessPostAsync>d__63.MoveNext() +400
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +62
Inedo.Web.PageFree.<ProcessPostAsync>d__63.MoveNext() +843
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +62
Inedo.Web.PageFree.<ProcessRequestAsync>d__48.MoveNext() +544
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +62
System.Web.TaskAsyncHelper.EndTask(IAsyncResult ar) +64
Inedo.Web.Handlers.AsyncHandlerWrapper.EndProcessRequest(IAsyncResult result) +33
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +607
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +134Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.2106.0
Thanks,
ChethanProduct: ProGet
Version: 5.0.2
-
The error is the same as this post (https://inedo.com/support/questions/8079), so I'm thinking that it's an empty root path.
-
I am using version 5.1.0 and I get the same error trying to upload a package from disk. I set the drop path as suggested but it does not help.
Server Error in '/' Application.
Value cannot be null.
Parameter name: destination
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.Exception Details: System.ArgumentNullException: Value cannot be null.
Parameter name: destinationSource Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[ArgumentNullException: Value cannot be null.
Parameter name: destination]
Inedo.IO.<CopyToAsync>d__41.MoveNext() +291
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +68
Inedo.ProGet.Feeds.NuGet.<InstallOrUpdatePackageAsync>d__49.MoveNext() +2478
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +68
Inedo.ProGet.WebApplication.Pages.NuGet.Packages.<<CreateChildControls>b__0>d.MoveNext() +376
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31
Inedo.Web.PageFree.<ProcessPostAsync>d__61.MoveNext() +612
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31
Inedo.Web.PageFree.<ProcessPostAsync>d__61.MoveNext() +970
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +68
Inedo.Web.PageFree.<ProcessRequestAsync>d__46.MoveNext() +574
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +68
System.Web.TaskAsyncHelper.EndTask(IAsyncResult ar) +59
Inedo.Web.Handlers.AsyncHandlerWrapper.EndProcessRequest(IAsyncResult result) +33
System.Web.CallHandlerExecutionStep.InvokeEndHandler(IAsyncResult ar) +234
System.Web.CallHandlerExecutionStep.OnAsyncHandlerCompletion(IAsyncResult ar) +169
-
Hello; it's not the drop path, but the package source path. You can set this in the ADmin > Advanced Settings, and also in each feed.