# Error message help

**URL:** <https://www.ruby-forum.com/t/error-message-help/88217>\
**Category:** Ruby\
**Created:** [March 8, 2007, 11:41pm UTC](https://www.ruby-forum.com/t/error-message-help/88217 "2007-03-08T23:41:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dorelal](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/3da27b/32.png) [@dorelal](https://www.ruby-forum.com/u/dorelal)\
**Post date:** [March 8, 2007, 11:41pm UTC](https://www.ruby-forum.com/t/error-message-help/88217/1 "2007-03-08T23:41:26Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![dorelal](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/3da27b/32.png) [@dorelal](https://www.ruby-forum.com/u/dorelal)\
**Post date:** [March 8, 2007, 11:54pm UTC](https://www.ruby-forum.com/t/error-message-help/88217/2 "2007-03-08T23:54:28Z")

</div>

can you send the full source?

Raj S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) 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

---

<div class="post-metadata">

**Author:** ![dorelal](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/3da27b/32.png) [@dorelal](https://www.ruby-forum.com/u/dorelal)\
**Post date:** [March 8, 2007, 11:55pm UTC](https://www.ruby-forum.com/t/error-message-help/88217/3 "2007-03-08T23:55:41Z")

</div>

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: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

try something like:

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