stack trace when attempt to reveal a child that doesn't exist
Reported by Roger | July 27th, 2010 @ 10:26 PM
How to reproduce:
open a file
open a project as a subdirectory that does not include said
file.
run "reveal in project" (it can't reveal it).
NoMethodError: undefined method `children' for nil:NilClass C:/ruby19/lib/ruby/gems/1.9.1/gems/redcar-0.3.8.4/plugins/project/lib/project/commands.rb:138:in `execute' C:/ruby19/lib/ruby/gems/1.9.1/gems/redcar-0.3.8.4/plugins/application/lib/application/command/executor.rb:22:in `execute' C:/ruby19/lib/ruby/gems/1.9.1/gems/redcar-0.3.8.4/plugins/application/lib/application/command.rb:79:in `run' C:/ruby19/lib/ruby/gems/1.9.1/gems/redcar-0.3.8.4/plugins/application/lib/application/menu/item.rb:26:in `selected' C:/ruby19/lib/ruby/gems/1.9.1/gems/redcar-0.3.8.4/plugins/application_swt/lib/application_swt/menu.rb:117:in `widgetSelected' C:/ruby19/lib/ruby/gems/1.9.1/gems/redcar-0.3.8.4/plugins/application_swt/lib/application_swt/event_loop.rb:14:in `start' C:/ruby19/lib/ruby/gems/1.9.1/gems/redcar-0.3.8.4/plugins/core/lib/core/gui.rb:39:in `start' C:/ruby19/lib/ruby/gems/1.9.1/gems/redcar-0.3.8.4/lib/redcar.rb:115:in `pump' C:/Ruby19/lib/ruby/gems/1.9.1/gems/redcar-0.3.8.4/lib/redcar/../../bin/redcar:24
Comments and changes to this ticket
-
delisa October 25th, 2010 @ 03:45 AM
- State changed from new to open
I also got this to happen if trying to "Reveal in Project" a hidden file when hidden files are hidden from the project tree. (That definitely sounded silly...)
-
tim.felgentreff (at student.hpi.uni-potsdam) October 25th, 2010 @ 09:12 PM
Isn't this command completely obsolete, now we have the functionality from #361?
-
delisa October 25th, 2010 @ 09:17 PM
probably. though does it throw errors if it tries to reveal a non-existent (untitled) or hidden file now?
-
tim.felgentreff (at student.hpi.uni-potsdam) October 26th, 2010 @ 03:15 PM
- State changed from open to resolved
Resolved by removing manual "Reveal in Project"
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.