[Wtr-general] `+': can't convert nil into String (TypeError)- how to solve this error

2007-07-12 Thread murali
hi can any one solve this iam getting this error while running the script. ./lib/commonipe.rb:5:in `+': can't convert nil into String (TypeError) from ./lib/commonipe.rb:5:in `login' from D:/Documents and Settings/mmopur/Desktop/IPE Aut/Category.rb:46 from D:/Documents

Re: [Wtr-general] `+': can't convert nil into String (TypeError)- how to solve this error

2007-07-12 Thread Charley Baker
Hi, In your login method in commonipe.rb on line 5, you're doing some sort of concatenation of a nil to a string, likely something like this: puts my value is: + foo foo is nil while you're running your test for whatever reason. You need to figure out why you're getting nil if you're not