#256 open
Kieran P

Using various menu options without an active document results in two errors

Reported by Kieran P | July 17th, 2010 @ 05:39 AM

OS: Mac Snow Leopard 10.6.4

Close all project windows and files, but keep Redcar open. Then try any of the following menu options will result in one, or both of the errors below. The workaround is to use File > New Window first, but ideally, if a window isn't open, it should make a new one by default.

  • File > New
  • Plugins > Plugin Manager
  • Help > About
  • Help > New In This Version

The errors:

Error in command Redcar::Top::NewCommand
NoMethodError: undefined method `new_tab' for nil:NilClass
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/redcar-0.3.8/plugins/redcar/redcar.rb:61:in `execute'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/redcar-0.3.8/plugins/application/lib/application/command/executor.rb:22:in `execute'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/redcar-0.3.8/plugins/application/lib/application/command.rb:79:in `run'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/redcar-0.3.8/plugins/redcar/redcar.rb:203:in `execute'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/redcar-0.3.8/plugins/application/lib/application/command/executor.rb:22:in `execute'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/redcar-0.3.8/plugins/application/lib/application/command.rb:79:in `run'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/redcar-0.3.8/plugins/application/lib/application/menu/item.rb:26:in `selected'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/redcar-0.3.8/plugins/application_swt/lib/application_swt/menu.rb:117:in `widgetSelected'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/redcar-0.3.8/plugins/application_swt/lib/application_swt/event_loop.rb:14:in `start'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/redcar-0.3.8/plugins/core/lib/core/gui.rb:39:in `start'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/redcar-0.3.8/lib/redcar.rb:115:in `pump'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/redcar-0.3.8/lib/redcar/../../bin/redcar:24
Error in command Redcar::Top::AboutCommand
NoMethodError: undefined method `document' for nil:NilClass
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/redcar-0.3.8/plugins/redcar/redcar.rb:204:in `execute'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/redcar-0.3.8/plugins/application/lib/application/command/executor.rb:22:in `execute'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/redcar-0.3.8/plugins/application/lib/application/command.rb:79:in `run'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/redcar-0.3.8/plugins/application/lib/application/menu/item.rb:26:in `selected'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/redcar-0.3.8/plugins/application_swt/lib/application_swt/menu.rb:117:in `widgetSelected'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/redcar-0.3.8/plugins/application_swt/lib/application_swt/event_loop.rb:14:in `start'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/redcar-0.3.8/plugins/core/lib/core/gui.rb:39:in `start'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/redcar-0.3.8/lib/redcar.rb:115:in `pump'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/redcar-0.3.8/lib/redcar/../../bin/redcar:24

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

A programmer's text editor for Gnome.

People watching this ticket

Pages