Forums | Admin

Discussion Forums: help

Start New Thread Start New Thread

 

By: Bastian Bloessl
undefined method `-' for nil:NilClass [ reply ]  
2009-04-22 09:43
Hi,

on receiver side i get the following error:

/usr/local/lib/site_ruby/1.9/packgen/flow.rb:231:in `receive_tcp': undefined method `-' for nil:NilClass (NoMethodError)

from /usr/local/lib/site_ruby/1.9/packgen/flow.rb:196:in `receive_tcp'
from /usr/local/lib/site_ruby/1.9/packgen/flow.rb:160:in `start_tcp'
from /usr/local/lib/site_ruby/1.9/packgen/flow.rb:99:in `PackGen::FlowListener#start'
from /usr/local/lib/site_ruby/1.9/packgen/flow.rb:97
from /usr/local/lib/site_ruby/1.9/packge/flow.rb:97

The '-' is a minus. The line is:

content_size = packet_size - 2

I have no experience with ruby so perhaps you can give me a hint where to start looking.

Thanks,
Bastian