Error on Add Package Step

Hi i’ve upgraded to the latest version (1.0.28.1336) think it was from version (1.0.23.1315)

After i did this, i did a Health Check and all seems to be fine, but when i try to “Add package step” i get the following exception:

System.InvalidOperationException: Sequence contains no matching element
at System.Linq.Enumerable.First[TSource](IEnumerable1 source, Func2 predicate)
at Octopus.Portal.Models.Steps.EditPackageStepViewModelBuilder.Rebuild(EditPackageStepViewModel model, Project project) in c:\BuildAgent\work\e6923628be6eaf72\source\Octopus.Portal\Models\Steps\EditPackageStepViewModelBuilder.cs:line 53
at Octopus.Portal.Models.Steps.EditPackageStepViewModelBuilder.CreateFrom(Project project, PackageStep step) in c:\BuildAgent\work\e6923628be6eaf72\source\Octopus.Portal\Models\Steps\EditPackageStepViewModelBuilder.cs:line 34
at Octopus.Portal.Controllers.StepsController.PackageStep(String slug, String id) in c:\BuildAgent\work\e6923628be6eaf72\source\Octopus.Portal\Controllers\StepsController.cs:line 33
at lambda_method(Closure , ControllerBase , Object[] )
at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary2 parameters) at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary2 parameters)
at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass15.b__12()
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func1 continuation) at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func1 continuation)
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func1 continuation) at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func1 continuation)
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func1 continuation) at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func1 continuation)
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodWithFilters(ControllerContext controllerContext, IList1 filters, ActionDescriptor actionDescriptor, IDictionary2 parameters)
at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)
at System.Web.Mvc.Controller.ExecuteCore()
at System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext)
at System.Web.Mvc.MvcHandler.<>c__DisplayClass6.<>c__DisplayClassb.b__5()
at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass1.b__0()
at System.Web.Mvc.MvcHandler.<>c__DisplayClasse.b__d()
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

I just got the same message, and now I see that the tentacle no longer responds to the healthcheck. Does your tentacle still respond to the health check?

Yes the Health Check Succeeds on my end.

Hi Christian and Christian,

Sorry about this bug, I’ve fixed it in a new build:

@Christian W, the health check would be unrelated to this bug - can you post the error you get?

Paul

I reinstalled the tentacle-service, and the health-check works now.