wrong number of arguments (0 for 1) running with Merb 1.0.15 and 2.10.6
When trying to run 2.10.6 with Merb 1.0.15, I get the following stack trace:
wrong number of arguments (0 for 1)
/Users/andy/.rvm/gems/ruby-1.8.6-p399/gems/newrelic_rpm-2.10.6/lib/new_relic/agent/instrumentation/controller_instrumentation.rb:319:in
newrelic_metric_path'
/Users/andy/.rvm/gems/ruby-1.8.6-p399/gems/newrelic_rpm-2.10.6/lib/new_relic/agent/instrumentation/controller_instrumentation.rb:319:in_push_metric_frame'
/Users/andy/.rvm/gems/ruby-1.8.6-p399/gems/newrelic_rpm-2.10.6/lib/new_relic/agent/instrumentation/controller_instrumentation.rb:246:in
_dispatch'
/Users/andy/.rvm/gems/ruby-1.8.6-p399/gems/merb-core-1.0.15/lib/merb-core/dispatch/dispatcher.rb:146:indispatch_exception'
/Users/andy/.rvm/gems/ruby-1.8.6-p399/gems/merb-core-1.0.15/lib/merb-core/dispatch/dispatcher.rb:80:in
handle'
/Users/andy/.rvm/gems/ruby-1.8.6-p399/gems/merb-core-1.0.15/lib/merb-core/dispatch/dispatcher.rb:36:inhandle'
[...]
This appears to be a regression as I don't have the same problem with 2.9.9
Comments are currently closed for this discussion. You can start a new one.
Support Staff 2 Posted by Bill Kayser on 09 Mar, 2010 07:42 PM
Andy thanks for reporting this. I'll get right back to you.
Support Staff 3 Posted by Bill Kayser on 16 Mar, 2010 01:06 AM
Sorry for the delay on this. I've got a fix but I wasn't able to test it because I can't access the merb gems right now. But I'm pretty sure this resolves the issue.
You can try it out with the 2.10.7_dev branch on github.com/newrelic/rpm. Please let me know if this works.
4 Posted by bennett on 17 Mar, 2010 03:27 PM
Hi Bill,
That fix worked like a charm. Thanks!
Support Staff 5 Posted by Bill Kayser on 17 Mar, 2010 04:13 PM
Great. I'll try to get a release out early next week.
Support Staff 6 Posted by Bill Kayser on 26 Mar, 2010 08:43 PM
Just released the fix:
http://rpmstatus.newrelic.com/2010/03/26/ruby-agent-2-10-8/
Bill Kayser resolved this discussion on 26 Mar, 2010 08:43 PM.
andy re-opened this discussion on 30 Mar, 2010 08:43 AM
7 Posted by andy on 30 Mar, 2010 08:43 AM
Just had a chance to work with this gem release and the stack trace has gone
under Merb, thanks.
If I come across anything else, I'll let you know.
Cheers.
Ralph Bodenner resolved this discussion on 30 Mar, 2010 03:17 PM.
Bill Kayser re-opened this discussion on 30 Mar, 2010 09:03 PM
Support Staff 8 Posted by Bill Kayser on 30 Mar, 2010 09:03 PM
Thanks for letting us know.
Bill Kayser resolved this discussion on 03 Apr, 2010 01:51 AM.