#215 ✓resolved
Stuart Ellis

Redcar crashes during load if recent directories are missing

Reported by Stuart Ellis | May 4th, 2010 @ 10:39 AM

Redcar 0.3.5 crashes if a recently used directory no longer exists (observed on XP Pro SP2):

Redcar 0.3.5 ( i386-mingw32 )
java -Xmx500m -Xss1024k -Djruby.memory.max=500m -Djruby.stack.max=1024k -cp "C:
/Ruby/lib/ruby/gems/1.8/gems/redcar-0.3.5/lib/jruby-complete-1.4.0.jar" org.jrub y.Main "C:/Ruby/lib/ruby/gems/1.8/gems/redcar-0.3.5/lib/redcar/../../bin/redcar
" --no-sub-jruby Redcar 0.3.5 ( java )
loading win32/swt
loading plugins took 2.89
EditViewSWT.start took 1.219s
initializing gui took 0.031s
C:/Ruby/lib/ruby/gems/1.8/gems/redcar-0.3.5/plugins/project/lib/project.rb:26:in
initialize': Not a directory: C:/Documents and Settings/me/My Documents/missing-dir (RuntimeError)

    from C:/Ruby/lib/ruby/gems/1.8/gems/redcar-0.3.5/plugins/project/lib/pro

ject/manager.rb:120:in new'<br/>

    from C:/Ruby/lib/ruby/gems/1.8/gems/redcar-0.3.5/plugins/project/lib/pro

ject/manager.rb:120:in open_project_for_path'<br/>

    from C:/Ruby/lib/ruby/gems/1.8/gems/redcar-0.3.5/plugins/project/lib/pro

ject/manager.rb:187:in restore_last_session'<br/>

    from C:/Ruby/lib/ruby/gems/1.8/gems/redcar-0.3.5/plugins/project/lib/pro

ject/manager.rb:24:in start'<br/>

    from C:/Ruby/lib/ruby/gems/1.8/gems/redcar-0.3.5/plugins/redcar/redcar.r

b:865:in start'<br/>

    from C:/Ruby/lib/ruby/gems/1.8/gems/redcar-0.3.5/lib/redcar/../../bin/re

dcar:22

To reproduce:

  • Open Redcar
  • Use a directory
  • Close Redcar
  • Delete directory
  • Load Redcar again

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

Tags

Pages