#309 ✓resolved
Aaron Aberg

Redcar crashes when you drag a file over the window

Reported by Aaron Aberg | September 11th, 2010 @ 08:42 AM

Sorry guys no steps to produce here. Just working with one app, then come back to Redcar and I get a message box saying: "Error in: undefined method all?' for nil:NilClass". Here is what the logged dumped:

Redcar 0.5.1 ( x86_64-linux )
java -client -Xmx500m -Xss1024k -Djruby.memory.max=500m -Djruby.stack.max=1024k -cp /home/aaron/.redcar/assets/jruby-complete-1.5.2.jar org.jruby.Main /usr/lib/ruby/gems/1.8/gems/redcar-0.5.1/bin/redcar . --no-sub-jruby --ignore-stdin
Redcar 0.5.1 ( java )
loading plugins took 19.044
took 9.901s to load textmate assets
initializing gui took 0.32s
project start took 4.631s
start time: 36.827
Couldnt find Setting class for textmate setting: spellchecking
Couldnt find Setting class for textmate setting: spellchecking
indent setting without scope! #<Redcar::Textmate::UnIndentedLinePatternSetting:0x16bf4472 @plist="^\s*$", @scope=nil>
Error in: undefined method all?' for nil:NilClass<br/> NoMethodError: undefined methodall?' for nil:NilClass
/usr/lib/ruby/gems/1.8/gems/redcar-0.5.1/plugins/project/lib/project/dir_controller.rb:36:in can_drop?' /usr/lib/ruby/gems/1.8/gems/redcar-0.5.1/plugins/tree_view_swt/lib/tree_view_swt.rb:119:invalidateDrop' /usr/lib/ruby/gems/1.8/gems/redcar-0.5.1/plugins/redcar/redcar.rb:5:in safely' /usr/lib/ruby/gems/1.8/gems/redcar-0.5.1/plugins/tree_view_swt/lib/tree_view_swt.rb:118:invalidateDrop' /usr/lib/ruby/gems/1.8/gems/redcar-0.5.1/plugins/swt/lib/swt/event_loop.rb:13:in start' /usr/lib/ruby/gems/1.8/gems/redcar-0.5.1/plugins/core/lib/core/gui.rb:39:instart' /usr/lib/ruby/gems/1.8/gems/redcar-0.5.1/lib/redcar.rb:176:in pump' /usr/lib/ruby/gems/1.8/gems/redcar-0.5.1/bin/redcar:29 /usr/lib/ruby/gems/1.8/gems/redcar-0.5.1/plugins/swt/lib/swt/event_loop.rb:13:instart': cannot convert instance of class org.jruby.RubySymbol to boolean (TypeError)

from /usr/lib/ruby/gems/1.8/gems/redcar-0.5.1/plugins/core/lib/core/gui.rb:39:in `start'
from /usr/lib/ruby/gems/1.8/gems/redcar-0.5.1/lib/redcar.rb:176:in `pump'
from /usr/lib/ruby/gems/1.8/gems/redcar-0.5.1/bin/redcar:29

Comments and changes to this ticket

  • Daniel Lucraft

    Daniel Lucraft September 11th, 2010 @ 08:46 AM

    • Title changed from “Redcar crashes for an unknown reason” to “Redcar crashes when you drag a file over the window”
    • State changed from “new” to “open”

    Hey Aaron

    I think what happened is that you dragged a file over the redcar window. This will reliably cause redcar to crash. I've adjusted the title of the bug to reflect that.

    Let me know if you think that's NOT what happened.

    Thanks

  • Aaron Aberg

    Aaron Aberg September 11th, 2010 @ 08:52 AM

    Hey Dan, yes this what happened apparently. I was just able to recreate the same behavior.

  • Michal Hantl

    Michal Hantl November 1st, 2010 @ 09:35 AM

    Still not solved :)

    If it is hard to solve this, than I suggest making Redcar start on the same position with the same size it had before closing.

  • Daniel Lucraft

    Daniel Lucraft November 27th, 2010 @ 10:00 AM

    • State changed from “open” to “resolved”

    Fixed in head. Will be in 0.10

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