System.NullReferenceException in UploadPackagesActivity (0.9.620.4)

I recently upgraded to 0.9.620.4 and found a couple of issues.

First all deployments fail with the same error:

2012-02-21 10:24:33 INFO Uploading packages…
2012-02-21 10:24:33 ERROR System.NullReferenceException: Object reference not set to an instance of an object.
at Octopus.Shared.Activities.ActivityRuntime.Execute(IEnumerable`1 activities) in c:\BuildAgent\work\7bf5272a44079f5\source\Octopus.Shared\Activities\ActivityRuntime.cs:line 49
at Octopus.Server.Tasks.Deploy.UploadPackagesActivity.Execute() in c:\BuildAgent\work\7bf5272a44079f5\source\Octopus.Server\Tasks\Deploy\UploadPackagesActivity.cs:line 54
at Octopus.Shared.Activities.ActivityRuntime.RunTaskOnBackgroundThread(Object arguments) in c:\BuildAgent\work\7bf5272a44079f5\source\Octopus.Shared\Activities\ActivityRuntime.cs:line 115

And secondly the UI is not working in IE anymore, errors cannot be expanded etc.

Same problem here, but I’m on Octopus 0.9.620.3 (beta) . Have 2 tentacles both on Octopus 0.9.620.2 one of them works, the other one blows with the above exception

I found the error, it was because I was deploying an old release to an new environment.

So just create new releases and try again, works?

Nice, that fixed the problem!

Thanks Ola! (andreas from oredev)

Thanks Ola and Andreas, I’ll include a fix in the next release.