I’ve got a REST webservice I’ve built with JRuby 1.7 p2, Sinatra and
Intermittently, and only under some load, I see the following error from
[2012-08-19 21:13:50] ERROR RuntimeError: can’t add a new key into hash
NoMethodError: undefined method `<’ for nil:NilClass
initialize at /opt/jruby/active/lib/ruby/1.9/webrick/utils.rb:181
each at org/jruby/RubyArray.java:1612
initialize at /opt/jruby/active/lib/ruby/1.9/webrick/utils.rb:179
each at org/jruby/RubyHash.java:1192
initialize at /opt/jruby/active/lib/ruby/1.9/webrick/utils.rb:178
It seems to be coming from inside of webrick, so I’m at a loss as to
could be doing that would be causing this?
The upstart command for Mizuno is the following:
exec su -c ‘cd /home/foo/current; ./bin/mizuno >> output.log 2>&1’ -l
Any help would be appreciated in working out what is causing the error.
2 Devs from Down Under Podcast