从newrelic_agent _ * .log中的事件处理程序抛出异常

时间:2014-03-28 09:38:08

标签: windows iis newrelic

NewRelic日志有错误:

...
2014-03-28 13:35:14,167 NewRelic INFO: Harvest starting
2014-03-28 13:35:15,136 NewRelic INFO: Harvest starting
2014-03-28 13:35:20,355 NewRelic INFO: Harvest starting
2014-03-28 13:35:23,543 NewRelic ERROR: Exception thrown from event handler.  Event handlers should not let exceptions bubble out of them.
System.NullReferenceException: Object reference not set to an instance of an object.
   at NewRelic.Agent.Core.Metric.StatsMap`1.Merge(T name, IStats newStats)
   at NewRelic.Agent.Core.Metric.StatsMap`1.Merge(IStatsMap`1 otherMap)
   at NewRelic.Agent.Core.Metric.StatsCollection.RecordTransactionStats(String scope, ITransactionStats txStats)
   at NewRelic.Agent.Core.Utilities.EventBus`1.Publish(T message)
2014-03-28 13:35:33,090 NewRelic INFO: Harvest starting
2014-03-28 13:36:07,575 NewRelic INFO: Harvest starting
...

Windows事件日志中不包含任何有关此内容的记录。

OS Windows 2012

状态监视器显示此应用程序的“New Relic尚未发送数据”。但是,协议有发送数据的记录。

有人知道这个错误吗?

1 个答案:

答案 0 :(得分:1)

导致此错误的问题已在.Net代理的2.22.79.0版中得到修复,因此如果您运行的是旧版本升级,则应解决此问题。