Skip to content
This repository has been archived by the owner on Sep 13, 2017. It is now read-only.

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

Open
glebm opened this issue Dec 7, 2012 · 2 comments
Open

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

glebm opened this issue Dec 7, 2012 · 2 comments

Comments

@glebm
Copy link

glebm commented Dec 7, 2012

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
Copy link

lapenya commented Jan 15, 2013

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

@TheKidCoder
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants