Error message help

My program is hitting an error and showing me:
c:/ruby/lib/ruby/1.8/drb/drb.rb:743:in +': can't convert nil into String (TypeError) from c:/ruby/lib/ruby/1.8/drb/drb.rb:743:inopen’
from c:/ruby/lib/ruby/1.8/drb/drb.rb:741:in open' from c:/ruby/lib/ruby/1.8/drb/drb.rb:1189:ininitialize’
from c:/ruby/lib/ruby/1.8/drb/drb.rb:1169:in new' from c:/ruby/lib/ruby/1.8/drb/drb.rb:1169:inopen’
from c:/ruby/lib/ruby/1.8/drb/drb.rb:1085:in method_missing' from c:/ruby/lib/ruby/1.8/drb/drb.rb:1103:inwith_friend’
from c:/ruby/lib/ruby/1.8/drb/drb.rb:1084:in method_missing' ... 12 levels... from stclient.rb:30:inrun’
from stclient.rb:30:in initialize' from stclient.rb:36:innew’
from stclient.rb:36

How do I get ruby to show me the middle 12 levels? The problem is
probably in the middle there, but I don’t know what method.

Raj

can you send the full source?

Raj S. [email protected] wrote: My program is hitting an error and
showing me:
c:/ruby/lib/ruby/1.8/drb/drb.rb:743:in +': can't convert nil into String (TypeError) from c:/ruby/lib/ruby/1.8/drb/drb.rb:743:in open’
from c:/ruby/lib/ruby/1.8/drb/drb.rb:741:in open' from c:/ruby/lib/ruby/1.8/drb/drb.rb:1189:in initialize’
from c:/ruby/lib/ruby/1.8/drb/drb.rb:1169:in new' from c:/ruby/lib/ruby/1.8/drb/drb.rb:1169:in open’
from c:/ruby/lib/ruby/1.8/drb/drb.rb:1085:in method_missing' from c:/ruby/lib/ruby/1.8/drb/drb.rb:1103:in with_friend’
from c:/ruby/lib/ruby/1.8/drb/drb.rb:1084:in method_missing' ... 12 levels... from stclient.rb:30:in run’
from stclient.rb:30:in initialize' from stclient.rb:36:in new’
from stclient.rb:36

How do I get ruby to show me the middle 12 levels? The problem is
probably in the middle there, but I don’t know what method.

Raj

Raj S. wrote:

My program is hitting an error and showing me:
c:/ruby/lib/ruby/1.8/drb/drb.rb:743:in +': can't convert nil into String (TypeError) from c:/ruby/lib/ruby/1.8/drb/drb.rb:743:inopen’
from c:/ruby/lib/ruby/1.8/drb/drb.rb:741:in open' from c:/ruby/lib/ruby/1.8/drb/drb.rb:1189:ininitialize’
from c:/ruby/lib/ruby/1.8/drb/drb.rb:1169:in new' from c:/ruby/lib/ruby/1.8/drb/drb.rb:1169:inopen’
from c:/ruby/lib/ruby/1.8/drb/drb.rb:1085:in method_missing' from c:/ruby/lib/ruby/1.8/drb/drb.rb:1103:inwith_friend’
from c:/ruby/lib/ruby/1.8/drb/drb.rb:1084:in method_missing' ... 12 levels... from stclient.rb:30:inrun’
from stclient.rb:30:in initialize' from stclient.rb:36:innew’
from stclient.rb:36

How do I get ruby to show me the middle 12 levels? The problem is
probably in the middle there, but I don’t know what method.

Raj

try something like:

try
blah
catch( Exception => e)
puts e.backtrace
end