Skip to content

Instantly share code, notes, and snippets.

@elight
Created March 24, 2010 18:58
Show Gist options
  • Save elight/342645 to your computer and use it in GitHub Desktop.
Save elight/342645 to your computer and use it in GitHub Desktop.
SystemStackError in SchedulesController#edit
stack level too deep
RAILS_ROOT: /Users/light/work/oss/redmine
Application Trace | Framework Trace | Full Trace
/Users/light/.rvm/gems/ruby-1.8.7-p249+onu/gems/activerecord-2.3.5/lib/active_record/attribute_methods.rb:241:in `method_missing'
/Users/light/.rvm/gems/ruby-1.8.7-p249+onu/gems/activerecord-2.3.5/lib/active_record/attribute_methods.rb:249:in `method_missing'
/Users/light/.rvm/gems/ruby-1.8.7-p249+onu/gems/activerecord-2.3.5/lib/active_record/associations/association_proxy.rb:217:in `send'
/Users/light/.rvm/gems/ruby-1.8.7-p249+onu/gems/activerecord-2.3.5/lib/active_record/associations/association_proxy.rb:217:in `method_missing'
/Users/light/work/oss/redmine/vendor/plugins/redmine_schedules/app/controllers/schedules_controller.rb:357:in `save_scheduled_entries'
/Users/light/work/oss/redmine/vendor/plugins/redmine_schedules/app/controllers/schedules_controller.rb:357:in `each'
/Users/light/work/oss/redmine/vendor/plugins/redmine_schedules/app/controllers/schedules_controller.rb:357:in `save_scheduled_entries'
/Users/light/work/oss/redmine/vendor/plugins/redmine_schedules/app/controllers/schedules_controller.rb:328:in `each'
/Users/light/work/oss/redmine/vendor/plugins/redmine_schedules/app/controllers/schedules_controller.rb:328:in `save_scheduled_entries'
/Users/light/work/oss/redmine/vendor/plugins/redmine_schedules/app/controllers/schedules_controller.rb:322:in `each'
/Users/light/work/oss/redmine/vendor/plugins/redmine_schedules/app/controllers/schedules_controller.rb:322:in `save_scheduled_entries'
/Users/light/work/oss/redmine/vendor/plugins/redmine_schedules/app/controllers/schedules_controller.rb:295:in `save_entries'
/Users/light/.rvm/gems/ruby-1.8.7-p249+onu/gems/activesupport-2.3.5/lib/active_support/callbacks.rb:178:in `send'
/Users/light/.rvm/gems/ruby-1.8.7-p249+onu/gems/activesupport-2.3.5/lib/active_support/callbacks.rb:178:in `evaluate_method'
/Users/light/.rvm/gems/ruby-1.8.7-p249+onu/gems/activesupport-2.3.5/lib/active_support/callbacks.rb:166:in `call'
/Users/light/.rvm/gems/ruby-1.8.7-p249+onu/gems/actionpack-2.3.5/lib/action_controller/filters.rb:225:in `call'
/Users/light/.rvm/gems/ruby-1.8.7-p249+onu/gems/actionpack-2.3.5/lib/action_controller/filters.rb:629:in `run_before_filters'
/Users/light/.rvm/gems/ruby-1.8.7-p249+onu/gems/actionpack-2.3.5/lib/action_controller/filters.rb:615:in `call_filters'
/Users/light/.rvm/gems/ruby-1.8.7-p249+onu/gems/actionpack-2.3.5/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark'
/Users/light/.rvm/gems/ruby-1.8.7-p249+onu/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
/Users/light/.rvm/gems/ruby-1.8.7-p249+onu/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in `ms'
/Users/light/.rvm/rubies/ruby-1.8.7-p249/lib/ruby/1.8/benchmark.rb:308:in `realtime'
/Users/light/.rvm/gems/ruby-1.8.7-p249+onu/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in `ms'
/Users/light/.rvm/gems/ruby-1.8.7-p249+onu/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
/Users/light/.rvm/gems/ruby-1.8.7-p249+onu/gems/actionpack-2.3.5/lib/action_controller/rescue.rb:160:in `perform_action_without_flash'
/Users/light/.rvm/gems/ruby-1.8.7-p249+onu/gems/actionpack-2.3.5/lib/action_controller/flash.rb:146:in `perform_action'
/Users/light/.rvm/gems/ruby-1.8.7-p249+onu/gems/actionpack-2.3.5/lib/action_controller/base.rb:532:in `send'
/Users/light/.rvm/gems/ruby-1.8.7-p249+onu/gems/actionpack-2.3.5/lib/action_controller/base.rb:532:in `process_without_filters'
/Users/light/.rvm/gems/ruby-1.8.7-p249+onu/gems/actionpack-2.3.5/lib/action_controller/filters.rb:606:in `process'
/Users/light/.rvm/gems/ruby-1.8.7-p249+onu/gems/actionpack-2.3.5/lib/action_controller/base.rb:391:in `process'
/Users/light/.rvm/gems/ruby-1.8.7-p249+onu/gems/actionpack-2.3.5/lib/action_controller/base.rb:386:in `call'
/Users/light/.rvm/gems/ruby-1.8.7-p249+onu/gems/actionpack-2.3.5/lib/action_controller/routing/route_set.rb:437:in `call'
/Users/light/.rvm/gems/ruby-1.8.7-p249+onu/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:87:in `dispatch'
/Users/light/.rvm/gems/ruby-1.8.7-p249+onu/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:121:in `_call'
/Users/light/.rvm/gems/ruby-1.8.7-p249+onu/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:130
/Users/light/.rvm/gems/ruby-1.8.7-p249+onu/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:29:in `call'
/Users/light/.rvm/gems/ruby-1.8.7-p249+onu/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:29:in `call'
/Users/light/.rvm/gems/ruby-1.8.7-p249+onu/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache'
/Users/light/.rvm/gems/ruby-1.8.7-p249+onu/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:9:in `cache'
/Users/light/.rvm/gems/ruby-1.8.7-p249+onu/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:28:in `call'
/Users/light/.rvm/gems/ruby-1.8.7-p249+onu/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call'
/Users/light/.rvm/gems/ruby-1.8.7-p249+onu/gems/actionpack-2.3.5/lib/action_controller/string_coercion.rb:25:in `call'
/Users/light/.rvm/gems/ruby-1.8.7-p249+onu/gems/rack-1.0.1/lib/rack/head.rb:9:in `call'
/Users/light/.rvm/gems/ruby-1.8.7-p249+onu/gems/rack-1.0.1/lib/rack/methodoverride.rb:24:in `call'
/Users/light/.rvm/gems/ruby-1.8.7-p249+onu/gems/actionpack-2.3.5/lib/action_controller/params_parser.rb:15:in `call'
/Users/light/.rvm/gems/ruby-1.8.7-p249+onu/gems/actionpack-2.3.5/lib/action_controller/session/cookie_store.rb:93:in `call'
/Users/light/.rvm/gems/ruby-1.8.7-p249+onu/gems/actionpack-2.3.5/lib/action_controller/failsafe.rb:26:in `call'
/Users/light/.rvm/gems/ruby-1.8.7-p249+onu/gems/rack-1.0.1/lib/rack/lock.rb:11:in `call'
/Users/light/.rvm/gems/ruby-1.8.7-p249+onu/gems/rack-1.0.1/lib/rack/lock.rb:11:in `synchronize'
/Users/light/.rvm/gems/ruby-1.8.7-p249+onu/gems/rack-1.0.1/lib/rack/lock.rb:11:in `call'
/Users/light/.rvm/gems/ruby-1.8.7-p249+onu/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:114:in `call'
/Users/light/.rvm/gems/ruby-1.8.7-p249+onu/gems/actionpack-2.3.5/lib/action_controller/reloader.rb:34:in `run'
/Users/light/.rvm/gems/ruby-1.8.7-p249+onu/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:108:in `call'
/Users/light/.rvm/gems/ruby-1.8.7-p249+onu/gems/rails-2.3.5/lib/rails/rack/static.rb:31:in `call'
/Users/light/.rvm/gems/ruby-1.8.7-p249+onu/gems/rack-1.0.1/lib/rack/urlmap.rb:46:in `call'
/Users/light/.rvm/gems/ruby-1.8.7-p249+onu/gems/rack-1.0.1/lib/rack/urlmap.rb:40:in `each'
/Users/light/.rvm/gems/ruby-1.8.7-p249+onu/gems/rack-1.0.1/lib/rack/urlmap.rb:40:in `call'
/Users/light/.rvm/gems/ruby-1.8.7-p249+onu/gems/rails-2.3.5/lib/rails/rack/log_tailer.rb:17:in `call'
/Users/light/.rvm/gems/ruby-1.8.7-p249+onu/gems/rack-1.0.1/lib/rack/content_length.rb:13:in `call'
/Users/light/.rvm/gems/ruby-1.8.7-p249+onu/gems/rack-1.0.1/lib/rack/handler/webrick.rb:50:in `service'
/Users/light/.rvm/rubies/ruby-1.8.7-p249/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
/Users/light/.rvm/rubies/ruby-1.8.7-p249/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
/Users/light/.rvm/rubies/ruby-1.8.7-p249/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
/Users/light/.rvm/rubies/ruby-1.8.7-p249/lib/ruby/1.8/webrick/server.rb:162:in `start'
/Users/light/.rvm/rubies/ruby-1.8.7-p249/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
/Users/light/.rvm/rubies/ruby-1.8.7-p249/lib/ruby/1.8/webrick/server.rb:95:in `start'
/Users/light/.rvm/rubies/ruby-1.8.7-p249/lib/ruby/1.8/webrick/server.rb:92:in `each'
/Users/light/.rvm/rubies/ruby-1.8.7-p249/lib/ruby/1.8/webrick/server.rb:92:in `start'
/Users/light/.rvm/rubies/ruby-1.8.7-p249/lib/ruby/1.8/webrick/server.rb:23:in `start'
/Users/light/.rvm/rubies/ruby-1.8.7-p249/lib/ruby/1.8/webrick/server.rb:82:in `start'
/Users/light/.rvm/gems/ruby-1.8.7-p249+onu/gems/rack-1.0.1/lib/rack/handler/webrick.rb:14:in `run'
/Users/light/.rvm/gems/ruby-1.8.7-p249+onu/gems/rails-2.3.5/lib/commands/server.rb:111
/Users/light/.rvm/rubies/ruby-1.8.7-p249/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
/Users/light/.rvm/rubies/ruby-1.8.7-p249/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
script/server:3
Request
Parameters:
{"schedule_closed_entry"=>{"1"=>{"2010-03-27"=>"",
"2010-03-21"=>"",
"2010-03-22"=>"",
"2010-03-23"=>"",
"2010-03-24"=>"",
"2010-03-25"=>"",
"2010-03-26"=>""}},
"schedule_entry"=>{"1"=>{"2010-03-27"=>{"2"=>""},
"2010-03-21"=>{"2"=>""},
"2010-03-22"=>{"2"=>"3.0"},
"2010-03-23"=>{"2"=>"3.0"},
"2010-03-24"=>{"2"=>"3.0"},
"2010-03-25"=>{"2"=>"3.0"},
"2010-03-26"=>{"2"=>"3.0"}}},
"commit"=>"Save",
"authenticity_token"=>"LxTyG6ywwwPro70UvIPmhcIR86PGwATjfuJ4n4eR+J8=",
"date"=>"2010-03-24",
"user_id"=>"1"}
Show session dump
Response
Headers:
{"Content-Type"=>"",
"Cache-Control"=>"no-cache"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment