public
Created

  • Download Gist
connection_pool_bug.rb
Ruby
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
NoMethodError (undefined method `in_use?' for nil:NilClass):
gems/gems/activerecord-3.2.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:201:in `clear_stale_cached_connections!'
org/jruby/RubyArray.java:1615:in `each'
gems/gems/activerecord-3.2.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:199:in `clear_stale_cached_connections!'
gems/gems/activerecord-3.2.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:250:in `checkout'
org/jruby/RubyKernel.java:1410:in `loop'
gems/gems/activerecord-3.2.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:230:in `checkout'
file:/lib/gems-gems-jruby-jars-1.6.7-lib-jruby-stdlib-1.6.7.jar!/META-INF/jruby.home/lib/ruby/1.8/monitor.rb:191:in `mon_synchronize'
file:/lib/gems-gems-jruby-jars-1.6.7-lib-jruby-stdlib-1.6.7.jar!/META-INF/jruby.home/lib/ruby/1.8/monitor.rb:190:in `mon_synchronize'
gems/gems/activerecord-3.2.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:229:in `checkout'
gems/gems/activerecord-3.2.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:95:in `connection'
gems/gems/activerecord-3.2.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:374:in `retrieve_connection'
gems/gems/activerecord-3.2.2/lib/active_record/connection_adapters/abstract/connection_specification.rb:168:in `retrieve_connection'
gems/gems/activerecord-3.2.2/lib/active_record/connection_adapters/abstract/connection_specification.rb:142:in `connection'
gems/gems/activerecord-3.2.2/lib/active_record/query_cache.rb:61:in `call'
gems/gems/activerecord-3.2.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call'
gems/gems/actionpack-3.2.2/lib/action_dispatch/middleware/callbacks.rb:28:in `call'
gems/gems/activesupport-3.2.2/lib/active_support/callbacks.rb:408:in `_run__2109385534__call__1495547765__callbacks'
org/jruby/RubyKernel.java:2076:in `send'
gems/gems/activesupport-3.2.2/lib/active_support/callbacks.rb:405:in `__run_callback'
gems/gems/activesupport-3.2.2/lib/active_support/callbacks.rb:390:in `_run_call_callbacks'
org/jruby/RubyKernel.java:2076:in `send'
gems/gems/activesupport-3.2.2/lib/active_support/callbacks.rb:81:in `run_callbacks'
gems/gems/actionpack-3.2.2/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
gems/gems/rack-1.4.1/lib/rack/sendfile.rb:102:in `call'
gems/gems/actionpack-3.2.2/lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
gems/gems/actionpack-3.2.2/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
gems/gems/actionpack-3.2.2/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
gems/gems/railties-3.2.2/lib/rails/rack/logger.rb:26:in `call_app'
gems/gems/railties-3.2.2/lib/rails/rack/logger.rb:16:in `call'
gems/gems/actionpack-3.2.2/lib/action_dispatch/middleware/request_id.rb:22:in `call'
gems/gems/rack-1.4.1/lib/rack/methodoverride.rb:21:in `call'
gems/gems/activesupport-3.2.2/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
gems/gems/rack-ssl-1.3.2/lib/rack/ssl.rb:27:in `call'
gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:in `forward'
gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:245:in `fetch'
gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:185:in `lookup'
gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:66:in `call!'
gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:51:in `call'
gems/gems/railties-3.2.2/lib/rails/engine.rb:479:in `call'
gems/gems/railties-3.2.2/lib/rails/application.rb:220:in `call'
file:/lib/gems-gems-jruby-rack-1.1.4-lib-jruby-rack-1.1.4.jar!/rack/handler/servlet.rb:20:in `call'

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.