Issue not displayed
Added by Bharani Prasad V S about 14 years ago
NoMethodError in Issues#index Showing app/views/issues/_list.rhtml where line #16 raised: undefined method `-' for nil:NilClass Extracted source (around line #16): 13: </tr></thead> 14: <% previous_group = false %> 15: <tbody> 16: <% issue_list(issues) do |issue, level| -%> 17: <% if @query.grouped? && (group = @query.group_by_column.value(issue)) != previous_group %> 18: <% reset_cycle %> 19: <tr class="group open"> Trace of template inclusion: app/views/issues/index.rhtml RAILS_ROOT: /home/redmine1/redmine Application Trace | Framework Trace | Full Trace /home/redmine1/redmine/vendor/plugins/awesome_nested_set/lib/awesome_nested_set.rb:259:in `leaf?' /home/redmine1/redmine/app/helpers/issues_helper.rb:28:in `issue_list' /home/redmine1/redmine/app/helpers/issues_helper.rb:23:in `each' /home/redmine1/redmine/app/helpers/issues_helper.rb:23:in `issue_list' /home/redmine1/redmine/app/views/issues/_list.rhtml:16:in `_run_rhtml_app47views47issues47_list46rhtml_locals_issues_list_object_query' /home/redmine1/redmine/app/views/issues/_list.rhtml:1:in `_run_rhtml_app47views47issues47_list46rhtml_locals_issues_list_object_query' /home/redmine1/redmine/app/views/issues/index.rhtml:62:in `_run_rhtml_app47views47issues47index46rhtml' /home/redmine1/redmine/app/controllers/issues_controller.rb:84:in `index' /home/redmine1/redmine/app/controllers/issues_controller.rb:83:in `index' /home/redmine1/redmine/vendor/plugins/awesome_nested_set/lib/awesome_nested_set.rb:259:in `leaf?' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_view/helpers/capture_helper.rb:36:in `call' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_view/helpers/capture_helper.rb:36:in `capture' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_view/helpers/capture_helper.rb:129:in `with_output_buffer' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_view/helpers/capture_helper.rb:36:in `capture' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_view/helpers/form_tag_helper.rb:466:in `form_tag_in_block' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_view/helpers/form_tag_helper.rb:39:in `form_tag' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_view/renderable.rb:34:in `send' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_view/renderable.rb:34:in `render' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_view/base.rb:306:in `with_template' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_view/renderable.rb:30:in `render' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_view/renderable_partial.rb:20:in `render' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:30:in `benchmark' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_view/renderable_partial.rb:19:in `render' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_view/template.rb:205:in `render_template' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_view/renderable_partial.rb:44:in `render_partial' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_view/partials.rb:184:in `render_partial' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_view/base.rb:267:in `render' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_view/renderable.rb:34:in `send' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_view/renderable.rb:34:in `render' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_view/base.rb:306:in `with_template' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_view/renderable.rb:30:in `render' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_view/template.rb:205:in `render_template' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_view/base.rb:265:in `render' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_view/base.rb:348:in `_render_with_layout' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_view/base.rb:262:in `render' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_controller/base.rb:1250:in `render_for_file' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_controller/base.rb:945:in `render_without_benchmark' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:in `render' /home/redmine1/redmine/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `ms' /home/redmine1/redmine/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:10:in `realtime' /home/redmine1/redmine/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `ms' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:in `render' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_controller/mime_responds.rb:135:in `call' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_controller/mime_responds.rb:135:in `custom' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_controller/mime_responds.rb:179:in `call' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_controller/mime_responds.rb:179:in `respond' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_controller/mime_responds.rb:173:in `each' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_controller/mime_responds.rb:173:in `respond' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_controller/mime_responds.rb:107:in `respond_to' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_controller/base.rb:1331:in `send' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_controller/base.rb:1331:in `perform_action_without_filters' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_controller/filters.rb:617:in `call_filters' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' /home/redmine1/redmine/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `ms' /home/redmine1/redmine/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:10:in `realtime' /home/redmine1/redmine/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `ms' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_controller/rescue.rb:160:in `perform_action_without_flash' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_controller/flash.rb:146:in `perform_action' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_controller/base.rb:532:in `send' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_controller/base.rb:532:in `process_without_filters' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_controller/filters.rb:606:in `process' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_controller/base.rb:391:in `process' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_controller/base.rb:386:in `call' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_controller/routing/route_set.rb:437:in `call' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:87:in `dispatch' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:121:in `_call' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:130:in `build_middleware_stack' /home/redmine1/redmine/vendor/rails/activerecord/lib/active_record/query_cache.rb:29:in `call' /home/redmine1/redmine/vendor/rails/activerecord/lib/active_record/query_cache.rb:29:in `call' /home/redmine1/redmine/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache' /home/redmine1/redmine/vendor/rails/activerecord/lib/active_record/query_cache.rb:9:in `cache' /home/redmine1/redmine/vendor/rails/activerecord/lib/active_record/query_cache.rb:28:in `call' /home/redmine1/redmine/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_controller/string_coercion.rb:25:in `call' /usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/head.rb:9:in `call' /usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/methodoverride.rb:24:in `call' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_controller/params_parser.rb:15:in `call' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_controller/session/cookie_store.rb:93:in `call' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_controller/failsafe.rb:26:in `call' /usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in `call' /usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in `synchronize' /usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in `call' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:106:in `call' /home/redmine1/redmine/vendor/rails/railties/lib/rails/rack/static.rb:31:in `call' /usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:46:in `call' /usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:40:in `each' /usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:40:in `call' /home/redmine1/redmine/vendor/rails/railties/lib/rails/rack/log_tailer.rb:17:in `call' /usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/content_length.rb:13:in `call' /usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/handler/webrick.rb:50:in `service' /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' /usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/handler/webrick.rb:14:in `run' /home/redmine1/redmine/vendor/rails/railties/lib/commands/server.rb:111 /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' script/server:3 /home/redmine1/redmine/vendor/plugins/awesome_nested_set/lib/awesome_nested_set.rb:259:in `leaf?' /home/redmine1/redmine/app/helpers/issues_helper.rb:28:in `issue_list' /home/redmine1/redmine/app/helpers/issues_helper.rb:23:in `each' /home/redmine1/redmine/app/helpers/issues_helper.rb:23:in `issue_list' /home/redmine1/redmine/app/views/issues/_list.rhtml:16:in `_run_rhtml_app47views47issues47_list46rhtml_locals_issues_list_object_query' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_view/helpers/capture_helper.rb:36:in `call' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_view/helpers/capture_helper.rb:36:in `capture' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_view/helpers/capture_helper.rb:129:in `with_output_buffer' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_view/helpers/capture_helper.rb:36:in `capture' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_view/helpers/form_tag_helper.rb:466:in `form_tag_in_block' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_view/helpers/form_tag_helper.rb:39:in `form_tag' /home/redmine1/redmine/app/views/issues/_list.rhtml:1:in `_run_rhtml_app47views47issues47_list46rhtml_locals_issues_list_object_query' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_view/renderable.rb:34:in `send' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_view/renderable.rb:34:in `render' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_view/base.rb:306:in `with_template' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_view/renderable.rb:30:in `render' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_view/renderable_partial.rb:20:in `render' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:30:in `benchmark' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_view/renderable_partial.rb:19:in `render' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_view/template.rb:205:in `render_template' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_view/renderable_partial.rb:44:in `render_partial' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_view/partials.rb:184:in `render_partial' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_view/base.rb:267:in `render' /home/redmine1/redmine/app/views/issues/index.rhtml:62:in `_run_rhtml_app47views47issues47index46rhtml' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_view/renderable.rb:34:in `send' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_view/renderable.rb:34:in `render' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_view/base.rb:306:in `with_template' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_view/renderable.rb:30:in `render' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_view/template.rb:205:in `render_template' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_view/base.rb:265:in `render' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_view/base.rb:348:in `_render_with_layout' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_view/base.rb:262:in `render' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_controller/base.rb:1250:in `render_for_file' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_controller/base.rb:945:in `render_without_benchmark' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:in `render' /home/redmine1/redmine/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `ms' /home/redmine1/redmine/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:10:in `realtime' /home/redmine1/redmine/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `ms' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:in `render' /home/redmine1/redmine/app/controllers/issues_controller.rb:84:in `index' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_controller/mime_responds.rb:135:in `call' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_controller/mime_responds.rb:135:in `custom' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_controller/mime_responds.rb:179:in `call' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_controller/mime_responds.rb:179:in `respond' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_controller/mime_responds.rb:173:in `each' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_controller/mime_responds.rb:173:in `respond' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_controller/mime_responds.rb:107:in `respond_to' /home/redmine1/redmine/app/controllers/issues_controller.rb:83:in `index' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_controller/base.rb:1331:in `send' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_controller/base.rb:1331:in `perform_action_without_filters' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_controller/filters.rb:617:in `call_filters' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' /home/redmine1/redmine/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `ms' /home/redmine1/redmine/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:10:in `realtime' /home/redmine1/redmine/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `ms' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_controller/rescue.rb:160:in `perform_action_without_flash' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_controller/flash.rb:146:in `perform_action' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_controller/base.rb:532:in `send' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_controller/base.rb:532:in `process_without_filters' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_controller/filters.rb:606:in `process' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_controller/base.rb:391:in `process' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_controller/base.rb:386:in `call' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_controller/routing/route_set.rb:437:in `call' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:87:in `dispatch' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:121:in `_call' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:130:in `build_middleware_stack' /home/redmine1/redmine/vendor/rails/activerecord/lib/active_record/query_cache.rb:29:in `call' /home/redmine1/redmine/vendor/rails/activerecord/lib/active_record/query_cache.rb:29:in `call' /home/redmine1/redmine/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache' /home/redmine1/redmine/vendor/rails/activerecord/lib/active_record/query_cache.rb:9:in `cache' /home/redmine1/redmine/vendor/rails/activerecord/lib/active_record/query_cache.rb:28:in `call' /home/redmine1/redmine/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_controller/string_coercion.rb:25:in `call' /usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/head.rb:9:in `call' /usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/methodoverride.rb:24:in `call' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_controller/params_parser.rb:15:in `call' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_controller/session/cookie_store.rb:93:in `call' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_controller/failsafe.rb:26:in `call' /usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in `call' /usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in `synchronize' /usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in `call' /home/redmine1/redmine/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:106:in `call' /home/redmine1/redmine/vendor/rails/railties/lib/rails/rack/static.rb:31:in `call' /usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:46:in `call' /usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:40:in `each' /usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:40:in `call' /home/redmine1/redmine/vendor/rails/railties/lib/rails/rack/log_tailer.rb:17:in `call' /usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/content_length.rb:13:in `call' /usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/handler/webrick.rb:50:in `service' /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' /usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/handler/webrick.rb:14:in `run' /home/redmine1/redmine/vendor/rails/railties/lib/commands/server.rb:111 /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' script/server:3 Request Parameters: {"project_id"=>"lavn"} Show session dump --- Response Headers: {"Content-Type"=>"text/html", "Cache-Control"=>"no-cache"}
I am getting this page error what would be the problem