qup
qup copied to clipboard
No method error while unmarshalling
trafficstars
<NoMethodError: undefined method `ord' for nil:NilClass>
/usr/lib64/ruby/gems/1.8/gems/qup-1.4.0/lib/qup/adapter/kestrel/queue.rb:92:in unmarshal_if_marshalled' /usr/lib64/ruby/gems/1.8/gems/qup-1.4.0/lib/qup/adapter/kestrel/queue.rb:65:inconsume'
/usr/lib64/ruby/gems/1.8/gems/qup-1.4.0/lib/qup/consumer.rb:27:in `consume'
The issue here is in qup-1.4.0/lib/qup/adapter/kestrel/queue.rb in method consume it returns nil after testing if q_item is nil whereas it should test if q_item[0] and q_item[1] is nil also.
Thanks for reporting this, I'll dig into in the next day or so. It might be a case where it should be fixed in Kjess.