Closed irudayarajisawa closed 13 years ago
NoMethodError in Work_load#show
Showing vendor/plugins/Redmine-Wordkload-Dnoise/redmine_dnoise_workload/app/views/work_load/show.html.erb where line #2 raised:
undefined method `view=' for nil:NilClass
Extracted source (around line #2):
1: <% 2: @gantt.view = self 3: subject_width = 330 4: header_heigth = 18 5: headers_height = header_heigth
RAILS_ROOT: /usr/share/redmine Application Trace | Framework Trace | Full Trace
vendor/plugins/Redmine-Wordkload-Dnoise/redmine_dnoise_workload/app/views/work_load/show.html.erb:2 vendor/rails/actionpack/lib/action_view/renderable.rb:39:in send' vendor/rails/actionpack/lib/action_view/renderable.rb:39:inrender' vendor/rails/actionpack/lib/action_view/template.rb:73:in render_template' vendor/rails/actionpack/lib/action_view/base.rb:256:inrender' vendor/rails/actionpack/lib/action_view/base.rb:369:in _render_with_layout' vendor/rails/actionpack/lib/action_view/base.rb:254:inrender' vendor/rails/actionpack/lib/action_controller/base.rb:1177:in render_for_file' vendor/rails/actionpack/lib/action_controller/base.rb:896:inrender_without_benchmark' vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:in render' vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:8:inrealtime' vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:in render' vendor/rails/actionpack/lib/action_controller/base.rb:868:inrender_without_benchmark' vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:in render' vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:8:inrealtime' vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:in render' vendor/rails/actionpack/lib/action_controller/base.rb:1251:indefault_render' vendor/rails/actionpack/lib/action_controller/base.rb:1262:in perform_action_without_filters' vendor/rails/actionpack/lib/action_controller/filters.rb:617:incall_filters' vendor/rails/actionpack/lib/action_controller/filters.rb:610:in perform_action_without_benchmark' vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:inperform_action_without_rescue' /usr/lib/ruby/1.8/benchmark.rb:293:in measure' vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:inperform_action_without_rescue' vendor/rails/actionpack/lib/action_controller/rescue.rb:136:in passenger_orig_perform_action' /usr/lib/ruby/1.8/phusion_passenger/railz/request_handler.rb:65:inperform_action' vendor/rails/actionpack/lib/action_controller/base.rb:524:in send' vendor/rails/actionpack/lib/action_controller/base.rb:524:inprocess_without_filters' vendor/rails/actionpack/lib/action_controller/filters.rb:606:in process_without_session_management_support' vendor/rails/actionpack/lib/action_controller/session_management.rb:134:inprocess_without_test' vendor/rails/actionpack/lib/action_controller/test_process.rb:18:in process' vendor/rails/actionpack/lib/action_controller/base.rb:392:inprocess' vendor/rails/actionpack/lib/action_controller/dispatcher.rb:184:in handle_request' vendor/rails/actionpack/lib/action_controller/dispatcher.rb:112:indispatch_unlocked' vendor/rails/actionpack/lib/action_controller/dispatcher.rb:125:in dispatch' vendor/rails/actionpack/lib/action_controller/dispatcher.rb:124:insynchronize' vendor/rails/actionpack/lib/action_controller/dispatcher.rb:124:in dispatch' vendor/rails/actionpack/lib/action_controller/dispatcher.rb:134:indispatch_cgi' vendor/rails/actionpack/lib/action_controller/dispatcher.rb:41:in dispatch' /usr/lib/ruby/1.8/phusion_passenger/railz/request_handler.rb:50:inprocess_request' /usr/lib/ruby/1.8/phusion_passenger/abstract_request_handler.rb:207:in main_loop' /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:374:instart_request_handler' /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:332:in handle_spawn_application' /usr/lib/ruby/1.8/phusion_passenger/utils.rb:184:insafe_fork' /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:330:in handle_spawn_application' /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:insend' /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in main_loop' /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:196:instart_synchronously' /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:163:in start' /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:209:instart' /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:262:in spawn_rails_application' /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:126:inlookup_or_add' /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:256:in spawn_rails_application' /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:80:insynchronize' /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:79:in synchronize' /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:255:inspawn_rails_application' /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:154:in spawn_application' /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:287:inhandle_spawn_application' /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in __send__' /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:inmain_loop' /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:196:in `start_synchronously' /usr/lib/phusion_passenger/passenger-spawn-server:61
send' vendor/rails/actionpack/lib/action_view/renderable.rb:39:in
render_template' vendor/rails/actionpack/lib/action_view/base.rb:256:in
_render_with_layout' vendor/rails/actionpack/lib/action_view/base.rb:254:in
render_for_file' vendor/rails/actionpack/lib/action_controller/base.rb:896:in
render' vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:8:in
render' vendor/rails/actionpack/lib/action_controller/base.rb:868:in
render' vendor/rails/actionpack/lib/action_controller/base.rb:1251:in
perform_action_without_filters' vendor/rails/actionpack/lib/action_controller/filters.rb:617:in
perform_action_without_benchmark' vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in
measure' vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in
passenger_orig_perform_action' /usr/lib/ruby/1.8/phusion_passenger/railz/request_handler.rb:65:in
send' vendor/rails/actionpack/lib/action_controller/base.rb:524:in
process_without_session_management_support' vendor/rails/actionpack/lib/action_controller/session_management.rb:134:in
process' vendor/rails/actionpack/lib/action_controller/base.rb:392:in
handle_request' vendor/rails/actionpack/lib/action_controller/dispatcher.rb:112:in
dispatch' vendor/rails/actionpack/lib/action_controller/dispatcher.rb:124:in
dispatch' vendor/rails/actionpack/lib/action_controller/dispatcher.rb:134:in
dispatch' /usr/lib/ruby/1.8/phusion_passenger/railz/request_handler.rb:50:in
main_loop' /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:374:in
handle_spawn_application' /usr/lib/ruby/1.8/phusion_passenger/utils.rb:184:in
handle_spawn_application' /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in
main_loop' /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:196:in
start' /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:209:in
spawn_rails_application' /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:126:in
spawn_rails_application' /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:80:in
synchronize' /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:255:in
spawn_application' /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:287:in
__send__' /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in
Request
Parameters:
None
Show session dump Response
Headers:
{"X-Powered-By"=>"Phusion Passenger (mod_rails/mod_rack) 2.2.7", "Content-Type"=>"text/html", "cookie"=>[], "Cache-Control"=>"no-cache"}
Please help me......
We are on hollidays, we will be back next week :)
Ok i will wait,
NoMethodError in Work_load#show
Showing vendor/plugins/Redmine-Wordkload-Dnoise/redmine_dnoise_workload/app/views/work_load/show.html.erb where line #2 raised:
undefined method `view=' for nil:NilClass
Extracted source (around line #2):
1: <% 2: @gantt.view = self 3: subject_width = 330 4: header_heigth = 18 5: headers_height = header_heigth
RAILS_ROOT: /usr/share/redmine Application Trace | Framework Trace | Full Trace
vendor/plugins/Redmine-Wordkload-Dnoise/redmine_dnoise_workload/app/views/work_load/show.html.erb:2 vendor/rails/actionpack/lib/action_view/renderable.rb:39:in
send' vendor/rails/actionpack/lib/action_view/renderable.rb:39:in
render' vendor/rails/actionpack/lib/action_view/template.rb:73:inrender_template' vendor/rails/actionpack/lib/action_view/base.rb:256:in
render' vendor/rails/actionpack/lib/action_view/base.rb:369:in_render_with_layout' vendor/rails/actionpack/lib/action_view/base.rb:254:in
render' vendor/rails/actionpack/lib/action_controller/base.rb:1177:inrender_for_file' vendor/rails/actionpack/lib/action_controller/base.rb:896:in
render_without_benchmark' vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:inrender' vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:8:in
realtime' vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:inrender' vendor/rails/actionpack/lib/action_controller/base.rb:868:in
render_without_benchmark' vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:inrender' vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:8:in
realtime' vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:inrender' vendor/rails/actionpack/lib/action_controller/base.rb:1251:in
default_render' vendor/rails/actionpack/lib/action_controller/base.rb:1262:inperform_action_without_filters' vendor/rails/actionpack/lib/action_controller/filters.rb:617:in
call_filters' vendor/rails/actionpack/lib/action_controller/filters.rb:610:inperform_action_without_benchmark' vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in
perform_action_without_rescue' /usr/lib/ruby/1.8/benchmark.rb:293:inmeasure' vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in
perform_action_without_rescue' vendor/rails/actionpack/lib/action_controller/rescue.rb:136:inpassenger_orig_perform_action' /usr/lib/ruby/1.8/phusion_passenger/railz/request_handler.rb:65:in
perform_action' vendor/rails/actionpack/lib/action_controller/base.rb:524:insend' vendor/rails/actionpack/lib/action_controller/base.rb:524:in
process_without_filters' vendor/rails/actionpack/lib/action_controller/filters.rb:606:inprocess_without_session_management_support' vendor/rails/actionpack/lib/action_controller/session_management.rb:134:in
process_without_test' vendor/rails/actionpack/lib/action_controller/test_process.rb:18:inprocess' vendor/rails/actionpack/lib/action_controller/base.rb:392:in
process' vendor/rails/actionpack/lib/action_controller/dispatcher.rb:184:inhandle_request' vendor/rails/actionpack/lib/action_controller/dispatcher.rb:112:in
dispatch_unlocked' vendor/rails/actionpack/lib/action_controller/dispatcher.rb:125:indispatch' vendor/rails/actionpack/lib/action_controller/dispatcher.rb:124:in
synchronize' vendor/rails/actionpack/lib/action_controller/dispatcher.rb:124:indispatch' vendor/rails/actionpack/lib/action_controller/dispatcher.rb:134:in
dispatch_cgi' vendor/rails/actionpack/lib/action_controller/dispatcher.rb:41:indispatch' /usr/lib/ruby/1.8/phusion_passenger/railz/request_handler.rb:50:in
process_request' /usr/lib/ruby/1.8/phusion_passenger/abstract_request_handler.rb:207:inmain_loop' /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:374:in
start_request_handler' /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:332:inhandle_spawn_application' /usr/lib/ruby/1.8/phusion_passenger/utils.rb:184:in
safe_fork' /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:330:inhandle_spawn_application' /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in
send' /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:inmain_loop' /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:196:in
start_synchronously' /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:163:instart' /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:209:in
start' /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:262:inspawn_rails_application' /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:126:in
lookup_or_add' /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:256:inspawn_rails_application' /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:80:in
synchronize' /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:79:insynchronize' /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:255:in
spawn_rails_application' /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:154:inspawn_application' /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:287:in
handle_spawn_application' /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in__send__' /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in
main_loop' /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:196:in `start_synchronously' /usr/lib/phusion_passenger/passenger-spawn-server:61Request
Parameters:
None
Show session dump Response
Headers:
{"X-Powered-By"=>"Phusion Passenger (mod_rails/mod_rack) 2.2.7", "Content-Type"=>"text/html", "cookie"=>[], "Cache-Control"=>"no-cache"}
Please help me......