NameError (uninitialized constant Redmine::DefaultData) -------------------------------------------------------
Key: JRUBY-3881 URL: http://jira.codehaus.org/browse/JRUBY-3881 Project: JRuby Issue Type: Bug Affects Versions: JRuby 1.3.1 Environment: Solaris 10u7, JRuby 1.3.1, Glassfishv3 Promoted (12th Aug 2009). Reporter: Tony Arnold Assignee: Thomas E Enebo Priority: Minor I'm getting the following error when trying to access the admin page of redmine via a JRuby run version. The same code works fine on native Ruby: {{NameError (uninitialized constant Redmine::DefaultData): /export/home/redmine/glassfishv3/glassfish/jruby/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/base.rb:1283:in `const_missing' /app/controllers/admin_controller.rb:25:in `index' /export/home/redmine/glassfishv3/glassfish/jruby/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/base.rb:1253:in `perform_action' /export/home/redmine/glassfishv3/glassfish/jruby/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/filters.rb:617:in `call_filters' /export/home/redmine/glassfishv3/glassfish/jruby/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/filters.rb:610:in `perform_action_with_filters' /export/home/redmine/glassfishv3/glassfish/jruby/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/benchmarking.rb:68:in `perform_action_with_benchmark' /export/home/redmine/glassfishv3/glassfish/jruby/lib/ruby/1.8/benchmark.rb:293:in `measure' /export/home/redmine/glassfishv3/glassfish/jruby/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/benchmarking.rb:68:in `perform_action_with_benchmark' /export/home/redmine/glassfishv3/glassfish/jruby/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/rescue.rb:136:in `perform_action_with_rescue' /export/home/redmine/glassfishv3/glassfish/jruby/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/caching/sql_cache.rb:13:in `perform_action_with_caching' /export/home/redmine/glassfishv3/glassfish/jruby/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache' /export/home/redmine/glassfishv3/glassfish/jruby/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/query_cache.rb:8:in `cache' /export/home/redmine/glassfishv3/glassfish/jruby/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/caching/sql_cache.rb:12:in `perform_action_with_caching' /export/home/redmine/glassfishv3/glassfish/jruby/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/base.rb:524:in `process' /export/home/redmine/glassfishv3/glassfish/jruby/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/filters.rb:606:in `process_with_filters' /export/home/redmine/glassfishv3/glassfish/jruby/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/session_management.rb:134:in `process_with_session_management_support' /export/home/redmine/glassfishv3/glassfish/jruby/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/base.rb:392:in `process' /export/home/redmine/glassfishv3/glassfish/jruby/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/dispatcher.rb:183:in `handle_request' /export/home/redmine/glassfishv3/glassfish/jruby/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/dispatcher.rb:110:in `dispatch_unlocked' /export/home/redmine/glassfishv3/glassfish/jruby/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/dispatcher.rb:120:in `dispatch' /export/home/redmine/glassfishv3/glassfish/jruby/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/dispatcher.rb:132:in `dispatch_cgi' /export/home/redmine/glassfishv3/glassfish/jruby/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/dispatcher.rb:39:in `dispatch' file:/export/home/redmine/glassfishv3/glassfish/modules/grizzly-jruby.jar!/rack/adapter/rails.rb:82:in `serve_rails' file:/export/home/redmine/glassfishv3/glassfish/modules/grizzly-jruby.jar!/rack/adapter/rails.rb:109:in `call' file:/export/home/redmine/glassfishv3/glassfish/modules/grizzly-jruby.jar!/jruby/rack/rails.rb:69:in `call' file:/export/home/redmine/glassfishv3/glassfish/modules/grizzly-jruby.jar!/rack/handler/grizzly.rb:55:in `call' :1 Rendering /export/home/redmine/redmine.svn/public/500.html (500 Internal Server Error) }} -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email