stats engine is reporting an error and not logging any actions from my application.
This occurs on every request
[02/16/09 15:35:30 (99171)] ERROR : Caught exception in trace_method_execution footer. Metric name = Controller/translations/show, exception = You have a nil object when you didn't expect it!
The error occurred while evaluating nil.name
[02/16/09 15:35:30 (99171)] ERROR : /Users/jferguson/Netbooks/netbooks/vendor/plugins/newrelic_rpm/lib/new_relic/agent/stats_engine.rb:90:in `pop_scope'
I tried to debug it but newrelic's code is quite the beast to try and figure out from scratch, the best I could do is determine that scope is nil inside of pop_scope in the stats engine. Here is an example inspection of scope and then expected scope inside of pop_scope (after we do stack.pop).
nil
#<struct name="Controller/translations/show">
Any help would be appreciated. I'm sure there is some crazy thing we, or one of our other plugins are hijacking that is causing this.
[02/16/09 15:35:30 (99171)] ERROR : Caught exception in trace_method_execution footer. Metric name = Controller/translations/show, exception = You have a nil object when you didn't expect it!
The error occurred while evaluating nil.name
[02/16/09 15:35:30 (99171)] ERROR : /Users/jferguson/Netbooks/netbooks/vendor/plugins/newrelic_rpm/lib/new_relic/agent/stats_engine.rb:90:in `pop_scope'
I tried to debug it but newrelic's code is quite the beast to try and figure out from scratch, the best I could do is determine that scope is nil inside of pop_scope in the stats engine. Here is an example inspection of scope and then expected scope inside of pop_scope (after we do stack.pop).
nil
#<struct name="Controller/translations/show">
Any help would be appreciated. I'm sure there is some crazy thing we, or one of our other plugins are hijacking that is causing this.
1
person has this problem
I have this problem, too!
Tell me when someone solves it.
The more people who report this problem, the more it gets noticed.
The more people who report this problem, the more it gets noticed.
The company has acknowledged this problem.
Create a customer community for your own organization
Plans starting at $19/month
-
Inappropriate?Josh, thanks for reporting this. I'm very concerned about this. This is the first report we've had of this problem. Can you follow-up with me at support@newrelic.com?
Please send an email with some details:
- confirm you are on the latest agent, or at least 2.8.*
- what version of rails?
- JRuby? MRE?
- using any of the (somewhat obscure) agent apis, like 'add_method_tracer'?
- happens in dev mode? have you tried with server mode (enabled=true)?
Can you confirm that this does not interfere with the application running normally? Error messages (and lack of stats) should be the only side-effects.
Loading Profile...



EMPLOYEE