Project

General

Profile

Error #644

NoMethodError on Redmine 1.3.0 and Adv Roadmap 0.5.1

Added by Lams Yi almost 13 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Issues
Start date:
Due date:
% Done:

0%

Estimated time:
Source:
Development
Detected on version:
Redmine version:
Redmine 1.3.0
Milestones:

Description

My system: Redmine 1.3.0 and Adv Roadmap 0.5.1

When I created a new issue with an image, after I click submit, I got the follow error from Exception plugin. Is this a Adv Roadmap bug?

Cheers,

Lams

A NoMethodError occurred in application#show:

  undefined method `each' for nil:NilClass
  [RAILS_ROOT]/vendor/plugins/advanced_roadmap/lib/advanced_roadmap/issues_controller_patch.rb:13:in `render'

-------------------------------
Request:
-------------------------------

  * URL       : http://redmine.me.com/issues/EventLog.PNG
  * Parameters: {"id"=>"EventLog", "format"=>"PNG", "controller"=>"issues", "action"=>"show"}
  * Rails root: /home/redmine/redmine-1.3

-------------------------------
Session:
-------------------------------

  * session id: nil
  * data: nil

-------------------------------
Backtrace:
-------------------------------

  [RAILS_ROOT]/vendor/plugins/advanced_roadmap/lib/advanced_roadmap/issues_controller_patch.rb:13:in `render'
  [RAILS_ROOT]/vendor/plugins/edavis10-redmine-exception-handler-plugin/vendor/plugins/exception_notification/lib/exception_notifiable.rb:76:in `render_500'
  /usr/local/rvm/gems/ruby-1.8.7-p357/gems/actionpack-2.3.14/lib/action_controller/mime_responds.rb:135:in `call'
  /usr/local/rvm/gems/ruby-1.8.7-p357/gems/actionpack-2.3.14/lib/action_controller/mime_responds.rb:135:in `custom'
  /usr/local/rvm/gems/ruby-1.8.7-p357/gems/actionpack-2.3.14/lib/action_controller/mime_responds.rb:186:in `call'
  /usr/local/rvm/gems/ruby-1.8.7-p357/gems/actionpack-2.3.14/lib/action_controller/mime_responds.rb:186:in `respond'
  /usr/local/rvm/gems/ruby-1.8.7-p357/gems/actionpack-2.3.14/lib/action_controller/mime_responds.rb:107:in `respond_to'
  [RAILS_ROOT]/vendor/plugins/edavis10-redmine-exception-handler-plugin/vendor/plugins/exception_notification/lib/exception_notifiable.rb:74:in `render_500'
  [RAILS_ROOT]/vendor/plugins/edavis10-redmine-exception-handler-plugin/vendor/plugins/exception_notification/lib/exception_notifiable.rb:86:in `rescue_action_in_public'
  /usr/local/rvm/gems/ruby-1.8.7-p357/gems/actionpack-2.3.14/lib/action_controller/rescue.rb:154:in `rescue_action_without_handler'
  /usr/local/rvm/gems/ruby-1.8.7-p357/gems/actionpack-2.3.14/lib/action_controller/rescue.rb:74:in `rescue_action'
  /usr/local/rvm/gems/ruby-1.8.7-p357/gems/actionpack-2.3.14/lib/action_controller/rescue.rb:162:in `perform_action_without_flash'
  /usr/local/rvm/gems/ruby-1.8.7-p357/gems/actionpack-2.3.14/lib/action_controller/flash.rb:151:in `perform_action'
  /usr/local/rvm/gems/ruby-1.8.7-p357/gems/actionpack-2.3.14/lib/action_controller/base.rb:532:in `send'
  /usr/local/rvm/gems/ruby-1.8.7-p357/gems/actionpack-2.3.14/lib/action_controller/base.rb:532:in `process_without_filters'
  /usr/local/rvm/gems/ruby-1.8.7-p357/gems/actionpack-2.3.14/lib/action_controller/filters.rb:606:in `process'
  /usr/local/rvm/gems/ruby-1.8.7-p357/gems/actionpack-2.3.14/lib/action_controller/base.rb:391:in `process'
  /usr/local/rvm/gems/ruby-1.8.7-p357/gems/actionpack-2.3.14/lib/action_controller/base.rb:386:in `call'
  /usr/local/rvm/gems/ruby-1.8.7-p357/gems/actionpack-2.3.14/lib/action_controller/routing/route_set.rb:438:in `call'
  /usr/local/rvm/gems/ruby-1.8.7-p357/gems/actionpack-2.3.14/lib/action_controller/dispatcher.rb:87:in `dispatch'
  /usr/local/rvm/gems/ruby-1.8.7-p357/gems/actionpack-2.3.14/lib/action_controller/dispatcher.rb:121:in `_call'
  /usr/local/rvm/gems/ruby-1.8.7-p357/gems/actionpack-2.3.14/lib/action_controller/dispatcher.rb:130:in `build_middleware_stack'
  /usr/local/rvm/gems/ruby-1.8.7-p357/gems/activerecord-2.3.14/lib/active_record/query_cache.rb:29:in `call'
  /usr/local/rvm/gems/ruby-1.8.7-p357/gems/activerecord-2.3.14/lib/active_record/query_cache.rb:29:in `call'
  /usr/local/rvm/gems/ruby-1.8.7-p357/gems/activerecord-2.3.14/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache'
  /usr/local/rvm/gems/ruby-1.8.7-p357/gems/activerecord-2.3.14/lib/active_record/query_cache.rb:9:in `cache'
  /usr/local/rvm/gems/ruby-1.8.7-p357/gems/activerecord-2.3.14/lib/active_record/query_cache.rb:28:in `call'
  /usr/local/rvm/gems/ruby-1.8.7-p357/gems/activerecord-2.3.14/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call'
  /usr/local/rvm/gems/ruby-1.8.7-p357/gems/actionpack-2.3.14/lib/action_controller/string_coercion.rb:25:in `call'
  /usr/local/rvm/gems/ruby-1.8.7-p357/gems/rack-1.1.3/lib/rack/head.rb:9:in `call'
  /usr/local/rvm/gems/ruby-1.8.7-p357/gems/rack-1.1.3/lib/rack/methodoverride.rb:24:in `call'
  /usr/local/rvm/gems/ruby-1.8.7-p357/gems/actionpack-2.3.14/lib/action_controller/params_parser.rb:15:in `call'
  /usr/local/rvm/gems/ruby-1.8.7-p357/gems/actionpack-2.3.14/lib/action_controller/session/cookie_store.rb:99:in `call'
  /usr/local/rvm/gems/ruby-1.8.7-p357/gems/actionpack-2.3.14/lib/action_controller/failsafe.rb:26:in `call'
  /usr/local/rvm/gems/ruby-1.8.7-p357/gems/rack-1.1.3/lib/rack/lock.rb:11:in `call'
  /usr/local/rvm/gems/ruby-1.8.7-p357/gems/rack-1.1.3/lib/rack/lock.rb:11:in `synchronize'
  /usr/local/rvm/gems/ruby-1.8.7-p357/gems/rack-1.1.3/lib/rack/lock.rb:11:in `call'
  /usr/local/rvm/gems/ruby-1.8.7-p357/gems/actionpack-2.3.14/lib/action_controller/dispatcher.rb:106:in `call'
  /usr/local/lib/passenger/lib/phusion_passenger/rack/request_handler.rb:96:in `process_request'
  /usr/local/lib/passenger/lib/phusion_passenger/abstract_request_handler.rb:513:in `accept_and_process_next_request'
  /usr/local/lib/passenger/lib/phusion_passenger/abstract_request_handler.rb:274:in `main_loop'
  /usr/local/lib/passenger/lib/phusion_passenger/classic_rails/application_spawner.rb:321:in `start_request_handler'
  /usr/local/lib/passenger/lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `send'
  /usr/local/lib/passenger/lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `handle_spawn_application'
  /usr/local/lib/passenger/lib/phusion_passenger/utils.rb:479:in `safe_fork'
  /usr/local/lib/passenger/lib/phusion_passenger/classic_rails/application_spawner.rb:270:in `handle_spawn_application'
  /usr/local/lib/passenger/lib/phusion_passenger/abstract_server.rb:357:in `__send__'
  /usr/local/lib/passenger/lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'
  /usr/local/lib/passenger/lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'
  /usr/local/lib/passenger/lib/phusion_passenger/abstract_server.rb:180:in `start'
  /usr/local/lib/passenger/lib/phusion_passenger/classic_rails/application_spawner.rb:149:in `start'
  /usr/local/lib/passenger/lib/phusion_passenger/spawn_manager.rb:219:in `spawn_rails_application'
  /usr/local/lib/passenger/lib/phusion_passenger/abstract_server_collection.rb:132:in `lookup_or_add'
  /usr/local/lib/passenger/lib/phusion_passenger/spawn_manager.rb:214:in `spawn_rails_application'
  /usr/local/lib/passenger/lib/phusion_passenger/abstract_server_collection.rb:82:in `synchronize'
  /usr/local/lib/passenger/lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
  /usr/local/lib/passenger/lib/phusion_passenger/spawn_manager.rb:213:in `spawn_rails_application'
  /usr/local/lib/passenger/lib/phusion_passenger/spawn_manager.rb:132:in `spawn_application'
  /usr/local/lib/passenger/lib/phusion_passenger/spawn_manager.rb:275:in `handle_spawn_application'
  /usr/local/lib/passenger/lib/phusion_passenger/abstract_server.rb:357:in `__send__'
  /usr/local/lib/passenger/lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'
  /usr/local/lib/passenger/lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'
  /usr/local/lib/passenger/helper-scripts/passenger-spawn-server:99

No data to display

Also available in: Atom PDF