daily pastebin goal
47%
SHARE
TWEET

redmine 500 error

a guest Mar 5th, 2012 339 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Processing WelcomeController#index (for 192.168.1.108 at 2012-03-05 08:42:02) [GET]
  2.   Parameters: {"controller"=>"welcome", "action"=>"index"}
  3. Rendering template within layouts/base
  4. Rendering welcome/index
  5.  
  6.  
  7. ActionView::TemplateError (undefined method `[]' for nil:NilClass) on line #22 of app/views/welcome/index.rhtml:
  8. 19:             <ul>
  9. 20:             <% for project in @projects %>
  10. 21:                     <li>
  11. 22:                     <%= link_to h(project.name), :controller => 'projects', :action => 'show', :id => project %> (<%= format_time(project.created_on) %>)
  12. 23:                     <%= textilizable project.short_description, :project => project %>
  13. 24:                     </li>
  14. 25:             <% end %>
  15.  
  16.     app/models/setting.rb:100:in `value='
  17.     vendor/rails/activerecord/lib/active_record/base.rb:2589:in `send'
  18.     vendor/rails/activerecord/lib/active_record/base.rb:2589:in `attributes='
  19.     vendor/rails/activerecord/lib/active_record/base.rb:2585:in `each'
  20.     vendor/rails/activerecord/lib/active_record/base.rb:2585:in `attributes='
  21.     vendor/rails/activerecord/lib/active_record/base.rb:2285:in `initialize'
  22.     app/models/setting.rb:166:in `new'
  23.     app/models/setting.rb:166:in `find_or_default'
  24.     app/models/setting.rb:107:in `[]'
  25.     app/models/setting.rb:136:in `time_format'
  26.     lib/redmine/i18n.rb:48:in `format_time'
  27.     app/views/welcome/index.rhtml:22
  28.     app/views/welcome/index.rhtml:20:in `each'
  29.     app/views/welcome/index.rhtml:20
  30.     vendor/rails/actionpack/lib/action_view/renderable.rb:39:in `send'
  31.     vendor/rails/actionpack/lib/action_view/renderable.rb:39:in `render'
  32.     vendor/rails/actionpack/lib/action_view/template.rb:73:in `render_template'
  33.     vendor/rails/actionpack/lib/action_view/base.rb:256:in `render'
  34.     vendor/rails/actionpack/lib/action_view/base.rb:369:in `_render_with_layout'
  35.     vendor/rails/actionpack/lib/action_view/base.rb:254:in `render'
  36.     vendor/rails/actionpack/lib/action_controller/base.rb:1177:in `render_for_file'
  37.     vendor/rails/actionpack/lib/action_controller/base.rb:896:in `render_without_benchmark'
  38.     vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:in `render'
  39.     vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:8:in `realtime'
  40.     vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:in `render'
  41.     vendor/rails/actionpack/lib/action_controller/base.rb:868:in `render_without_benchmark'
  42.     vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:in `render'
  43.     vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:8:in `realtime'
  44.     vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:in `render'
  45.     vendor/rails/actionpack/lib/action_controller/base.rb:1251:in `default_render'
  46.     vendor/rails/actionpack/lib/action_controller/base.rb:1257:in `perform_action_without_filters'
  47.     vendor/rails/actionpack/lib/action_controller/filters.rb:617:in `call_filters'
  48.     vendor/rails/actionpack/lib/action_controller/filters.rb:638
  49.     vendor/rails/actionpack/lib/action_controller/filters.rb:189:in `call'
  50.     vendor/rails/actionpack/lib/action_controller/filters.rb:189:in `call'
  51.     vendor/rails/actionpack/lib/action_controller/filters.rb:635:in `run_before_filters'
  52.     vendor/rails/actionpack/lib/action_controller/filters.rb:615:in `call_filters'
  53.     vendor/rails/actionpack/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark'
  54.     vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
  55.     /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
  56.     vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
  57.     vendor/rails/actionpack/lib/action_controller/rescue.rb:136:in `passenger_orig_perform_action'
  58.     /usr/lib/ruby/1.8/phusion_passenger/railz/request_handler.rb:65:in `perform_action'
  59.     vendor/rails/actionpack/lib/action_controller/base.rb:524:in `send'
  60.     vendor/rails/actionpack/lib/action_controller/base.rb:524:in `process_without_filters'
  61.     vendor/rails/actionpack/lib/action_controller/filters.rb:606:in `process_without_session_management_support'
  62.     vendor/rails/actionpack/lib/action_controller/session_management.rb:134:in `process_without_test'
  63.     vendor/rails/actionpack/lib/action_controller/test_process.rb:18:in `process'
  64.     vendor/rails/actionpack/lib/action_controller/base.rb:392:in `process'
  65.     vendor/rails/actionpack/lib/action_controller/dispatcher.rb:184:in `handle_request'
  66.     vendor/rails/actionpack/lib/action_controller/dispatcher.rb:112:in `dispatch_unlocked'
  67.     vendor/rails/actionpack/lib/action_controller/dispatcher.rb:125:in `dispatch'
  68.     vendor/rails/actionpack/lib/action_controller/dispatcher.rb:124:in `synchronize'
  69.     vendor/rails/actionpack/lib/action_controller/dispatcher.rb:124:in `dispatch'
  70.     vendor/rails/actionpack/lib/action_controller/dispatcher.rb:134:in `dispatch_cgi'
  71.     vendor/rails/actionpack/lib/action_controller/dispatcher.rb:41:in `dispatch'
  72.     /usr/lib/ruby/1.8/phusion_passenger/railz/request_handler.rb:50:in `process_request'
  73.     /usr/lib/ruby/1.8/phusion_passenger/abstract_request_handler.rb:207:in `main_loop'
  74.     /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:374:in `start_request_handler'
  75.     /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:332:in `handle_spawn_application'
  76.     /usr/lib/ruby/1.8/phusion_passenger/utils.rb:184:in `safe_fork'
  77.     /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:330:in `handle_spawn_application'
  78.     /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `__send__'
  79.     /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `main_loop'
  80.     /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
  81.     /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:163:in `start'
  82.     /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:209:in `start'
  83.     /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:262:in `spawn_rails_application'
  84.     /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:126:in `lookup_or_add'
  85.     /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:256:in `spawn_rails_application'
  86.     /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:80:in `synchronize'
  87.     /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
  88.     /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:255:in `spawn_rails_application'
  89.     /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:154:in `spawn_application'
  90.     /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:287:in `handle_spawn_application'
  91.     /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `__send__'
  92.     /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `main_loop'
  93.     /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
  94.     /usr/lib/phusion_passenger/passenger-spawn-server:61
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top