Project

General

Profile

Actions

Defect #6703

closed

Mylyn fails to submit comment b/c screenshot plugin

Added by PC Guy about 14 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Plugin Request
Target version:
-
Start date:
2010-10-20
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

Submiting a comment on a task in eclipse with redmin-mylyn plugin always fails with:

A NoMethodError occurred in issues#update:
undefined method `[]' for nil:NilClass
[RAILS_ROOT]/vendor/plugins/redmine_screenshot_paste/init.rb:49:in `attach_files'

  • Redmine r4264
  • Mylyn Connector plugin 2.7.0.stable.RC3
  • Screenshot Paste 1.1.0
    -------------------------------
    Backtrace:
    -------------------------------
    
      [RAILS_ROOT]/vendor/plugins/redmine_screenshot_paste/init.rb:49:in `attach_files'
      [RAILS_ROOT]/app/models/issue.rb:504:in `save_issue_with_child_records'
      /var/lib/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction'
      /var/lib/gems/1.8/gems/activerecord-2.3.5/lib/active_record/transactions.rb:182:in `transaction'
      [RAILS_ROOT]/app/models/issue.rb:492:in `save_issue_with_child_records'
      [RAILS_ROOT]/app/controllers/issues_controller.rb:170:in `update'
      /var/lib/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:1331:in `send'
      /var/lib/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:1331:in `perform_action_without_filters'
      /var/lib/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:617:in `call_filters'
      /var/lib/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark'
      /var/lib/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
      /var/lib/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in `ms'
      /usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'
      /var/lib/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in `ms'
      /var/lib/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
      /var/lib/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/rescue.rb:160:in `perform_action_without_flash'
      /var/lib/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/flash.rb:146:in `perform_action'
      /var/lib/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:532:in `send'
      /var/lib/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:532:in `process_without_filters'
      /var/lib/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:606:in `process'
      /var/lib/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:391:in `process'
      /var/lib/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:386:in `call'
      /var/lib/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/routing/route_set.rb:437:in `call'
      /var/lib/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:87:in `dispatch'
      /var/lib/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:121:in `_call'
      /var/lib/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:130:in `build_middleware_stack'
      /var/lib/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:29:in `call'
      /var/lib/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:29:in `call'
      /var/lib/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache'
      /var/lib/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:9:in `cache'
      /var/lib/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:28:in `call'
      /var/lib/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call'
      /var/lib/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/string_coercion.rb:25:in `call'
      /var/lib/gems/1.8/gems/rack-1.0.1/lib/rack/head.rb:9:in `call'
      /var/lib/gems/1.8/gems/rack-1.0.1/lib/rack/methodoverride.rb:24:in `call'
      /var/lib/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/params_parser.rb:15:in `call'
      /var/lib/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/session/cookie_store.rb:93:in `call'
      /var/lib/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/failsafe.rb:26:in `call'
      /var/lib/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in `call'
      /var/lib/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in `synchronize'
      /var/lib/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in `call'
      /var/lib/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:106:in `call'
      /usr/lib/ruby/1.8/phusion_passenger/rack/request_handler.rb:92:in `process_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:418:in `start_request_handler'
      /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:358:in `handle_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:354: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/ruby/1.8/phusion_passenger/abstract_server.rb:163:in `start'
      /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:213:in `start'
      /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:in `lookup_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:in `synchronize'
      /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:in `spawn_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: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:61
    

Related issues

Related to Redmine - Defect #6323: Screenshot plugin conflicts with issue creation through APIClosedJean-Philippe Lang2010-09-07

Actions
Actions

Also available in: Atom PDF