Hello,
I am creating a new process similar to previous ones and I receive this error when I try to deploy the release.
I can’t find what could cause this error… I have reread all variables and steps and still can’t understand why this step fail.
| == Failed: Octopus Server on behalf of xxx Azure Web App ==
13:41:59 Verbose | Value cannot be null. (Parameter 'key')
| System.ArgumentNullException
| at System.Collections.Generic.Dictionary`2.FindEntry(TKey key)
| at System.Collections.Generic.Dictionary`2.TryGetValue(TKey key, TValue& value)
| at Octostache.Templates.PropertyListBinder.Add(Binding result, IEnumerable`1 steps, String value)
| at Octostache.Templates.PropertyListBinder.Add(Binding result, IEnumerable`1 steps, String value)
| at Octostache.Templates.PropertyListBinder.Add(Binding result, IEnumerable`1 steps, String value)
| at Octostache.Templates.PropertyListBinder.Add(Binding result, IEnumerable`1 steps, String value)
| at Octostache.Templates.PropertyListBinder.CreateFrom(IDictionary`2 properties)
| at Octostache.VariableDictionary.get_Binding()
| at Octostache.VariableDictionary.Evaluate(String expressionOrVariableOrText, String& error, Boolean haltOnError)
| at Octostache.VariableDictionary.Get(String variableName, String& error, String defaultValue)
| at Octostache.VariableDictionary.GetStrings(String variableName, Char[] separators)
| at Octopus.Core.Model.Variables.TargetManifest.AddTargetRoles(VariableDictionary variables) in TargetManifest.cs:line 59
| at Octopus.Core.Model.Variables.TargetManifest.GetVariables() in TargetManifest.cs:line 31
| at Octopus.Server.Orchestration.ServerTasks.Deploy.ExecutionTaskController`1.CheckRunConditionsAndProceed(PlannedStep step, DeploymentTarget targetContext, PlannedAction action, ActionCommand actionCommand) in ExecutionTaskController.cs:line 577
| at Octopus.Server.Orchestration.ServerTasks.Deploy.ExecutionTaskController`1.ExecuteActionAndInitLoggingContext(PlannedStep step, DeploymentTarget targetContext, PlannedAction action) in ExecutionTaskController.cs:line 558
13:41:59 Fatal | The action Deploy an Azure Web App on xxx Azure Web App failed
I can share complete raw log if necessary.