Project

General

Profile

Bug #4607

fix cache initialization sometimes fails

Added by Ohad Levy over 5 years ago. Updated over 5 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

Description

undefined method `value' for nil:NilClass (NoMethodError)
  /home/foreman/git/foreman/config/initializers/fix_cache.rb:10
  /home/foreman/git/foreman/vendor/bundle/ruby/1.8/gems/activesupport-3.2.17/lib/active_support/dependencies.rb:245:in `load'
  /home/foreman/git/foreman/vendor/bundle/ruby/1.8/gems/activesupport-3.2.17/lib/active_support/dependencies.rb:245:in `load'
  /home/foreman/git/foreman/vendor/bundle/ruby/1.8/gems/activesupport-3.2.17/lib/active_support/dependencies.rb:236:in `load_dependency'
  /home/foreman/git/foreman/vendor/bundle/ruby/1.8/gems/activesupport-3.2.17/lib/active_support/dependencies.rb:245:in `load'
  /home/foreman/git/foreman/vendor/bundle/ruby/1.8/gems/railties-3.2.17/lib/rails/engine.rb:593
  /home/foreman/git/foreman/vendor/bundle/ruby/1.8/gems/railties-3.2.17/lib/rails/engine.rb:592:in `each'
  /home/foreman/git/foreman/vendor/bundle/ruby/1.8/gems/railties-3.2.17/lib/rails/engine.rb:592
  /home/foreman/git/foreman/vendor/bundle/ruby/1.8/gems/railties-3.2.17/lib/rails/initializable.rb:30:in `instance_exec'
  /home/foreman/git/foreman/vendor/bundle/ruby/1.8/gems/railties-3.2.17/lib/rails/initializable.rb:30:in `run'
  /home/foreman/git/foreman/vendor/bundle/ruby/1.8/gems/railties-3.2.17/lib/rails/initializable.rb:55:in `run_initializers'
  /home/foreman/git/foreman/vendor/bundle/ruby/1.8/gems/railties-3.2.17/lib/rails/initializable.rb:54:in `each'
  /home/foreman/git/foreman/vendor/bundle/ruby/1.8/gems/railties-3.2.17/lib/rails/initializable.rb:54:in `run_initializers'
  /home/foreman/git/foreman/vendor/bundle/ruby/1.8/gems/railties-3.2.17/lib/rails/application.rb:136:in `initialize!'
  /home/foreman/git/foreman/vendor/bundle/ruby/1.8/gems/railties-3.2.17/lib/rails/railtie/configurable.rb:30:in `send'
  /home/foreman/git/foreman/vendor/bundle/ruby/1.8/gems/railties-3.2.17/lib/rails/railtie/configurable.rb:30:in `method_missing'
  /home/foreman/git/foreman/config/environment.rb:5

Related issues

Has duplicate Foreman - Bug #4652: error when running tests from ideClosed2014-03-13
Blocks Foreman - Tracker #4552: New permissions/authorization system issuesNew

Associated revisions

Revision 8592cd27 (diff)
Added by Amos Benari over 5 years ago

fixes #4607 error when running test from ide

History

#1 Updated by Ohad Levy over 5 years ago

this happens when the db is down, but it swallows the error message.

#2 Updated by Dominic Cleal over 5 years ago

  • Blocks Tracker #4552: New permissions/authorization system issues added

#3 Updated by Dominic Cleal over 5 years ago

  • Has duplicate Bug #4652: error when running tests from ide added

#4 Updated by Dominic Cleal over 5 years ago

  • Status changed from New to Duplicate

Also available in: Atom PDF