ArgumentError: wrong number of arguments (1 for 0)

18 views
Skip to first unread message

viren...@teliax.com

unread,
Feb 26, 2018, 5:49:11 AM2/26/18
to Celluloid
A couple of days back Airbrake reported us a the following error. 

ArgumentError: wrong number of arguments (1 for 0)

/gems/celluloid-0.17.1.1/lib/celluloid/system_events.rb:6 in handle_system_event
/gems/celluloid-0.17.1.1/lib/celluloid/actor.rb:123 in block in initialize
org/jruby/RubyProc.java:318 in call
/gems/celluloid-essentials-0.20.2/lib/celluloid/internals/handlers.rb:38 in call
/gems/celluloid-essentials-0.20.2/lib/celluloid/internals/handlers.rb:20 in handle_message
/gems/celluloid-0.17.1.1/lib/celluloid/actor.rb:282 in handle_message
/gems/celluloid-0.17.1.1/lib/celluloid/actor.rb:156 in block in run
/gems/timers-4.0.4/lib/timers/group.rb:66 in wait
/gems/celluloid-0.17.1.1/lib/celluloid/actor.rb:152 in run
/gems/celluloid-0.17.1.1/lib/celluloid/actor.rb:131 in block in start
/gems/celluloid-essentials-0.20.2/lib/celluloid/internals/thread_handle.rb:14 in block in initialize
/gems/celluloid-0.17.1.1/lib/celluloid/actor/system.rb:78 in block in get_thread
org/jruby/RubyProc.java:318 in call
/gems/celluloid-0.17.1.1/lib/celluloid/group/spawner.rb:53 in block in instantiate


This resulted in our system coming to halt as the actors were unable to process any request further. And all our request was timing out.

Not sure related though but we receive the following error too just after we receive the above error. (also reported by Airbrake)

TypeError: can't move to the enclosed thread group


org/jruby/RubyThreadGroup.java:87 in add

[GEM_ROOT]/gems/airbrake-ruby-1.1.0/lib/airbrake-ruby/async_sender.rb:93 in block in spawn_workers

org/jruby/RubyFixnum.java:296 in times

[GEM_ROOT]/gems/airbrake-ruby-1.1.0/lib/airbrake-ruby/async_sender.rb:93 in spawn_workers

[GEM_ROOT]/gems/airbrake-ruby-1.1.0/lib/airbrake-ruby/async_sender.rb:83 in has_workers?

[GEM_ROOT]/gems/airbrake-ruby-1.1.0/lib/airbrake-ruby/notifier.rb:130 in default_sender

[GEM_ROOT]/gems/airbrake-ruby-1.1.0/lib/airbrake-ruby/notifier.rb:45 in send_notice

[GEM_ROOT]/gems/airbrake-ruby-1.1.0/lib/airbrake-ruby/notifier.rb:45 in notify

[GEM_ROOT]/gems/airbrake-ruby-1.1.0/lib/airbrake-ruby.rb:282 in call_notifier

[GEM_ROOT]/gems/airbrake-ruby-1.1.0/lib/airbrake-ruby.rb:136 in notify

/srv/apps/policy_router/releases/20180212104356/lib/policy_router/response_handler.rb:52 in start

/srv/apps/policy_router/releases/20180212104356/lib/policy_router/request_handler.rb:7 in start

org/jruby/RubyKernel.java:1823 in public_send

[GEM_ROOT]/gems/celluloid-0.17.1.1/lib/celluloid/calls.rb:28 in dispatch

[GEM_ROOT]/gems/celluloid-0.17.1.1/lib/celluloid/call/sync.rb:16 in dispatch

[GEM_ROOT]/gems/celluloid-0.17.1.1/lib/celluloid/cell.rb:50 in block in dispatch

[GEM_ROOT]/gems/celluloid-0.17.1.1/lib/celluloid/cell.rb:76 in block in task

[GEM_ROOT]/gems/celluloid-0.17.1.1/lib/celluloid/actor.rb:338 in block in task

[GEM_ROOT]/gems/celluloid-0.17.1.1/lib/celluloid/task.rb:44 in block in initialize

[GEM_ROOT]/gems/celluloid-0.17.1.1/lib/celluloid/task/fibered.rb:14 in block in create

(celluloid): in remote procedure call

[GEM_ROOT]/gems/celluloid-0.17.1.1/lib/celluloid/call/sync.rb:45 in value

[GEM_ROOT]/gems/celluloid-0.17.1.1/lib/celluloid/proxy/sync.rb:38 in method_missing

[GEM_ROOT]/gems/celluloid-0.17.1.1/lib/celluloid/proxy/cell.rb:18 in _send_

[GEM_ROOT]/gems/celluloid-pool-0.20.0/lib/celluloid/supervision/container/pool.rb:45 in _send_

[GEM_ROOT]/gems/celluloid-pool-0.20.0/lib/celluloid/supervision/container/pool.rb:199 in method_missing

[GEM_ROOT]/gems/celluloid-0.17.1.1/lib/celluloid/calls.rb:28 in public_send

[GEM_ROOT]/gems/celluloid-0.17.1.1/lib/celluloid/calls.rb:28 in dispatch

[GEM_ROOT]/gems/celluloid-0.17.1.1/lib/celluloid/call/async.rb:7 in dispatch

[GEM_ROOT]/gems/celluloid-0.17.1.1/lib/celluloid/cell.rb:50 in block in dispatch

[GEM_ROOT]/gems/celluloid-0.17.1.1/lib/celluloid/cell.rb:76 in block in task

[GEM_ROOT]/gems/celluloid-0.17.1.1/lib/celluloid/actor.rb:338 in block in task

[GEM_ROOT]/gems/celluloid-0.17.1.1/lib/celluloid/task.rb:44 in block in initialize

[GEM_ROOT]/gems/celluloid-0.17.1.1/lib/celluloid/task/fibered.rb:14 in block in create


The system ran perfectly when the load was high the error propagated when the load was low. Any specific reason for the above error.

Celluloid Version :  celluloid-0.17.1.1
Jruby Version: jruby 9.0.5.0 (2.2.3) 2016-01-26 7bee00d Java HotSpot(TM) 64-Bit Server



 
Reply all
Reply to author
Forward
0 new messages