Content
Problem with Backlog plug-ins
Added by Lucas Pereira over 10 years ago
Hi,
This is my dump.
Thanks yours help.
Regards
Lucas Pereira
NoMethodError in Rb_master_backlogs#index
Showing /var/lib/gems/2.1.0/bundler/gems/openproject-backlogs-042fdcf86150/app/views/rb_stories/_story.html.erb where line #44 raised:
undefined method `name’ for nil:NilClass
Extracted source (around line #44):
41:
42: <div class=“story_points editable” fieldname=“story_points” fieldorder=“4” field_id=<%= story.id ><= story_points_or_empty(story) %>
43: <div class=“status_id editable” fieldtype=“select” fieldname=“status_id” fieldorder=“3” field_id=<%= story.id %>>
44:
<%= status_label_or_default(story) %>
45:
<%= status_id_or_default(story) %>
46:
47: <div class=“type_id editable” fieldtype=“select” fieldname=“type_id” fieldorder=“1” field_id=<%= story.id %>>
Trace of template inclusion: /var/lib/gems/2.1.0/bundler/gems/openproject-backlogs-042fdcf86150/app/views/rb_stories/_helpers.html.erb, /var/lib/gems/2.1.0/bundler/gems/openproject-backlogs-042fdcf86150/app/views/rb_master_backlogs/index.html.erb
Rails.root: /var/www/openproject
Application Trace | Framework Trace | Full Trace
/var/lib/gems/2.1.0/bundler/gems/openproject-backlogs-042fdcf86150/app/helpers/rb_common_helper.rb:139:in `status_label_or_default’
/var/lib/gems/2.1.0/bundler/gems/openproject-backlogs-042fdcf86150/app/views/rb_stories/_story.html.erb:44:in `var_lib_gemsbundler_gems_openproject_backlogsfdcfapp_views_rb_storiesstory_html_erb__4041261315375112107_97870100’
actionpack (3.2.17) lib/action_view/template.rb:145:in `block in render’
activesupport (3.2.17) lib/active_support/notifications.rb:125:in `instrument’
actionpack (3.2.17) lib/action_view/template.rb:143:in `render’
actionpack (3.2.17) lib/action_view/renderer/partial_renderer.rb:265:in `render_partial’
actionpack (3.2.17) lib/action_view/renderer/partial_renderer.rb:238:in `block in render’
actionpack (3.2.17) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument’
activesupport (3.2.17) lib/active_support/notifications.rb:123:in `block in instrument’
activesupport (3.2.17) lib/active_support/notifications/instrumenter.rb:20:in `instrument’
activesupport (3.2.17) lib/active_support/notifications.rb:123:in `instrument’
actionpack (3.2.17) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument’
actionpack (3.2.17) lib/action_view/renderer/partial_renderer.rb:237:in `render’
actionpack (3.2.17) lib/action_view/renderer/renderer.rb:41:in `render_partial’
actionpack (3.2.17) lib/action_view/renderer/renderer.rb:15:in `render’
actionpack (3.2.17) lib/action_view/helpers/rendering_helper.rb:24:in `render’
prototype-rails (3.2.1) lib/prototype-rails/rendering.rb:8:in `render_with_update’
/var/lib/gems/2.1.0/bundler/gems/openproject-backlogs-042fdcf86150/app/views/rb_stories/_helpers.html.erb:80:in `var_lib_gemsbundler_gems_openproject_backlogsfdcfapp_views_rb_storieshelpers_html_erb_1364154114628669244_74930960’
actionpack (3.2.17) lib/action_view/template.rb:145:in `block in render’
activesupport (3.2.17) lib/active_support/notifications.rb:125:in `instrument’
actionpack (3.2.17) lib/action_view/template.rb:143:in `render’
actionpack (3.2.17) lib/action_view/renderer/partial_renderer.rb:265:in `render_partial’
actionpack (3.2.17) lib/action_view/renderer/partial_renderer.rb:238:in `block in render’
actionpack (3.2.17) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument’
activesupport (3.2.17) lib/active_support/notifications.rb:123:in `block in instrument’
activesupport (3.2.17) lib/active_support/notifications/instrumenter.rb:20:in `instrument’
activesupport (3.2.17) lib/active_support/notifications.rb:123:in `instrument’
actionpack (3.2.17) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument’
actionpack (3.2.17) lib/action_view/renderer/partial_renderer.rb:237:in `render’
actionpack (3.2.17) lib/action_view/renderer/renderer.rb:41:in `render_partial’
actionpack (3.2.17) lib/action_view/renderer/renderer.rb:15:in `render’
actionpack (3.2.17) lib/action_view/helpers/rendering_helper.rb:24:in `render’
prototype-rails (3.2.1) lib/prototype-rails/rendering.rb:8:in `render_with_update’
/var/lib/gems/2.1.0/bundler/gems/openproject-backlogs-042fdcf86150/app/views/rb_master_backlogs/index.html.erb:61:in `var_lib_gemsbundler_gems_openproject_backlogsfdcfapp_views_rb_master_backlogs_index_html_erb__2530629094722342002_91082880’
actionpack (3.2.17) lib/action_view/template.rb:145:in `block in render’
activesupport (3.2.17) lib/active_support/notifications.rb:125:in `instrument’
actionpack (3.2.17) lib/action_view/template.rb:143:in `render’
actionpack (3.2.17) lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template’
actionpack (3.2.17) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument’
activesupport (3.2.17) lib/active_support/notifications.rb:123:in `block in instrument’
activesupport (3.2.17) lib/active_support/notifications/instrumenter.rb:20:in `instrument’
activesupport (3.2.17) lib/active_support/notifications.rb:123:in `instrument’
actionpack (3.2.17) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument’
actionpack (3.2.17) lib/action_view/renderer/template_renderer.rb:46:in `block in render_template’
actionpack (3.2.17) lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout’
actionpack (3.2.17) lib/action_view/renderer/template_renderer.rb:45:in `render_template’
actionpack (3.2.17) lib/action_view/renderer/template_renderer.rb:18:in `render’
actionpack (3.2.17) lib/action_view/renderer/renderer.rb:36:in `render_template’
actionpack (3.2.17) lib/action_view/renderer/renderer.rb:17:in `render’
actionpack (3.2.17) lib/abstract_controller/rendering.rb:110:in `_render_template’
actionpack (3.2.17) lib/action_controller/metal/streaming.rb:225:in `_render_template’
actionpack (3.2.17) lib/abstract_controller/rendering.rb:103:in `render_to_body’
actionpack (3.2.17) lib/action_controller/metal/renderers.rb:28:in `render_to_body’
actionpack (3.2.17) lib/action_controller/metal/compatibility.rb:50:in `render_to_body’
actionpack (3.2.17) lib/abstract_controller/rendering.rb:88:in `render’
actionpack (3.2.17) lib/action_controller/metal/rendering.rb:16:in `render’
actionpack (3.2.17) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render’
activesupport (3.2.17) lib/active_support/core_ext/benchmark.rb:5:in `block in ms’
/usr/lib/ruby/2.1.0/benchmark.rb:294:in `realtime’
activesupport (3.2.17) lib/active_support/core_ext/benchmark.rb:5:in `ms’
actionpack (3.2.17) lib/action_controller/metal/instrumentation.rb:40:in `block in render’
actionpack (3.2.17) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime’
activerecord (3.2.17) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime’
actionpack (3.2.17) lib/action_controller/metal/instrumentation.rb:39:in `render’
actionpack (3.2.17) lib/action_controller/metal/implicit_render.rb:10:in `default_render’
actionpack (3.2.17) lib/action_controller/metal/implicit_render.rb:5:in `send_action’
actionpack (3.2.17) lib/abstract_controller/base.rb:167:in `process_action’
actionpack (3.2.17) lib/action_controller/metal/rendering.rb:10:in `process_action’
actionpack (3.2.17) lib/abstract_controller/callbacks.rb:18:in `block in process_action’
activesupport (3.2.17) lib/active_support/callbacks.rb:557:in `_run_1510615634947865491process_action2287661998745535173_callbacks’
activesupport (3.2.17) lib/active_support/callbacks.rb:405:in `__run_callback’
activesupport (3.2.17) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks’
activesupport (3.2.17) lib/active_support/callbacks.rb:81:in `run_callbacks’
actionpack (3.2.17) lib/abstract_controller/callbacks.rb:17:in `process_action’
actionpack (3.2.17) lib/action_controller/metal/rescue.rb:29:in `process_action’
actionpack (3.2.17) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action’
activesupport (3.2.17) lib/active_support/notifications.rb:123:in `block in instrument’
activesupport (3.2.17) lib/active_support/notifications/instrumenter.rb:20:in `instrument’
activesupport (3.2.17) lib/active_support/notifications.rb:123:in `instrument’
actionpack (3.2.17) lib/action_controller/metal/instrumentation.rb:29:in `process_action’
actionpack (3.2.17) lib/action_controller/metal/params_wrapper.rb:207:in `process_action’
activerecord (3.2.17) lib/active_record/railties/controller_runtime.rb:18:in `process_action’
actionpack (3.2.17) lib/abstract_controller/base.rb:121:in `process’
actionpack (3.2.17) lib/abstract_controller/rendering.rb:45:in `process’
actionpack (3.2.17) lib/action_controller/metal.rb:203:in `dispatch’
actionpack (3.2.17) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch’
actionpack (3.2.17) lib/action_controller/metal.rb:246:in `block in action’
actionpack (3.2.17) lib/action_dispatch/routing/route_set.rb:73:in `call’
actionpack (3.2.17) lib/action_dispatch/routing/route_set.rb:73:in `dispatch’
actionpack (3.2.17) lib/action_dispatch/routing/route_set.rb:36:in `call’
journey (1.0.4) lib/journey/router.rb:68:in `block in call’
journey (1.0.4) lib/journey/router.rb:56:in `each’
journey (1.0.4) lib/journey/router.rb:56:in `call’
actionpack (3.2.17) lib/action_dispatch/routing/route_set.rb:608:in `call’
request_store (1.0.5) lib/request_store/middleware.rb:9:in `call’
/var/lib/gems/2.1.0/bundler/gems/i18n-js-8801f8d17ef9/lib/i18n/js/middleware.rb:11:in `call’
actionpack (3.2.17) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call’
rack (1.4.5) lib/rack/etag.rb:23:in `call’
rack (1.4.5) lib/rack/conditionalget.rb:25:in `call’
actionpack (3.2.17) lib/action_dispatch/middleware/head.rb:14:in `call’
actionpack (3.2.17) lib/action_dispatch/middleware/params_parser.rb:21:in `call’
actionpack (3.2.17) lib/action_dispatch/middleware/flash.rb:242:in `call’
rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context’
rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call’
actionpack (3.2.17) lib/action_dispatch/middleware/cookies.rb:341:in `call’
activerecord (3.2.17) lib/active_record/query_cache.rb:64:in `call’
activerecord (3.2.17) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call’
actionpack (3.2.17) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call’
activesupport (3.2.17) lib/active_support/callbacks.rb:405:in `_run_3624215364670986269call1984592629349312249_callbacks’
activesupport (3.2.17) lib/active_support/callbacks.rb:405:in `__run_callback’
activesupport (3.2.17) lib/active_support/callbacks.rb:385:in `_run_call_callbacks’
activesupport (3.2.17) lib/active_support/callbacks.rb:81:in `run_callbacks’
actionpack (3.2.17) lib/action_dispatch/middleware/callbacks.rb:27:in `call’
rails-dev-tweaks (0.6.1) lib/rails_dev_tweaks/granular_autoload/middleware.rb:34:in `call’
actionpack (3.2.17) lib/action_dispatch/middleware/remote_ip.rb:31:in `call’
actionpack (3.2.17) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call’
actionpack (3.2.17) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call’
railties (3.2.17) lib/rails/rack/logger.rb:32:in `call_app’
railties (3.2.17) lib/rails/rack/logger.rb:16:in `block in call’
activesupport (3.2.17) lib/active_support/tagged_logging.rb:22:in `tagged’
railties (3.2.17) lib/rails/rack/logger.rb:16:in `call’
actionpack (3.2.17) lib/action_dispatch/middleware/request_id.rb:22:in `call’
rack (1.4.5) lib/rack/methodoverride.rb:21:in `call’
rack (1.4.5) lib/rack/runtime.rb:17:in `call’
activesupport (3.2.17) lib/active_support/cache/strategy/local_cache.rb:72:in `call’
rack (1.4.5) lib/rack/lock.rb:15:in `call’
actionpack (3.2.17) lib/action_dispatch/middleware/static.rb:63:in `call’
railties (3.2.17) lib/rails/engine.rb:484:in `call’
railties (3.2.17) lib/rails/application.rb:231:in `call’
railties (3.2.17) lib/rails/railtie/configurable.rb:30:in `method_missing’
/var/lib/gems/2.1.0/bundler/gems/rack-protection-5a7d1bd2f05c/lib/rack/protection/frame_options.rb:31:in `call’
/var/lib/gems/2.1.0/bundler/gems/rack-protection-5a7d1bd2f05c/lib/rack/protection/json_csrf.rb:18:in `call’
rack (1.4.5) lib/rack/content_length.rb:14:in `call’
thin (1.5.1) lib/thin/connection.rb:81:in `block in pre_process’
thin (1.5.1) lib/thin/connection.rb:79:in `catch’
thin (1.5.1) lib/thin/connection.rb:79:in `pre_process’
thin (1.5.1) lib/thin/connection.rb:54:in `process’
thin (1.5.1) lib/thin/connection.rb:39:in `receive_data’
eventmachine (1.0.3) lib/eventmachine.rb:187:in `run_machine’
eventmachine (1.0.3) lib/eventmachine.rb:187:in `run’
thin (1.5.1) lib/thin/backends/base.rb:63:in `start’
thin (1.5.1) lib/thin/server.rb:159:in `start’
rack (1.4.5) lib/rack/handler/thin.rb:13:in `run’
rack (1.4.5) lib/rack/server.rb:268:in `start’
railties (3.2.17) lib/rails/commands/server.rb:70:in `start’
railties (3.2.17) lib/rails/commands.rb:55:in `block in <top (required)>’
railties (3.2.17) lib/rails/commands.rb:50:in `tap’
railties (3.2.17) lib/rails/commands.rb:50:in `<top (required)>’
script/rails:6:in `require’
script/rails:6:in `
’
Request
Parameters:
{“project_id”=>“aker-firewall-6-8”}
Show session dump
Show env dump
Response
Headers:
None
—
Até mais,
Lucas Pereira
http://testelabs.blogspot.com/
Replies (2)
Hi, guys
I installed The last version in Debian 7.4 and this problem didn’t happen. MY guess!
thanks
Lucas Pereira
Actually i found that if u don’t create the work packages, this problem will happen. it’s related to the work package, so u should first create the work package first!