cdhunt / newrelic_perfmon_plugin

NewRelic Windows Perfmon Plugin
MIT License
5 stars 3 forks source link

Crash by NullReferenceException #1

Open cdhunt opened 10 years ago

cdhunt commented 10 years ago

Application: newrelic_perfmon_plugin.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.NullReferenceException Stack: at NewRelic.Platform.Sdk.Runner.SetupAndRun() at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object) at System.Threading.ThreadHelper.ThreadStart()

cdhunt commented 10 years ago

Based on the logs, the last line executed is this:

https://github.com/newrelic-platform/newrelic_dotnet_sdk/blob/master/NewRelic.Platform.Sdk/Binding/Context.cs#L138

Fydon commented 9 years ago

I was getting a null pointer exception at line 245. I've created a pull request to hopefully fix the problem.