Skip to content
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

nilreference in AWS response at handle_deployment_failure #199

Open
borsothy opened this issue Jan 31, 2017 · 0 comments
Open

nilreference in AWS response at handle_deployment_failure #199

borsothy opened this issue Jan 31, 2017 · 0 comments
Labels

Comments

@borsothy
Copy link
Contributor

borsothy commented Jan 31, 2017

We've encountered this issue in our system test:
/home/jenkins/jobs/workspace/cd-system-test/cloud-database-api/vendor/bundle/ruby/2.2.0/bundler/gems/moonshot-ab988dd32eea/lib/moonshot/deployment_mechanism/code_deploy.rb:294:in 'block (2 levels) in handle_deployment_failure': undefined method 'message' for nil:NilClass (NoMethodError)

The problem occurs right here. As you can tell from the exception, event.diagnostics was nil. I have opened an AWS support ticket, and the anwser was

you might get a nil value if there is nothing to return regarding from the lifecycle event chain

The function is present both in 1.x and 0.7.x. @askreet, @glennpratt and all Moonshot folks, let me know what you think.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants