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

possible crash when cluster is nil #101

Open
johrstrom opened this issue Dec 1, 2020 · 0 comments
Open

possible crash when cluster is nil #101

johrstrom opened this issue Dec 1, 2020 · 0 comments

Comments

@johrstrom
Copy link
Contributor

It's not clear how this happened, but Summer reported this issue where the app crashes and users are shown that "Internal Server Error" phusion passenger page with a stack trace. It appears to have been intermittent and was resolved by logging out then in.

Even so, some safe-guard may be appropriate to either show no clusters or to retry?

Here's the log output and stacktrace:

App 90908 output: 2020-11-30 09:50:23 - NoMethodError - undefined method `friendly_error_message' for nil:NilClass:
App 90908 output: 	/var/www/ood/apps/sys/systemstatus/app.rb:115:in `block (2 levels) in <top (required)>'
App 90908 output: 	/var/www/ood/apps/sys/systemstatus/app.rb:115:in `map'
App 90908 output: 	/var/www/ood/apps/sys/systemstatus/app.rb:115:in `block in <top (required)>'
App 90908 output: 	/opt/ood/ondemand/root/usr/share/gems/2.5/ondemand/1.8.18/gems/sinatra-2.1.0/lib/sinatra/base.rb:1675:in `call'
App 90908 output: 	/opt/ood/ondemand/root/usr/share/gems/2.5/ondemand/1.8.18/gems/sinatra-2.1.0/lib/sinatra/base.rb:1675:in `block in compile!'
App 90908 output: 	/opt/ood/ondemand/root/usr/share/gems/2.5/ondemand/1.8.18/gems/sinatra-2.1.0/lib/sinatra/base.rb:1013:in `block (3 levels) in route!'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant