ChiliProject is not maintained anymore. Please be advised that there will be no more updates.

We do not recommend that you setup new ChiliProject instances and we urge all existing users to migrate their data to a maintained system, e.g. Redmine. We will provide a migration script later. In the meantime, you can use the instructions by Christian Daehn.

SystemStackError in WelcomeController#index with plugin "redmine attach screenshot" (Feature #631)


Added by Jörg Hagemann at 2011-09-19 03:53 pm. Updated at 2011-09-19 04:55 pm.


Status:Declined Start date:2011-09-19
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:-
Target version:-
Remote issue URL: Affected version:

Description

Remarks

Exception occurs only with config.cache_classes = false. Does anyone have an idea to get it run with config.cache_classes = false?

Application Controller: Exception caught

SystemStackError in WelcomeController#index

stack level too deep
RAILS_ROOT: C:/Source/redchili/development

Application Trace

C:/Source/redchili/development/vendor/plugins/redmine_attach_screenshot/lib/application_patch.rb:19:in `find_current_user_without_screenshot'
C:/Source/redchili/development/vendor/plugins/redmine_attach_screenshot/lib/application_patch.rb:19:in `find_current_user'
C:/Source/redchili/development/app/controllers/application_controller.rb:62:in `user_setup'

Full Trace

C:/Source/redchili/development/vendor/plugins/redmine_attach_screenshot/lib/application_patch.rb:19:in `find_current_user_without_screenshot'
C:/Source/redchili/development/vendor/plugins/redmine_attach_screenshot/lib/application_patch.rb:19:in `find_current_user'
C:/Source/redchili/development/app/controllers/application_controller.rb:62:in `user_setup'
C:/Programme/Ruby187/lib/ruby/gems/1.8/gems/activesupport-2.3.14/lib/active_support/callbacks.rb:178:in `send'
C:/Programme/Ruby187/lib/ruby/gems/1.8/gems/activesupport-2.3.14/lib/active_support/callbacks.rb:178:in `evaluate_method'
C:/Programme/Ruby187/lib/ruby/gems/1.8/gems/activesupport-2.3.14/lib/active_support/callbacks.rb:166:in `call'
C:/Programme/Ruby187/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_controller/filters.rb:225:in `call'
C:/Programme/Ruby187/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_controller/filters.rb:629:in `run_before_filters'
C:/Programme/Ruby187/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_controller/filters.rb:615:in `call_filters'
C:/Programme/Ruby187/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark'
C:/Programme/Ruby187/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
C:/Programme/Ruby187/lib/ruby/gems/1.8/gems/activesupport-2.3.14/lib/active_support/core_ext/benchmark.rb:17:in `ms'
C:/Programme/Ruby187/lib/ruby/1.8/benchmark.rb:308:in `realtime'
C:/Programme/Ruby187/lib/ruby/gems/1.8/gems/activesupport-2.3.14/lib/active_support/core_ext/benchmark.rb:17:in `ms'
C:/Programme/Ruby187/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
C:/Programme/Ruby187/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_controller/rescue.rb:160:in `perform_action_without_flash'
C:/Programme/Ruby187/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_controller/flash.rb:151:in `perform_action'
C:/Programme/Ruby187/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_controller/base.rb:532:in `send'
C:/Programme/Ruby187/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_controller/base.rb:532:in `process_without_filters'
C:/Programme/Ruby187/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_controller/filters.rb:606:in `process'
C:/Programme/Ruby187/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_controller/base.rb:391:in `process'
C:/Programme/Ruby187/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_controller/base.rb:386:in `call'
C:/Programme/Ruby187/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_controller/routing/route_set.rb:438:in `call'
C:/Programme/Ruby187/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_controller/dispatcher.rb:87:in `dispatch'
C:/Programme/Ruby187/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_controller/dispatcher.rb:121:in `_call'
C:/Programme/Ruby187/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_controller/dispatcher.rb:130:in `build_middleware_stack'
C:/Programme/Ruby187/lib/ruby/gems/1.8/gems/activerecord-2.3.14/lib/active_record/query_cache.rb:29:in `call'
C:/Programme/Ruby187/lib/ruby/gems/1.8/gems/activerecord-2.3.14/lib/active_record/query_cache.rb:29:in `call'
C:/Programme/Ruby187/lib/ruby/gems/1.8/gems/activerecord-2.3.14/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache'
C:/Programme/Ruby187/lib/ruby/gems/1.8/gems/activerecord-2.3.14/lib/active_record/query_cache.rb:9:in `cache'
C:/Programme/Ruby187/lib/ruby/gems/1.8/gems/activerecord-2.3.14/lib/active_record/query_cache.rb:28:in `call'
C:/Programme/Ruby187/lib/ruby/gems/1.8/gems/activerecord-2.3.14/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call'
C:/Programme/Ruby187/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_controller/string_coercion.rb:25:in `call'
C:/Programme/Ruby187/lib/ruby/gems/1.8/gems/rack-1.1.2/lib/rack/head.rb:9:in `call'
C:/Programme/Ruby187/lib/ruby/gems/1.8/gems/rack-1.1.2/lib/rack/methodoverride.rb:24:in `call'
C:/Programme/Ruby187/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_controller/params_parser.rb:15:in `call'
C:/Programme/Ruby187/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_controller/session/cookie_store.rb:99:in `call'
C:/Programme/Ruby187/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_controller/failsafe.rb:26:in `call'
C:/Programme/Ruby187/lib/ruby/gems/1.8/gems/rack-1.1.2/lib/rack/lock.rb:11:in `call'
C:/Programme/Ruby187/lib/ruby/gems/1.8/gems/rack-1.1.2/lib/rack/lock.rb:11:in `synchronize'
C:/Programme/Ruby187/lib/ruby/gems/1.8/gems/rack-1.1.2/lib/rack/lock.rb:11:in `call'
C:/Programme/Ruby187/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_controller/dispatcher.rb:114:in `call'
C:/Programme/Ruby187/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_controller/reloader.rb:34:in `run'
C:/Programme/Ruby187/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_controller/dispatcher.rb:108:in `call'
C:/Programme/Ruby187/lib/ruby/gems/1.8/gems/rails-2.3.14/lib/rails/rack/static.rb:31:in `call'
C:/Programme/Ruby187/lib/ruby/gems/1.8/gems/rack-1.1.2/lib/rack/urlmap.rb:47:in `call'
C:/Programme/Ruby187/lib/ruby/gems/1.8/gems/rack-1.1.2/lib/rack/urlmap.rb:41:in `each'
C:/Programme/Ruby187/lib/ruby/gems/1.8/gems/rack-1.1.2/lib/rack/urlmap.rb:41:in `call'
C:/Programme/Ruby187/lib/ruby/gems/1.8/gems/rails-2.3.14/lib/rails/rack/log_tailer.rb:17:in `call'
C:/Programme/Ruby187/lib/ruby/gems/1.8/gems/rack-1.1.2/lib/rack/content_length.rb:13:in `call'
C:/Programme/Ruby187/lib/ruby/gems/1.8/gems/rack-1.1.2/lib/rack/handler/webrick.rb:48:in `service'
C:/Programme/Ruby187/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
C:/Programme/Ruby187/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
C:/Programme/Ruby187/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
C:/Programme/Ruby187/lib/ruby/1.8/webrick/server.rb:162:in `start'
C:/Programme/Ruby187/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
C:/Programme/Ruby187/lib/ruby/1.8/webrick/server.rb:95:in `start'
C:/Programme/Ruby187/lib/ruby/1.8/webrick/server.rb:92:in `each'
C:/Programme/Ruby187/lib/ruby/1.8/webrick/server.rb:92:in `start'
C:/Programme/Ruby187/lib/ruby/1.8/webrick/server.rb:23:in `start'
C:/Programme/Ruby187/lib/ruby/1.8/webrick/server.rb:82:in `start'
C:/Programme/Ruby187/lib/ruby/gems/1.8/gems/rack-1.1.2/lib/rack/handler/webrick.rb:14:in `run'
C:/Programme/Ruby187/lib/ruby/gems/1.8/gems/rails-2.3.14/lib/commands/server.rb:111
C:/Source/redchili/development/script/server:3:in `require'
C:/Source/redchili/development/script/server:3
-e:1:in `load'
-e:1

Request

Parameters: None

Show session dump: ---

Response

Headers:

{"Content-Type"=>"",
"Cache-Control"=>"no-cache"}

Environment

WinXPSP3, Ruby 1.8.7
config.cache_classes = false

Gems

*** LOCAL GEMS ***

actionmailer (2.3.14, 2.3.5)
actionpack (2.3.14, 2.3.5)
activerecord (2.3.14, 2.3.5)
activeresource (2.3.14, 2.3.5)
activesupport (2.3.14, 2.3.5)
bundler (1.0.18)
cgi_multipart_eof_fix (2.5.0)
coderay (0.9.8)
edavis10-object_daddy (0.4.3)
fastercsv (1.5.4)
gem_plugin (0.2.3)
i18n (0.4.2)
metaclass (0.0.1)
mocha (0.10.0)
mongrel (1.1.5 x86-mingw32)
mongrel_service (0.3.4 i386-mswin32)
mysql (2.8.1 x86-mingw32)
rack (1.1.2, 1.1.0, 1.0.1)
rails (2.3.14, 2.3.5)
rake (0.9.2, 0.8.7)
rdoc (3.9.4)
rmagick (2.12.0 mswin32)
ruby-openid (2.1.8)
rubytree (0.5.3)
shoulda (2.10.3)
win32-service (0.5.2 mswin32)

History

Updated by Holger Just at 2011-09-19 04:55 pm

This is exclusively a plugin issue. Please contact the plugin author directly as we can not provide support for every plugin out there.

Generally, you should not run a production environment with disabled config.cache_classes as you will face performance issues as well as loading issues with plugins not properly registering their patches. This seems to be the case here too.

  • Status changed from Open to Declined

Also available in: Atom PDF