ArgumentError in <controller not set>#<action not set>?


#1

Has anyone ever seen this before? It doesn’t happen n a predictable
manner, and can occur via different controllers. Someone else posted
about this back in December but no one replied. I’m completely stumped!

Here is the text, thanks.

ArgumentError in #

undefined class/module CustomerDomain

RAILS_ROOT: script/…/config/…
Application Trace | Framework Trace | Full Trace

/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session/active_record_store.rb:84:in
load' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session/active_record_store.rb:84:inunmarshal’
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session/active_record_store.rb:122:in
data' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session/active_record_store.rb:129:inmarshal_data!’
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/callbacks.rb:333:in
callback' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/callbacks.rb:330:incallback’
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/callbacks.rb:248:in
create_or_update' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/base.rb:1226:insave_without_validation’
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/validations.rb:698:in
save_without_transactions' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/transactions.rb:126:insave’
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/connection_adapters/abstract/database_statements.rb:51:in
transaction' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/transactions.rb:91:intransaction’
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/transactions.rb:118:in
transaction' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/transactions.rb:126:insave’
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session/active_record_store.rb:300:in
update' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/base.rb:831:insilence’
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session/active_record_store.rb:300:in
update' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session/active_record_store.rb:307:inclose’
/usr/local/lib/ruby/1.8/cgi/session.rb:166:in callback' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/base.rb:833:inhash_value’
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:108:in
default_check' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:124:inwrite_dropout_generation’
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:117:in
write_generation' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:207:ingo’
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:216:in
continue' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:140:inwrite_continue_generation’
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:145:in
add_segments_to' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:203:inadd_segment’
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:145:in
add_segments_to' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:140:inwrite_continue_generation’
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:46:in
method_missing' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:19:inindent’
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:46:in
method_missing' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:138:inwrite_continue_generation’
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:118:in
write_generation' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:207:ingo’
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:216:in
continue' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:140:inwrite_continue_generation’
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:188:in
add_segments_to' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:203:inadd_segment’
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:188:in
add_segments_to' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:140:inwrite_continue_generation’
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:46:in
method_missing' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:19:inindent’
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:46:in
method_missing' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:138:inwrite_continue_generation’
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:118:in
write_generation' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:207:ingo’
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:301:in
write_generation' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:509:ingeneration_code_for’
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:46:in
`method_missing’
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:19:i


#2

a non y mouse wrote:

RAILS_ROOT: script/…/config/…
Application Trace | Framework Trace | Full Trace

OK, new development in this issue: It works fine under Apache (2.2.0,
mod_fcgid). Seems to be related to WEBrick.