Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#__send__ wrong number of arguments N+1 for N (compile.fastest=true + JDK 7) #416

Closed
glebm opened this issue Nov 28, 2012 · 11 comments
Closed

Comments

@glebm
Copy link
Contributor

glebm commented Nov 28, 2012

I am trying out my Rails app with jruby-1.7.0

After a few concurrent requests (under puma) I start getting the following error

wrong number of arguments (1 for 0) 
/Users/glebm/.rvm/rubies/jruby-1.7.0/lib/ruby/1.9/monitor.rb:139:in `signal'
activerecord (3.2.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:289:in `checkin'

Line 289 from connection_pool.rb:

@queue.signal

Line 139 from monitor.rb:

 @monitor.__send__(:mon_check_owner)

Update: A few more runs show that:

  • At some point an arbitrary call to __send__ starts failing
  • So far I've seen the one in monitor (above), and date.rb:1786 (5 for 4)
  • Looks like this only happens with compile.fastest=true in .jrubyrc
  • How do I investigate further?

$ java -version
java version "1.7.0_09"
Java(TM) SE Runtime Environment (build 1.7.0_09-b05)
Java HotSpot(TM) 64-Bit Server VM (build 23.5-b02, mixed mode)
@the8472
Copy link
Contributor

the8472 commented Dec 10, 2012

I've run into this issue too on jruby-1.7.2-dev.

@nirvdrum
Copy link
Contributor

I seem to be getting this and do not have compile.fastest set to true. I'm running the same JVM as @glebm.

@BanzaiMan
Copy link
Member

Sounds like a compiler failure. Is there a small (as small as a Rails app can be) test case?

Also, can we confirm that this is not an application server dependent issue? (Though it is highly unlikely.)

@cpuguy83
Copy link

I have this issue as well.
I get the issue in both my app server and just running a Sidekiq worker.

@pmdb
Copy link

pmdb commented Jun 9, 2013

I have seen the issue with jruby-1.7.4 and with these jruby settings (non-default ones given).
compile.fastsend=true
thread.pool.enabled=true
In particular, the compile.fastest setting was untouched, setting this produced the same error (even if compile.fastsend was false)

@headius
Copy link
Member

headius commented Jun 9, 2013

I feel like I committed a fix for the original issue, but I don't remember right now. There was a similar issue someone reported and the problem was not properly calling an aliased method name.

@pmdb I would recommend not running with the fastsend setting. I'm curious if anyone has seen this issue in a recent JRuby without fastsend enabled.

@pmdb
Copy link

pmdb commented Jun 9, 2013

Thanks for the quick feedback. I also had this for compile.fastest enabled.

If I enable use of invokedynamic, I get other problems.

If there is anything I can do to help analyse this, let me know.

My jrubyrc settings are currently very conservative .. only the threadpool seems to be harmless.

compat.version=1.9

#compile.invokedynamic=true

#compile.fastest=true

#compile.fastsend=true

thread.pool.enabled=true

From: Charles Oliver Nutter [mailto:notifications@github.com]
Sent: Sonntag, 9. Juni 2013 17:18
To: jruby/jruby
Cc: SPC-PMDB-ADMINS
Subject: Re: [jruby] #send wrong number of arguments N+1 for N (compile.fastest=true + JDK 7) (#416)

I feel like I committed a fix for the original issue, but I don't remember right now. There was a similar issue someone reported and the problem was not properly calling an aliased method name.

@pmdb https://github.com/pmdb I would recommend not running with the fastsend setting. I'm curious if anyone has seen this issue in a recent JRuby without fastsend enabled.


Reply to this email directly or view it on GitHub #416 (comment) . https://github.com/notifications/beacon/6BMMKH0NoAfI0jwVz8bVmiOy0GWmDOm-rplUbhlzMgFkkBw9H9ZeOg3IQfwL9wSS.gif

@headius
Copy link
Member

headius commented Jun 10, 2013

I am interested in hearing more about the invokedynamic issues. send there should also be treated like a plain old call.

@pmdb
Copy link

pmdb commented Jun 10, 2013

The application is a RoR-3.2 application, we use a gem „active scaffold“ which produces much of the

typical CRUD pages in a nice way. The server is mizuno / Jetty.

The JDK for all tests was the latest Oracle JDK-7 (1.7.0-21).

The jruby versions tested were 1.7.4 and a recent build of 1.7.5

(http://ci.jruby.org/view/JRuby%20Core/job/jruby-dist-master/1266/artifact/dist/)

The results were the same for both jruby versions, the attached traces are from the test with 1.7.4

Test-1

compat.version=1.9

thread.pool.enabled=true

è application works as expected

Test-2

compat.version=1.9

thread.pool.enabled=true

        compile.invokedynamic=true

è application crashes quickly, see attached trace-test-2.txt

è [ this trace was in the application log, not from stdout, so maybe there’s some other bug here and jruby is not the culprit ...]

Test-3

compat.version=1.9

thread.pool.enabled=true

        compile.fastest=true

è application crashes (not quite as quickly as above, but within 1 minute), see trace-text-3.txt

Test-4

compat.version=1.9

thread.pool.enabled=true

        compile.fastsend=true

è application crashes (again about within 1 minute), see trace-text-4.txt

From: Charles Oliver Nutter [mailto:notifications@github.com]
Sent: Montag, 10. Juni 2013 13:39
To: jruby/jruby
Cc: SPC-PMDB-ADMINS
Subject: Re: [jruby] #send wrong number of arguments N+1 for N (compile.fastest=true + JDK 7) (#416)

I am interested in hearing more about the invokedynamic issues. send there should also be treated like a plain old call.


Reply to this email directly or view it on GitHub #416 (comment) . https://github.com/notifications/beacon/6BMMKH0NoAfI0jwVz8bVmiOy0GWmDOm-rplUbhlzMgFkkBw9H9ZeOg3IQfwL9wSS.gif

Exception: wrong number of arguments (1 for 0)
D:/10_tools/jruby/lib/ruby/1.9/monitor.rb:139:in signal' D:/10_tools/jruby/lib/ruby/gems/shared/gems/activerecord-3.2.11/lib/active_record/connection_adapters/abstract/connection_pool.rb:289:incheckin'
D:/10_tools/jruby/lib/ruby/gems/shared/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:406:in _run__647557729__checkin__379938875__callbacks' org/jruby/RubyBasicObject.java:1703:insend'
org/jruby/RubyKernel.java:2209:in send' D:/10_tools/jruby/lib/ruby/gems/shared/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:405:inrun_callback'
D:/10_tools/jruby/lib/ruby/gems/shared/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:390:in _run_checkin_callbacks' org/jruby/RubyBasicObject.java:1703:in__send
'
org/jruby/RubyKernel.java:2209:in send' D:/10_tools/jruby/lib/ruby/gems/shared/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:81:inrun_callbacks'
D:/10_tools/jruby/lib/ruby/gems/shared/gems/activerecord-3.2.11/lib/active_record/connection_adapters/abstract/connection_pool.rb:287:in checkin' D:/10_tools/jruby/lib/ruby/1.9/monitor.rb:211:inmon_synchronize'
D:/10_tools/jruby/lib/ruby/1.9/monitor.rb:210:in mon_synchronize' D:/10_tools/jruby/lib/ruby/gems/shared/gems/activerecord-3.2.11/lib/active_record/connection_adapters/abstract/connection_pool.rb:286:incheckin'
D:/10_tools/jruby/lib/ruby/gems/shared/gems/activerecord-3.2.11/lib/active_record/connection_adapters/abstract/connection_pool.rb:120:in release_connection' D:/10_tools/jruby/lib/ruby/gems/shared/gems/activerecord-3.2.11/lib/active_record/connection_adapters/abstract/connection_pool.rb:387:inclear_active_connections!'
org/jruby/RubyHash.java:1375:in each_value' D:/10_tools/jruby/lib/ruby/gems/shared/gems/activerecord-3.2.11/lib/active_record/connection_adapters/abstract/connection_pool.rb:387:inclear_active_connections!'
D:/10_tools/jruby/lib/ruby/gems/shared/gems/activerecord-3.2.11/lib/active_record/connection_adapters/abstract/connection_specification.rb:184:in clear_active_connections!' D:/10_tools/jruby/lib/ruby/gems/shared/gems/activerecord-3.2.11/lib/active_record/connection_adapters/abstract/connection_pool.rb:468:inclose'
D:/10_tools/jruby/lib/ruby/gems/shared/gems/mizuno-0.6.4/lib/mizuno/rack_servlet.rb:236:in rack_to_servlet' D:/10_tools/jruby/lib/ruby/gems/shared/gems/mizuno-0.6.4/lib/mizuno/rack_servlet.rb:88:inservice'
org/jruby/RubyKernel.java:1254:in catch' D:/10_tools/jruby/lib/ruby/gems/shared/gems/mizuno-0.6.4/lib/mizuno/rack_servlet.rb:82:inservice'
D:/10_tools/jruby/lib/ruby/gems/shared/gems/mizuno-0.6.4/lib/mizuno/rack_servlet.rb:247:in handle_exceptions' D:/10_tools/jruby/lib/ruby/gems/shared/gems/mizuno-0.6.4/lib/mizuno/rack_servlet.rb:53:inservice'
Exception: wrong number of arguments (1 for 0)
D:/10_tools/jruby/lib/ruby/1.9/monitor.rb:139:in signal' D:/10_tools/jruby/lib/ruby/gems/shared/gems/activerecord-3.2.11/lib/active_record/connection_adapters/abstract/connection_pool.rb:289:incheckin'
D:/10_tools/jruby/lib/ruby/gems/shared/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:406:in _run__647557729__checkin__379938875__callbacks' org/jruby/RubyBasicObject.java:1703:insend'
org/jruby/RubyKernel.java:2209:in send' D:/10_tools/jruby/lib/ruby/gems/shared/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:405:inrun_callback'
D:/10_tools/jruby/lib/ruby/gems/shared/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:390:in _run_checkin_callbacks' org/jruby/RubyBasicObject.java:1703:in__send
'
org/jruby/RubyKernel.java:2209:in send' D:/10_tools/jruby/lib/ruby/gems/shared/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:81:inrun_callbacks'
D:/10_tools/jruby/lib/ruby/gems/shared/gems/activerecord-3.2.11/lib/active_record/connection_adapters/abstract/connection_pool.rb:287:in checkin' D:/10_tools/jruby/lib/ruby/1.9/monitor.rb:211:inmon_synchronize'
D:/10_tools/jruby/lib/ruby/1.9/monitor.rb:210:in mon_synchronize' D:/10_tools/jruby/lib/ruby/gems/shared/gems/activerecord-3.2.11/lib/active_record/connection_adapters/abstract/connection_pool.rb:286:incheckin'
D:/10_tools/jruby/lib/ruby/gems/shared/gems/activerecord-3.2.11/lib/active_record/connection_adapters/abstract/connection_pool.rb:120:in release_connection' D:/10_tools/jruby/lib/ruby/gems/shared/gems/activerecord-3.2.11/lib/active_record/connection_adapters/abstract/connection_pool.rb:387:inclear_active_connections!'
org/jruby/RubyHash.java:1375:in each_value' D:/10_tools/jruby/lib/ruby/gems/shared/gems/activerecord-3.2.11/lib/active_record/connection_adapters/abstract/connection_pool.rb:387:inclear_active_connections!'
D:/10_tools/jruby/lib/ruby/gems/shared/gems/activerecord-3.2.11/lib/active_record/connection_adapters/abstract/connection_specification.rb:184:in clear_active_connections!' D:/10_tools/jruby/lib/ruby/gems/shared/gems/activerecord-3.2.11/lib/active_record/connection_adapters/abstract/connection_pool.rb:468:inclose'
D:/10_tools/jruby/lib/ruby/gems/shared/gems/mizuno-0.6.4/lib/mizuno/rack_servlet.rb:236:in rack_to_servlet' D:/10_tools/jruby/lib/ruby/gems/shared/gems/mizuno-0.6.4/lib/mizuno/rack_servlet.rb:88:inservice'
org/jruby/RubyKernel.java:1254:in catch' D:/10_tools/jruby/lib/ruby/gems/shared/gems/mizuno-0.6.4/lib/mizuno/rack_servlet.rb:82:inservice'
D:/10_tools/jruby/lib/ruby/gems/shared/gems/mizuno-0.6.4/lib/mizuno/rack_servlet.rb:247:in handle_exceptions' D:/10_tools/jruby/lib/ruby/gems/shared/gems/mizuno-0.6.4/lib/mizuno/rack_servlet.rb:53:inservice'
Exception: wrong number of arguments (1 for 0)
D:/10_tools/jruby/lib/ruby/1.9/monitor.rb:139:in signal' D:/10_tools/jruby/lib/ruby/gems/shared/gems/activerecord-3.2.11/lib/active_record/connection_adapters/abstract/connection_pool.rb:289:incheckin'
D:/10_tools/jruby/lib/ruby/gems/shared/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:406:in _run__647557729__checkin__379938875__callbacks' org/jruby/RubyBasicObject.java:1703:insend'
org/jruby/RubyKernel.java:2209:in send' D:/10_tools/jruby/lib/ruby/gems/shared/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:405:inrun_callback'
D:/10_tools/jruby/lib/ruby/gems/shared/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:390:in _run_checkin_callbacks' org/jruby/RubyBasicObject.java:1703:in__send
'
org/jruby/RubyKernel.java:2209:in send' D:/10_tools/jruby/lib/ruby/gems/shared/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:81:inrun_callbacks'
D:/10_tools/jruby/lib/ruby/gems/shared/gems/activerecord-3.2.11/lib/active_record/connection_adapters/abstract/connection_pool.rb:287:in checkin' D:/10_tools/jruby/lib/ruby/1.9/monitor.rb:211:inmon_synchronize'
D:/10_tools/jruby/lib/ruby/1.9/monitor.rb:210:in mon_synchronize' D:/10_tools/jruby/lib/ruby/gems/shared/gems/activerecord-3.2.11/lib/active_record/connection_adapters/abstract/connection_pool.rb:286:incheckin'
D:/10_tools/jruby/lib/ruby/gems/shared/gems/activerecord-3.2.11/lib/active_record/connection_adapters/abstract/connection_pool.rb:120:in release_connection' D:/10_tools/jruby/lib/ruby/gems/shared/gems/activerecord-3.2.11/lib/active_record/connection_adapters/abstract/connection_pool.rb:387:inclear_active_connections!'
org/jruby/RubyHash.java:1375:in each_value' D:/10_tools/jruby/lib/ruby/gems/shared/gems/activerecord-3.2.11/lib/active_record/connection_adapters/abstract/connection_pool.rb:387:inclear_active_connections!'
D:/10_tools/jruby/lib/ruby/gems/shared/gems/activerecord-3.2.11/lib/active_record/connection_adapters/abstract/connection_specification.rb:184:in clear_active_connections!' D:/10_tools/jruby/lib/ruby/gems/shared/gems/activerecord-3.2.11/lib/active_record/connection_adapters/abstract/connection_pool.rb:468:inclose'
D:/10_tools/jruby/lib/ruby/gems/shared/gems/mizuno-0.6.4/lib/mizuno/rack_servlet.rb:236:in rack_to_servlet' D:/10_tools/jruby/lib/ruby/gems/shared/gems/mizuno-0.6.4/lib/mizuno/rack_servlet.rb:88:inservice'
org/jruby/RubyKernel.java:1254:in catch' D:/10_tools/jruby/lib/ruby/gems/shared/gems/mizuno-0.6.4/lib/mizuno/rack_servlet.rb:82:inservice'
D:/10_tools/jruby/lib/ruby/gems/shared/gems/mizuno-0.6.4/lib/mizuno/rack_servlet.rb:247:in handle_exceptions' D:/10_tools/jruby/lib/ruby/gems/shared/gems/mizuno-0.6.4/lib/mizuno/rack_servlet.rb:53:inservice'

Exception: wrong number of arguments (1 for 0)
D:/10_tools/jruby/lib/ruby/1.9/monitor.rb:139:in signal' D:/10_tools/jruby/lib/ruby/gems/shared/gems/activerecord-3.2.11/lib/active_record/connection_adapters/abstract/connection_pool.rb:289:incheckin'
D:/10_tools/jruby/lib/ruby/gems/shared/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:406:in _run__516397583__checkin__379938875__callbacks' org/jruby/RubyBasicObject.java:1703:insend'
org/jruby/RubyKernel.java:2209:in send' D:/10_tools/jruby/lib/ruby/gems/shared/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:405:inrun_callback'
D:/10_tools/jruby/lib/ruby/gems/shared/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:390:in _run_checkin_callbacks' org/jruby/RubyBasicObject.java:1703:in__send
'
org/jruby/RubyKernel.java:2209:in send' D:/10_tools/jruby/lib/ruby/gems/shared/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:81:inrun_callbacks'
D:/10_tools/jruby/lib/ruby/gems/shared/gems/activerecord-3.2.11/lib/active_record/connection_adapters/abstract/connection_pool.rb:287:in checkin' D:/10_tools/jruby/lib/ruby/1.9/monitor.rb:211:inmon_synchronize'
D:/10_tools/jruby/lib/ruby/1.9/monitor.rb:210:in mon_synchronize' D:/10_tools/jruby/lib/ruby/gems/shared/gems/activerecord-3.2.11/lib/active_record/connection_adapters/abstract/connection_pool.rb:286:incheckin'
D:/10_tools/jruby/lib/ruby/gems/shared/gems/activerecord-3.2.11/lib/active_record/connection_adapters/abstract/connection_pool.rb:120:in release_connection' D:/10_tools/jruby/lib/ruby/gems/shared/gems/activerecord-3.2.11/lib/active_record/connection_adapters/abstract/connection_pool.rb:387:inclear_active_connections!'
org/jruby/RubyHash.java:1375:in each_value' D:/10_tools/jruby/lib/ruby/gems/shared/gems/activerecord-3.2.11/lib/active_record/connection_adapters/abstract/connection_pool.rb:387:inclear_active_connections!'
D:/10_tools/jruby/lib/ruby/gems/shared/gems/activerecord-3.2.11/lib/active_record/connection_adapters/abstract/connection_specification.rb:184:in clear_active_connections!' D:/10_tools/jruby/lib/ruby/gems/shared/gems/activerecord-3.2.11/lib/active_record/connection_adapters/abstract/connection_pool.rb:468:inclose'
D:/10_tools/jruby/lib/ruby/gems/shared/gems/mizuno-0.6.4/lib/mizuno/rack_servlet.rb:236:in rack_to_servlet' D:/10_tools/jruby/lib/ruby/gems/shared/gems/mizuno-0.6.4/lib/mizuno/rack_servlet.rb:88:inservice'
org/jruby/RubyKernel.java:1254:in catch' D:/10_tools/jruby/lib/ruby/gems/shared/gems/mizuno-0.6.4/lib/mizuno/rack_servlet.rb:82:inservice'
D:/10_tools/jruby/lib/ruby/gems/shared/gems/mizuno-0.6.4/lib/mizuno/rack_servlet.rb:247:in handle_exceptions' D:/10_tools/jruby/lib/ruby/gems/shared/gems/mizuno-0.6.4/lib/mizuno/rack_servlet.rb:53:inservice'
Exception: wrong number of arguments (1 for 0)
D:/10_tools/jruby/lib/ruby/1.9/monitor.rb:139:in signal' D:/10_tools/jruby/lib/ruby/gems/shared/gems/activerecord-3.2.11/lib/active_record/connection_adapters/abstract/connection_pool.rb:289:incheckin'
D:/10_tools/jruby/lib/ruby/gems/shared/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:406:in _run__516397583__checkin__379938875__callbacks' org/jruby/RubyBasicObject.java:1703:insend'
org/jruby/RubyKernel.java:2209:in send' D:/10_tools/jruby/lib/ruby/gems/shared/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:405:inrun_callback'
D:/10_tools/jruby/lib/ruby/gems/shared/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:390:in _run_checkin_callbacks' org/jruby/RubyBasicObject.java:1703:in__send
'
org/jruby/RubyKernel.java:2209:in send' D:/10_tools/jruby/lib/ruby/gems/shared/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:81:inrun_callbacks'
D:/10_tools/jruby/lib/ruby/gems/shared/gems/activerecord-3.2.11/lib/active_record/connection_adapters/abstract/connection_pool.rb:287:in checkin' D:/10_tools/jruby/lib/ruby/1.9/monitor.rb:211:inmon_synchronize'
D:/10_tools/jruby/lib/ruby/1.9/monitor.rb:210:in mon_synchronize' D:/10_tools/jruby/lib/ruby/gems/shared/gems/activerecord-3.2.11/lib/active_record/connection_adapters/abstract/connection_pool.rb:286:incheckin'
D:/10_tools/jruby/lib/ruby/gems/shared/gems/activerecord-3.2.11/lib/active_record/connection_adapters/abstract/connection_pool.rb:120:in release_connection' D:/10_tools/jruby/lib/ruby/gems/shared/gems/activerecord-3.2.11/lib/active_record/connection_adapters/abstract/connection_pool.rb:387:inclear_active_connections!'
org/jruby/RubyHash.java:1375:in each_value' D:/10_tools/jruby/lib/ruby/gems/shared/gems/activerecord-3.2.11/lib/active_record/connection_adapters/abstract/connection_pool.rb:387:inclear_active_connections!'
D:/10_tools/jruby/lib/ruby/gems/shared/gems/activerecord-3.2.11/lib/active_record/connection_adapters/abstract/connection_specification.rb:184:in clear_active_connections!' D:/10_tools/jruby/lib/ruby/gems/shared/gems/activerecord-3.2.11/lib/active_record/connection_adapters/abstract/connection_pool.rb:468:inclose'
D:/10_tools/jruby/lib/ruby/gems/shared/gems/mizuno-0.6.4/lib/mizuno/rack_servlet.rb:236:in rack_to_servlet' ActionView::Template::Error (super: no superclass methodappend='):
6: action_links ||= active_scaffold_config.action_links.member
7: -%>
8:
9:
10: <%= render :partial => 'list_record_columns', :locals => {:record => record, :columns => columns} %>
11: <%= render :partial => 'list_actions', :locals => {:record => record, :url_options => url_options, :action_links => action_links} unless action_links.empty? %>
12: <%= render_nested_view(action_links, url_options, record) unless @nested_auto_open.nil? %>
actionpack (3.2.11) lib/action_view/buffers.rb:11:in <<' D:/10_tools/jruby/lib/ruby/gems/shared/bundler/gems/active_scaffold-25ce6cd97c05/frontends/default/views/_list_record.html.erb:9:in_______tools_jruby_lib_ruby_gems_shared_bundler_gems_active_scaffold___ce_cd__c___frontends_default_views__list_record_html_erb___307141303_25950'
org/jruby/RubyBasicObject.java:1715:in __send__' org/jruby/RubyKernel.java:2217:in send'
actionpack (3.2.11) lib/action_view/template.rb:145:inrender' activesupport (3.2.11) lib/active_support/notifications.rb:125:in instrument'
actionpack (3.2.11) lib/action_view/template.rb:143:inrender' actionpack (3.2.11) lib/action_view/renderer/partial_renderer.rb:351:in collection_with_template'
org/jruby/RubyArray.java:1617:ineach' actionpack (3.2.11) lib/action_view/renderer/partial_renderer.rb:348:in collection_with_template'
actionpack (3.2.11) lib/action_view/renderer/partial_renderer.rb:250:inrender_collection' actionpack (3.2.11) lib/action_view/renderer/partial_renderer.rb:234:in render'
actionpack (3.2.11) lib/action_view/renderer/abstract_renderer.rb:38:ininstrument' activesupport (3.2.11) lib/active_support/notifications.rb:123:in instrument'
activesupport (3.2.11) lib/active_support/notifications/instrumenter.rb:20:ininstrument' activesupport (3.2.11) lib/active_support/notifications/instrumenter.rb:19:in instrument'
activesupport (3.2.11) lib/active_support/notifications.rb:123:ininstrument' actionpack (3.2.11) lib/action_view/renderer/abstract_renderer.rb:38:in instrument'
actionpack (3.2.11) lib/action_view/renderer/partial_renderer.rb:233:inrender' actionpack (3.2.11) lib/action_view/renderer/renderer.rb:41:in render_partial'
actionpack (3.2.11) lib/action_view/renderer/renderer.rb:15:inrender' actionpack (3.2.11) lib/action_view/helpers/rendering_helper.rb:24:in render'
D:/10_tools/jruby/lib/ruby/gems/shared/bundler/gems/active_scaffold-25ce6cd97c05/lib/active_scaffold/extensions/action_view_rendering.rb:103:inrender_with_active_scaffold' D:/10_tools/jruby/lib/ruby/gems/shared/bundler/gems/active_scaffold-25ce6cd97c05/frontends/default/views/_list.html.erb:11:in _______tools_jruby_lib_ruby_gems_shared_bundler_gems_active_scaffold___ce_cd__c___frontends_default_views__list_html_erb__1109625968_25706'
org/jruby/RubyBasicObject.java:1715:in__send__' org/jruby/RubyKernel.java:2217:in send'
actionpack (3.2.11) lib/action_view/template.rb:145:inrender' activesupport (3.2.11) lib/active_support/notifications.rb:125:in instrument'
actionpack (3.2.11) lib/action_view/template.rb:143:inrender' actionpack (3.2.11) lib/action_view/renderer/partial_renderer.rb:265:in render_partial'
actionpack (3.2.11) lib/action_view/renderer/partial_renderer.rb:238:inrender' actionpack (3.2.11) lib/action_view/renderer/abstract_renderer.rb:38:in instrument'
activesupport (3.2.11) lib/active_support/notifications.rb:123:ininstrument' activesupport (3.2.11) lib/active_support/notifications/instrumenter.rb:20:in instrument'
activesupport (3.2.11) lib/active_support/notifications/instrumenter.rb:19:ininstrument' activesupport (3.2.11) lib/active_support/notifications.rb:123:in instrument'
actionpack (3.2.11) lib/action_view/renderer/abstract_renderer.rb:38:ininstrument' actionpack (3.2.11) lib/action_view/renderer/partial_renderer.rb:237:in render'
actionpack (3.2.11) lib/action_view/renderer/renderer.rb:41:inrender_partial' actionpack (3.2.11) lib/action_view/renderer/renderer.rb:15:in render'
actionpack (3.2.11) lib/action_view/helpers/rendering_helper.rb:24:inrender' D:/10_tools/jruby/lib/ruby/gems/shared/bundler/gems/active_scaffold-25ce6cd97c05/lib/active_scaffold/extensions/action_view_rendering.rb:103:in render_with_active_scaffold'
D:/10_tools/jruby/lib/ruby/gems/shared/bundler/gems/active_scaffold-25ce6cd97c05/frontends/default/views/_list_with_header.html.erb:34:in_______tools_jruby_lib_ruby_gems_shared_bundler_gems_active_scaffold___ce_cd__c___frontends_default_views__list_with_header_html_erb___684283842_25588' org/jruby/RubyBasicObject.java:1715:in send'
org/jruby/RubyKernel.java:2217:insend' actionpack (3.2.11) lib/action_view/template.rb:145:in render'
activesupport (3.2.11) lib/active_support/notifications.rb:125:ininstrument' actionpack (3.2.11) lib/action_view/template.rb:143:in render'
actionpack (3.2.11) lib/action_view/renderer/partial_renderer.rb:265:inrender_partial' actionpack (3.2.11) lib/action_view/renderer/partial_renderer.rb:238:in render'
actionpack (3.2.11) lib/action_view/renderer/abstract_renderer.rb:38:ininstrument' activesupport (3.2.11) lib/active_support/notifications.rb:123:in instrument'
activesupport (3.2.11) lib/active_support/notifications/instrumenter.rb:20:ininstrument' activesupport (3.2.11) lib/active_support/notifications/instrumenter.rb:19:in instrument'
activesupport (3.2.11) lib/active_support/notifications.rb:123:ininstrument' actionpack (3.2.11) lib/action_view/renderer/abstract_renderer.rb:38:in instrument'
actionpack (3.2.11) lib/action_view/renderer/partial_renderer.rb:237:inrender' actionpack (3.2.11) lib/action_view/renderer/renderer.rb:41:in render_partial'
actionpack (3.2.11) lib/action_view/renderer/renderer.rb:15:inrender' actionpack (3.2.11) lib/action_view/helpers/rendering_helper.rb:24:in render'
D:/10_tools/jruby/lib/ruby/gems/shared/bundler/gems/active_scaffold-25ce6cd97c05/lib/active_scaffold/extensions/action_view_rendering.rb:103:inrender_with_active_scaffold' D:/10_tools/jruby/lib/ruby/gems/shared/bundler/gems/active_scaffold-25ce6cd97c05/frontends/default/views/list.html.erb:1:in _______tools_jruby_lib_ruby_gems_shared_bundler_gems_active_scaffold___ce_cd__c___frontends_default_views_list_html_erb__2056789888_25562'
org/jruby/RubyBasicObject.java:1715:in**send**' org/jruby/RubyKernel.java:2217:in send'
actionpack (3.2.11) lib/action_view/template.rb:145:inrender' activesupport (3.2.11) lib/active_support/notifications.rb:125:in instrument'
actionpack (3.2.11) lib/action_view/template.rb:143:inrender' actionpack (3.2.11) lib/action_view/renderer/template_renderer.rb:47:in render_template'
actionpack (3.2.11) lib/action_view/renderer/abstract_renderer.rb:38:ininstrument' activesupport (3.2.11) lib/active_support/notifications.rb:123:in instrument'
activesupport (3.2.11) lib/active_support/notifications/instrumenter.rb:20:ininstrument' activesupport (3.2.11) lib/active_support/notifications/instrumenter.rb:19:in instrument'
activesupport (3.2.11) lib/active_support/notifications.rb:123:ininstrument' actionpack (3.2.11) lib/action_view/renderer/abstract_renderer.rb:38:in instrument'
actionpack (3.2.11) lib/action_view/renderer/template_renderer.rb:46:inrender_template' actionpack (3.2.11) lib/action_view/renderer/template_renderer.rb:54:in render_with_layout'
actionpack (3.2.11) lib/action_view/renderer/template_renderer.rb:45:inrender_template' actionpack (3.2.11) lib/action_view/renderer/template_renderer.rb:18:in render'
actionpack (3.2.11) lib/action_view/renderer/renderer.rb:36:inrender_template' actionpack (3.2.11) lib/action_view/renderer/renderer.rb:17:in render'
actionpack (3.2.11) lib/abstract_controller/rendering.rb:110:in_render_template' actionpack (3.2.11) lib/action_controller/metal/streaming.rb:225:in _render_template'
actionpack (3.2.11) lib/abstract_controller/rendering.rb:103:inrender_to_body' actionpack (3.2.11) lib/action_controller/metal/renderers.rb:28:in render_to_body'
actionpack (3.2.11) lib/action_controller/metal/compatibility.rb:50:inrender_to_body' actionpack (3.2.11) lib/abstract_controller/rendering.rb:88:in render'
actionpack (3.2.11) lib/action_controller/metal/rendering.rb:16:inrender' actionpack (3.2.11) lib/action_controller/metal/instrumentation.rb:40:in render'
activesupport (3.2.11) lib/active_support/core_ext/benchmark.rb:5:inms' D:/10_tools/jruby/lib/ruby/1.9/benchmark.rb:295:in realtime'
activesupport (3.2.11) lib/active_support/core_ext/benchmark.rb:5:inms' actionpack (3.2.11) lib/action_controller/metal/instrumentation.rb:40:in render'
actionpack (3.2.11) lib/action_controller/metal/instrumentation.rb:83:incleanup_view_runtime' activerecord (3.2.11) lib/active_record/railties/controller_runtime.rb:24:in cleanup_view_runtime'
actionpack (3.2.11) lib/action_controller/metal/instrumentation.rb:39:inrender' D:/10_tools/jruby/lib/ruby/gems/shared/bundler/gems/active_scaffold-25ce6cd97c05/lib/active_scaffold/extensions/action_controller_rendering.rb:14:in render_with_active_scaffold'
D:/10_tools/jruby/lib/ruby/gems/shared/bundler/gems/active_scaffold-25ce6cd97c05/lib/active_scaffold/actions/list.rb:33:inlist_respond_to_html' org/jruby/RubyBasicObject.java:1703:in send'
org/jruby/RubyKernel.java:2209:in send' D:/10_tools/jruby/lib/ruby/gems/shared/bundler/gems/active_scaffold-25ce6cd97c05/lib/active_scaffold/actions/core.rb:188:inrespond_to_action'
org/jruby/RubyProc.java:255:in call' actionpack (3.2.11) lib/action_controller/metal/mime_responds.rb:196:inrespond_to'
D:/10_tools/jruby/lib/ruby/gems/shared/bundler/gems/active_scaffold-25ce6cd97c05/lib/active_scaffold/actions/core.rb:184:in respond_to_action' D:/10_tools/jruby/lib/ruby/gems/shared/bundler/gems/active_scaffold-25ce6cd97c05/lib/active_scaffold/actions/list.rb:25:inlist'
D:/10_tools/jruby/lib/ruby/gems/shared/bundler/gems/active_scaffold-25ce6cd97c05/lib/active_scaffold/actions/list.rb:9:in index' org/jruby/RubyBasicObject.java:1703:insend'
org/jruby/RubyKernel.java:2209:in send' actionpack (3.2.11) lib/action_controller/metal/implicit_render.rb:4:insend_action'
actionpack (3.2.11) lib/abstract_controller/base.rb:167:in process_action' actionpack (3.2.11) lib/action_controller/metal/rendering.rb:10:inprocess_action'
actionpack (3.2.11) lib/abstract_controller/callbacks.rb:18:in process_action' activesupport (3.2.11) lib/active_support/callbacks.rb:549:in_run__1301928008__process_action__1147762782__callbacks'
org/jruby/RubyBasicObject.java:1703:in __send__' org/jruby/RubyKernel.java:2209:in send'
activesupport (3.2.11) lib/active_support/callbacks.rb:405:in**run_callback' activesupport (3.2.11) lib/active_support/callbacks.rb:390:in _run_process_action_callbacks'
org/jruby/RubyBasicObject.java:1730:in__send**' org/jruby/RubyKernel.java:2221:in send'
activesupport (3.2.11) lib/active_support/callbacks.rb:81:inrun_callbacks' actionpack (3.2.11) lib/abstract_controller/callbacks.rb:17:in process_action'
actionpack (3.2.11) lib/action_controller/metal/rescue.rb:29:inprocess_action' actionpack (3.2.11) lib/action_controller/metal/instrumentation.rb:30:in process_action'
activesupport (3.2.11) lib/active_support/notifications.rb:123:ininstrument' activesupport (3.2.11) lib/active_support/notifications/instrumenter.rb:20:in instrument'
activesupport (3.2.11) lib/active_support/notifications/instrumenter.rb:19:ininstrument' activesupport (3.2.11) lib/active_support/notifications.rb:123:in instrument'
actionpack (3.2.11) lib/action_controller/metal/instrumentation.rb:29:inprocess_action' actionpack (3.2.11) lib/action_controller/metal/params_wrapper.rb:207:in process_action'
activerecord (3.2.11) lib/active_record/railties/controller_runtime.rb:18:inprocess_action' actionpack (3.2.11) lib/abstract_controller/base.rb:121:in process'
actionpack (3.2.11) lib/abstract_controller/rendering.rb:45:inprocess' actionpack (3.2.11) lib/action_controller/metal.rb:203:in dispatch'
actionpack (3.2.11) lib/action_controller/metal/rack_delegation.rb:14:indispatch' actionpack (3.2.11) lib/action_controller/metal.rb:246:in action'
org/jruby/RubyProc.java:255:incall' actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:73:in dispatch'
actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:36:incall' journey (1.0.4) lib/journey/router.rb:68:in call'
org/jruby/RubyArray.java:1617:ineach' journey (1.0.4) lib/journey/router.rb:56:in call'
actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:601:incall' actionpack (3.2.11) lib/action_dispatch/middleware/best_standards_support.rb:17:in call'
rack (1.4.4) lib/rack/etag.rb:23:incall' rack (1.4.4) lib/rack/conditionalget.rb:25:in call'
actionpack (3.2.11) lib/action_dispatch/middleware/head.rb:14:incall' actionpack (3.2.11) lib/action_dispatch/middleware/params_parser.rb:21:in call'
actionpack (3.2.11) lib/action_dispatch/middleware/flash.rb:242:incall' rack (1.4.4) lib/rack/session/abstract/id.rb:210:in context'
rack (1.4.4) lib/rack/session/abstract/id.rb:205:incall' actionpack (3.2.11) lib/action_dispatch/middleware/cookies.rb:341:in call'
activerecord (3.2.11) lib/active_record/query_cache.rb:64:incall' activerecord (3.2.11) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in call'
actionpack (3.2.11) lib/action_dispatch/middleware/callbacks.rb:28:incall' activesupport (3.2.11) lib/active_support/callbacks.rb:408:in _run__1848551080__call__1152039165__callbacks'
org/jruby/RubyBasicObject.java:1703:in**send**' org/jruby/RubyKernel.java:2209:in send'
activesupport (3.2.11) lib/active_support/callbacks.rb:405:in**run_callback' activesupport (3.2.11) lib/active_support/callbacks.rb:390:in _run_call_callbacks'
org/jruby/RubyBasicObject.java:1730:in__send**' org/jruby/RubyKernel.java:2221:in send'

@hydrogen18
Copy link

I can confirm this still happens with RoR 3.2. Does anyone have a workaround?

exception:  wrong number of arguments (1 for 0)
backtrace:  /home/ericu/.rvm/rubies/jruby-1.7.19/lib/ruby/1.9/monitor.rb:139:in `signal'
/home/ericu/.rvm/gems/jruby-1.7.19@community/gems/activerecord-3.2.18/lib/active_record/connection_adapters/abstract/connection_pool.rb:289:in `checkin'
/home/ericu/.rvm/gems/jruby-1.7.19@community/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:406:in `_run__788318293__checkin__59997172__callbacks'
/home/ericu/.rvm/gems/jruby-1.7.19@community/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:405:in `__run_callback'
/home/ericu/.rvm/gems/jruby-1.7.19@community/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:390:in `_run_checkin_callbacks'
/home/ericu/.rvm/gems/jruby-1.7.19@community/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:81:in `run_callbacks'
/home/ericu/.rvm/gems/jruby-1.7.19@community/gems/activerecord-3.2.18/lib/active_record/connection_adapters/abstract/connection_pool.rb:287:in `checkin'
/home/ericu/.rvm/rubies/jruby-1.7.19/lib/ruby/1.9/monitor.rb:211:in `mon_synchronize'
/home/ericu/.rvm/rubies/jruby-1.7.19/lib/ruby/1.9/monitor.rb:210:in `mon_synchronize'
/home/ericu/.rvm/gems/jruby-1.7.19@community/gems/activerecord-3.2.18/lib/active_record/connection_adapters/abstract/connection_pool.rb:286:in `checkin'
/home/ericu/.rvm/gems/jruby-1.7.19@community/gems/activerecord-3.2.18/lib/active_record/connection_adapters/abstract/connection_pool.rb:120:in `release_connection'
/home/ericu/community/config/initializers/000_rails_patches.rb:121:in `release_connection_with_synchronization'
/home/ericu/.rvm/rubies/jruby-1.7.19/lib/ruby/1.9/monitor.rb:211:in `mon_synchronize'
/home/ericu/.rvm/rubies/jruby-1.7.19/lib/ruby/1.9/monitor.rb:210:in `mon_synchronize'
/home/ericu/community/config/initializers/000_rails_patches.rb:120:in `release_connection_with_synchronization'
/home/ericu/.rvm/gems/jruby-1.7.19@community/gems/activerecord-3.2.18/lib/active_record/connection_adapters/abstract/connection_pool.rb:131:in `with_connection'
/home/ericu/community/vendor/gems/background_jobs/lib/background_jobs/consumer.rb:225:in `handleDelivery'
/home/ericu/.rvm/gems/jruby-1.7.19@community/gems/statsd-ruby-1.2.1/lib/statsd.rb:232:in `time'
/home/ericu/community/vendor/gems/background_jobs/lib/background_jobs/consumer.rb:224:in `handleDelivery'
/home/ericu/community/vendor/gems/background_jobs/lib/background_jobs/consumer.rb:222:in `handleDelivery'

@enebo
Copy link
Member

enebo commented May 17, 2017

1.7.x is EOL and this will not get fixed. Marking WONTFIX

@enebo enebo closed this as completed May 17, 2017
@enebo enebo added this to the Won't Fix milestone May 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants