my stompserver crashes with the following stack trace:
$ sudo -u git stompserver
MemoryQueue initialized
TopicManager initialized
QueueManager initialized
Stomp protocol handler starting on 127.0.0.1 port 61613
/var/lib/gems/1.9.1/gems/stompserver-0.9.9/bin/stompserver:35:
warning: class variable access from toplevel
/var/lib/gems/1.9.1/gems/stompserver-0.9.9/bin/stompserver:36:
warning: class variable access from toplevel
/var/lib/gems/1.9.1/gems/stompserver-0.9.9/bin/stompserver:37:
warning: class variable access from toplevel
/var/lib/gems/1.9.1/gems/stompserver-0.9.9/bin/stompserver:38:
warning: class variable access from toplevel
err: Invalid stompframe (missing null term) /var/lib/gems/1.9.1/gems/
stompserver-0.9.9/lib/stomp_server/stomp_frame.rb:40:in `parse_body'
/var/lib/gems/1.9.1/gems/stompserver-0.9.9/lib/stomp_server/
stomp_frame.rb:49:in `parse_binary_body'
/var/lib/gems/1.9.1/gems/stompserver-0.9.9/lib/stomp_server/
stomp_frame.rb:80:in `parse'
/var/lib/gems/1.9.1/gems/stompserver-0.9.9/lib/stomp_server/
stomp_frame.rb:93:in `<<'
/var/lib/gems/1.9.1/gems/stompserver-0.9.9/lib/stomp_server/protocols/
stomp.rb:25:in `stomp_receive_data'
/var/lib/gems/1.9.1/gems/stompserver-0.9.9/lib/stomp_server/protocols/
stomp.rb:19:in `receive_data'
/var/lib/gems/1.9.1/gems/eventmachine-0.12.10/lib/eventmachine.rb:
256:in `run_machine'
/var/lib/gems/1.9.1/gems/eventmachine-0.12.10/lib/eventmachine.rb:
256:in `run'
/var/lib/gems/1.9.1/gems/stompserver-0.9.9/bin/stompserver:17:in `<top
(required)>'
/usr/bin/stompserver:19:in `load'
/usr/bin/stompserver:19:in `<main>'
Disconnecting
/var/lib/gems/1.9.1/gems/stompserver-0.9.9/lib/stomp_server/
stomp_frame.rb:13:in `include?': can't convert Fixnum into String
(TypeError)
from /var/lib/gems/1.9.1/gems/stompserver-0.9.9/lib/stomp_server/
stomp_frame.rb:13:in `to_s'
from /var/lib/gems/1.9.1/gems/stompserver-0.9.9/lib/stomp_server/
protocols/stomp.rb:174:in `stomp_send_data'
from /var/lib/gems/1.9.1/gems/stompserver-0.9.9/lib/stomp_server/
protocols/stomp.rb:181:in `send_frame'
from /var/lib/gems/1.9.1/gems/stompserver-0.9.9/lib/stomp_server/
protocols/stomp.rb:170:in `send_error'
from /var/lib/gems/1.9.1/gems/stompserver-0.9.9/lib/stomp_server/
protocols/stomp.rb:29:in `rescue in stomp_receive_data'
from /var/lib/gems/1.9.1/gems/stompserver-0.9.9/lib/stomp_server/
protocols/stomp.rb:23:in `stomp_receive_data'
from /var/lib/gems/1.9.1/gems/stompserver-0.9.9/lib/stomp_server/
protocols/stomp.rb:19:in `receive_data'
from /var/lib/gems/1.9.1/gems/eventmachine-0.12.10/lib/
eventmachine.rb:256:in `run_machine'
from /var/lib/gems/1.9.1/gems/eventmachine-0.12.10/lib/
eventmachine.rb:256:in `run'
from /var/lib/gems/1.9.1/gems/stompserver-0.9.9/bin/stompserver:17:in
`<top (required)>'
from /usr/bin/stompserver:19:in `load'
from /usr/bin/stompserver:19:in `<main>'
I have the following gems installed:
$ gem list
*** LOCAL GEMS ***
actionmailer (2.3.5)
actionpack (2.3.5)
activerecord (2.3.5)
activeresource (2.3.5)
activesupport (2.3.5)
BlueCloth (1.0.1)
cgi_multipart_eof_fix (2.5.0)
chronic (0.2.3)
daemons (1.0.10)
diff-lcs (1.1.2)
echoe (4.2)
eventmachine (0.12.10)
fastthread (1.0.7)
ffi (0.6.2)
gem_plugin (0.2.3)
gemcutter (0.4.1)
geoip (0.8.6)
hoe (2.5.0)
json_pure (1.2.2)
mime-types (1.16)
mongrel (1.1.6)
mysql (2.8.1)
passenger (2.2.11)
rack (1.0.1)
rails (2.3.5)
rake (0.8.7)
rdiscount (1.3.1.1)
RedCloth (4.2.3)
rmagick (2.12.2)
rspec (1.3.0)
rspec-rails (1.3.2)
ruby-hmac (0.4.0)
ruby-openid (2.1.7)
ruby-yadis (0.3.4)
rubyforge (2.0.4)
sqlite3 (0.0.8)
stomp (1.1)
stompserver (0.9.9)
ultrasphinx (1.11)
Any ideas? Thanks
Also tried to mail the authors of stompserver via mail but they didn't
reply.