wrong number of arguments (0 for 1) running with Merb 1.0.15 and 2.10.6

andy's Avatar

andy

09 Mar, 2010 12:40 PM via web

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

  1. Support Staff 2 Posted by Bill Kayser on 09 Mar, 2010 07:42 PM

    Bill Kayser's Avatar

    Andy thanks for reporting this. I'll get right back to you.

  2. Support Staff 3 Posted by Bill Kayser on 16 Mar, 2010 01:06 AM

    Bill Kayser's Avatar

    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.

  3. 4 Posted by bennett on 17 Mar, 2010 03:27 PM

    bennett's Avatar

    Hi Bill,

    That fix worked like a charm. Thanks!

  4. Support Staff 5 Posted by Bill Kayser on 17 Mar, 2010 04:13 PM

    Bill Kayser's Avatar

    Great. I'll try to get a release out early next week.

  5. Support Staff 6 Posted by Bill Kayser on 26 Mar, 2010 08:43 PM

    Bill Kayser's Avatar
  6. Bill Kayser resolved this discussion on 26 Mar, 2010 08:43 PM.

  7. andy re-opened this discussion on 30 Mar, 2010 08:43 AM

  8. 7 Posted by andy on 30 Mar, 2010 08:43 AM

    andy's Avatar

    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.

  9. Ralph Bodenner resolved this discussion on 30 Mar, 2010 03:17 PM.

  10. Bill Kayser re-opened this discussion on 30 Mar, 2010 09:03 PM

  11. Support Staff 8 Posted by Bill Kayser on 30 Mar, 2010 09:03 PM

    Bill Kayser's Avatar

    Thanks for letting us know.

  12. Bill Kayser resolved this discussion on 03 Apr, 2010 01:51 AM.

Comments are currently closed for this discussion. You can start a new one.