Bugs: Browse | Submit New | Admin

[#5402] FreeRIDE terminates when searching help for "dir" command

Date:
2006-08-13 09:57
Priority:
3
Submitted By:
Nobody
Assigned To:
Laurent Julliard (ljulliar)
Category:
Doc Browser
State:
Open
Summary:
FreeRIDE terminates when searching help for "dir" command

Detailed description
I am using FreeRIDE on Windows XP. When i type "dir" then click F1 the program terminates. The same applies
when i search for "dir" command in the doc browser.

Here's the output before the program terminates:

TypeError: can't convert nil into Array

c:/ruby/lib/ruby/1.8/rdoc/ri/ri_descriptions.rb:99:in `concat'
c:/ruby/lib/ruby/1.8/rdoc/ri/ri_descriptions.rb:99:in `merge_in'
c:/ruby/lib/ruby/1.8/rdoc/ri/ri_reader.rb:56:in `get_class'
c:/ruby/lib/ruby/1.8/rdoc/ri/ri_reader.rb:52:in `get_class'
c:/ruby/freeride/plugins/rubyide_tools_fox_ri/fxri/lib/RiManager.rb:107:in `report_class_stuff'
c:/ruby/freeride/plugins/rubyide_tools_fox_ri/fxri/lib/RiManager.rb:101:in `show'
c:/ruby/freeride/./plugins/rubyide_tools_fox_ri/fxri/fxri.rb:288:in `on_show'
c:/ruby/freeride/./plugins/rubyide_tools_fox_ri/fxri/fxri.rb:296:in `show_info'
c:/ruby/freeride/./plugins/rubyide_tools_fox_ri/fxri/fxri.rb:153:in `build'
c:/ruby/lib/ruby/gems/1.8/gems/fxruby-1.2.6-mswin32/lib/fox12/responder2.rb:57:in `onHandleMsg'
c:/ruby/freeride/./plugins/rubyide_fox_gui/appframe.rb:51:in `start'
c:/ruby/freeride/freebase/lib/freebase/databus.rb:950:in `call'
c:/ruby/freeride/freebase/lib/freebase/databus.rb:560:in `call'
c:/ruby/freeride/freebase/lib/freebase/core.rb:69:in `initialize'
c:/ruby/freeride/freebase/lib/freebase/core.rb:68:in `initialize'
c:/ruby/freeride/freebase/lib/freebase/core.rb:35:in `startup'
freeride.rb:77:in `startup'
freeride.rb:116

Add A Comment: Notepad

Please login


Followup

Message
Date: 2006-08-25 17:53
Sender: Chris Hulan

Yup, same exception in ri

I guess you could add the missing documentation to Dir so ri
doesn't get a nil value  9^)
Date: 2006-08-24 10:18
Sender: Laurent Julliard

And do you have the same error if you type 'ri dir' in a console
window. I'm trying to figure out if the only way to fix the problem
is to modify the ri source code or if there is something we can
do at the FR level because the ri module is not within our
jurisdiction.
Date: 2006-08-23 12:22
Sender: Chris Hulan

I get the same error in the stand-alone fxri

I changed line 99 of ri_descriptions to be:
  @comment.concat old.comment unless old.comment.nil?


and it eliminated the crash.  Not sure if it will screw anything
else up 9^)

Cheers
Date: 2006-08-16 08:58
Sender: Laurent Julliard

Can you make sure you have the new FR installer 0.9.6-1 (see
the Files download section on RubyForge) installed on your machine
and let us know if you still have this problem?

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

Field Old Value Date By
summary FreeRIDE terminates when searching help for "dir" command2006-08-24 10:18ljulliar
summary FreeRIDE terminates when searching help for "dir" command2006-08-16 08:58ljulliar