rails / journey

A router for rails
221 stars 57 forks source link

jruby + puma undefined method `names' for nil:NilClass #54

Open glebm opened 11 years ago

glebm commented 11 years ago

When running on puma, around 10% (ymmv) of the requests fail with the following exception:

NoMethodError (undefined method `names' for nil:NilClass):
  /Users/glebm/.rvm/gems/jruby-head@jl/gems/journey-1.0.4/lib/journey/router.rb:137:in `find_routes'

Full backtrace here: https://gist.github.com/4235007

lapenya commented 11 years ago

exaclty same issue on my side: jruby + puma + Rails 3.2.11, journey 1.0.4

TheKidCoder commented 7 years ago

Hate to open this back up - but I just had the same issue on Rails 4.2.7, Puma 3.10.0, jRuby 9.1.10.0.

Simply restarting my app server fixed it.

Attached is a backtrace: https://gist.github.com/TheKidCoder/5f181fea58480fe30eb3689391afc4e1