Error after upgrade to deploy a new release of a project

Hi Paul,

We finished running the upgrade and re-installing the tentacles and went to deploy a new version and got the following error. Any ideas?

Failed: DeploymentControllerActivity
2012-07-10 21:35:21 INFO Stage 1: Downloading packages from NuGet servers
2012-07-10 21:35:21 ERROR System.NullReferenceException: Object reference not set to an instance of an object.
Server stack trace:
at Octopus.Server.Tasks.Deploy.DownloadPackagesActivity.b__0(Step s) in c:\BuildAgent\work\7bf5272a44079f5\source\Octopus.Server\Tasks\Deploy\DownloadPackagesActivity.cs:line 28
at System.Linq.Enumerable.WhereListIterator1.MoveNext() at System.Linq.Enumerable.<OfTypeIterator>d__aa1.MoveNext()
at System.Collections.Generic.List1..ctor(IEnumerable1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable1 source) at Octopus.Server.Tasks.Deploy.DownloadPackagesActivity.<Execute>d__7.MoveNext() in c:\BuildAgent\work\7bf5272a44079f5\source\Octopus.Server\Tasks\Deploy\DownloadPackagesActivity.cs:line 27 Exception rethrown at [0]: at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task) at Octopus.Shared.Activities.ActivityRuntime.<ExecuteChild>d__0.MoveNext() in c:\BuildAgent\work\7bf5272a44079f5\source\Octopus.Shared\Activities\ActivityRuntime.cs:line 45 2012-07-10 21:35:23 ERROR One or more errors occurred. System.NullReferenceException: Object reference not set to an instance of an object. Server stack trace: at Octopus.Server.Tasks.Deploy.DownloadPackagesActivity.<Execute>b__0(Step s) in c:\BuildAgent\work\7bf5272a44079f5\source\Octopus.Server\Tasks\Deploy\DownloadPackagesActivity.cs:line 28 at System.Linq.Enumerable.WhereListIterator1.MoveNext()
at System.Linq.Enumerable.d__aa1.MoveNext() at System.Collections.Generic.List1…ctor(IEnumerable1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable1 source)
at Octopus.Server.Tasks.Deploy.DownloadPackagesActivity.d__7.MoveNext() in c:\BuildAgent\work\7bf5272a44079f5\source\Octopus.Server\Tasks\Deploy\DownloadPackagesActivity.cs:line 27
Exception rethrown at [0]:
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
at Octopus.Shared.Activities.ActivityRuntime.d__0.MoveNext() in c:\BuildAgent\work\7bf5272a44079f5\source\Octopus.Shared\Activities\ActivityRuntime.cs:line 52
Exception rethrown at [1]:
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
at Octopus.Server.Tasks.Deploy.DeploymentControllerActivity.d__0.MoveNext() in c:\BuildAgent\work\7bf5272a44079f5\source\Octopus.Server\Tasks\Deploy\DeploymentControllerActivity.cs:line 46

Failed: Stage 1: Downloading packages from NuGet servers
2012-07-10 21:35:21 INFO Making a list of packages to download

Hi Dan,

Sorry about this, it was from a change that wasn’t supposed to be included in the build. It’s fixed in this release:

Paul