New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GetOctopusDeployment throwing error if called while the deployment is in progress #281

Closed
jigneshjdesai opened this Issue Jun 27, 2017 · 0 comments

Comments

Projects
None yet
2 participants
@jigneshjdesai

jigneshjdesai commented Jun 27, 2017

I am trying to use that cmdlet, but if I execute this command while the deployment is in progress it throws below error. But after the deployment is completed I get Success in status. Any idea what I might be doing wrong?

System.Management.Automation.CmdletInvocationException: Nullable object must have a value. ---> System.InvalidOperationException: Nullable object must have a value.
at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at System.Nullable1.get_Value() at Octoposh.Model.OutputConverter.GetOctopusDeployment(List1 baseResourceList, List1 environments, List1 projects, List1 releases) at Octoposh.Cmdlets.GetOctopusDeployment.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input, Hashtable errorResults, Boolean enumerate) at System.Management.Automation.PipelineOps.InvokePipeline(Object input, Boolean ignoreInput, CommandParameterInternal[][] pipeElements, CommandBaseAst[] pipeElementAsts, CommandRedirection[][] commandRedirections, FunctionContext funcContext) at System.Management.Automation.Interpreter.ActionCallInstruction6.Run(InterpretedFrame frame)
at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)

@Dalmirog Dalmirog self-assigned this Jun 27, 2017

@Dalmirog Dalmirog added this to the 0.6.10/1.0.0-Beta10 milestone Jun 27, 2017

@Dalmirog Dalmirog removed the in progress label Jul 7, 2017

@Dalmirog Dalmirog closed this in 4611b8c Jul 7, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment