Reveal in Project errors when focussed tab is a REPL
Reported by delisa | October 27th, 2010 @ 05:22 PM
Stack trace:
Error in command Redcar::Project::RevealInProjectCommand
NoMethodError: undefined method `path' for #<Redcar::REPL::GroovyMirror:0x60bd13>
/boutique/Code/redcar/plugins/project/lib/project/commands.rb:252:in `execute'
/boutique/Code/redcar/plugins/application/lib/application/command/executor.rb:29:in `execute'
/boutique/Code/redcar/plugins/application/lib/application/command.rb:83:in `run'
/boutique/Code/redcar/plugins/project/lib/project.rb:115:in `notebook_added'
/boutique/Code/redcar/plugins/core/lib/core/observable.rb:103:in `call'
/boutique/Code/redcar/plugins/core/lib/core/observable.rb:103:in `observable_run_blocks'
/boutique/Code/redcar/plugins/core/lib/core/observable.rb:103:in `map'
/boutique/Code/redcar/plugins/core/lib/core/observable.rb:103:in `observable_run_blocks'
/boutique/Code/redcar/plugins/core/lib/core/observable.rb:96:in `notify_listeners'
/boutique/Code/redcar/plugins/application/lib/application/notebook.rb:63:in `select_tab!'
/boutique/Code/redcar/plugins/application_swt/lib/application_swt/notebook.rb:108:in `model_event_focus_tab'
/boutique/Code/redcar/plugins/application_swt/lib/application_swt/tab.rb:76:in `focus'
/boutique/Code/redcar/plugins/edit_view_swt/lib/edit_view_swt/edit_tab.rb:16:in `focus'
/boutique/Code/redcar/plugins/application_swt/lib/application_swt/tab.rb:69:in `to_proc'
/boutique/Code/redcar/plugins/core/lib/core/observable.rb:103:in `call'
/boutique/Code/redcar/plugins/core/lib/core/observable.rb:103:in `observable_run_blocks'
/boutique/Code/redcar/plugins/core/lib/core/observable.rb:103:in `map'
/boutique/Code/redcar/plugins/core/lib/core/observable.rb:103:in `observable_run_blocks'
/boutique/Code/redcar/plugins/core/lib/core/observable.rb:96:in `notify_listeners'
/boutique/Code/redcar/plugins/edit_view/lib/edit_view/edit_tab.rb:33:in `edit_view_focussed'
/boutique/Code/redcar/plugins/edit_view/lib/edit_view/edit_tab.rb:26:in `to_proc'
/boutique/Code/redcar/plugins/core/lib/core/observable.rb:103:in `call'
/boutique/Code/redcar/plugins/core/lib/core/observable.rb:103:in `observable_run_blocks'
/boutique/Code/redcar/plugins/core/lib/core/observable.rb:103:in `map'
/boutique/Code/redcar/plugins/core/lib/core/observable.rb:103:in `observable_run_blocks'
/boutique/Code/redcar/plugins/core/lib/core/observable.rb:96:in `notify_listeners'
/boutique/Code/redcar/plugins/edit_view/lib/edit_view.rb:425:in `focus'
/boutique/Code/redcar/plugins/edit_view_swt/lib/edit_view_swt.rb:405:in `swt_focus_gained'
/boutique/Code/redcar/plugins/edit_view_swt/lib/edit_view_swt.rb:529:in `focusGained'
/boutique/Code/redcar/plugins/swt/lib/swt/event_loop.rb:13:in `start'
/boutique/Code/redcar/plugins/core/lib/core/gui.rb:39:in `start'
/boutique/Code/redcar/lib/redcar.rb:180:in `pump'
/boutique/Code/redcar/bin/redcar:30
Comments and changes to this ticket
-
JWollert October 30th, 2010 @ 05:26 PM
- State changed from new to resolved
Both test and fix are upstream.
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.
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.