Project

General

Profile

Actions

Bug #4607

closed

fix cache initialization sometimes fails

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

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
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 2 (1 open1 closed)

Has duplicate Foreman - Bug #4652: error when running tests from ideClosedAmos Benari03/13/2014Actions
Blocks Foreman - Tracker #4552: New permissions/authorization system issuesNew

Actions
Actions #1

Updated by Ohad Levy over 10 years ago

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

Actions #2

Updated by Dominic Cleal over 10 years ago

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

Updated by Dominic Cleal over 10 years ago

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

Updated by Dominic Cleal over 10 years ago

  • Status changed from New to Duplicate
Actions

Also available in: Atom PDF