From: Greg Frazier Date: 2009-05-31T23:33:05+09:00 Subject: Re: Undefined method error Robert Klemme wrote: > On 30.05.2009 19:33, Greg Frazier wrote: > >> I am encountering the following runtime error: >> >> load('C:\\SketchUp\gfVirtualWMS.rb') >> Error: #> 6/Plugins/gfMakePallet01.rb:59:in `gfMakePallet01': undefined method >> `material=' for nil:NilClass> >> C:/Program Files/Google/Google SketchUp 6/Plugins/gfMakePallet01.rb:59 >> >> The code snippet is as follows: > >> Thank you for your assistance. > > And your question was? > > Kind regards > > robert Robert. I solved the problem. There was a stray method firing off in the Plugins window when SketchUp launched. Thank you Greg -- Posted via http://www.ruby-forum.com/.