undefined method `*' for nil:NilClass

  • Thread starter Atul Dongargaonkar
  • Start date
B

Brian Candler

Atul said:
Please find the .txt file attached. Am getting the following error
message. Please help!



Error Loading File slab.rb
undefined method `*' for nil:NilClass

You need to give the *full* error, which includes the line at which the
error occurred, and the backtrace. Then show what line that line number
corresponds to.

You've posted a large amount of code, but for me it's not even runnable
- the first line calls a method "file_loaded?" which on my system (ruby
1.8.7) doesn't exist.

So if you cannot boil this down to a five-line standalone test program,
then you must at least show the exact error and context.

Also, what ruby type and version are you using, and on what platform?
 
A

Atul Dongargaonkar

Brian said:
You need to give the *full* error, which includes the line at which the
error occurred, and the backtrace. Then show what line that line number
corresponds to.

You've posted a large amount of code, but for me it's not even runnable
- the first line calls a method "file_loaded?" which on my system (ruby
1.8.7) doesn't exist.

So if you cannot boil this down to a five-line standalone test program,
then you must at least show the exact error and context.

Also, what ruby type and version are you using, and on what platform?


Thanks for your reply. Fortunately I somehow managed to debug the error.
The sad part was there was no mention of the line in which error
occured! All that was posted is "I am using Ruby 1.8.6 on Windows 7 (64 bit)by the way...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top