PerformanceCounter.RemoveInstance throws on mono #1678

Closed
davidfowl opened this Issue Mar 12, 2013 · 0 comments

Comments

Projects
None yet
1 participant
Owner

davidfowl commented Mar 12, 2013

[ERROR] FATAL UNHANDLED EXCEPTION: System.AggregateException: One or more errors occured ---> System.NotImplementedException: The requested feature is not implemented.
  at System.Diagnostics.PerformanceCounter.RemoveInstance () [0x00000] in /Users/builder/data/lanes/mono-mac-ui-refresh-2-10/2baeee2f/source/bockbuild/profiles/mono-2-10/build-root/mono-2.10.11/_build/mono-2.10.11.git/mcs/class/System/System.Diagnostics/PerformanceCounter.cs:377 
  at (wrapper remoting-invoke-with-check) System.Diagnostics.PerformanceCounter:RemoveInstance ()
  at Microsoft.AspNet.SignalR.Infrastructure.PerformanceCounterWrapper.RemoveInstance () [0x00000] in /Users/dfowler/dev/github/SignalR/src/Microsoft.AspNet.SignalR.Core/Infrastructure/PerformanceCounterWrapper.cs:52 
  at Microsoft.AspNet.SignalR.Infrastructure.PerformanceCounterManager.UnloadCounters () [0x0008b] in /Users/dfowler/dev/github/SignalR/src/Microsoft.AspNet.SignalR.Core/Infrastructure/PerformanceCounterManager.cs:278 
  at System.Threading.CancellationTokenSource.Cancel (Boolean throwOnFirstException) [0x00071] in /Users/builder/data/lanes/mono-mac-ui-refresh-2-10/2baeee2f/source/bockbuild/profiles/mono-2-10/build-root/mono-2.10.11/_build/mono-2.10.11.git/mcs/class/corlib/System.Threading/CancellationTokenSource.cs:109 
  --- End of inner exception stack trace ---
  at System.Threading.CancellationTokenSource.Cancel (Boolean throwOnFirstException) [0x000c3] in /Users/builder/data/lanes/mono-mac-ui-refresh-2-10/2baeee2f/source/bockbuild/profiles/mono-2-10/build-root/mono-2.10.11/_build/mono-2.10.11.git/mcs/class/corlib/System.Threading/CancellationTokenSource.cs:124 
  at Microsoft.Owin.Hosting.KatanaEngine+<>c__DisplayClass6.<EnableDisposing>b__5 () [0x00000] in <filename unknown>:0 
  at Microsoft.Owin.Hosting.Utilities.Disposable.Dispose () [0x00000] in <filename unknown>:0 
  at Microsoft.Owin.Hosting.KatanaEngine+<>c__DisplayClass1.<Start>b__0 () [0x00000] in <filename unknown>:0 
  at Microsoft.Owin.Hosting.Utilities.Disposable.Dispose () [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.Owin.Samples.Program.Main (System.String[] args) [0x00036] in /Users/dfowler/dev/github/SignalR/samples/Microsoft.AspNet.Owin.Samples/Program.cs:10 
 --> (Inner exception 0) System.NotImplementedException: The requested feature is not implemented.
  at System.Diagnostics.PerformanceCounter.RemoveInstance () [0x00000] in /Users/builder/data/lanes/mono-mac-ui-refresh-2-10/2baeee2f/source/bockbuild/profiles/mono-2-10/build-root/mono-2.10.11/_build/mono-2.10.11.git/mcs/class/System/System.Diagnostics/PerformanceCounter.cs:377 
  at (wrapper remoting-invoke-with-check) System.Diagnostics.PerformanceCounter:RemoveInstance ()
  at Microsoft.AspNet.SignalR.Infrastructure.PerformanceCounterWrapper.RemoveInstance () [0x00000] in /Users/dfowler/dev/github/SignalR/src/Microsoft.AspNet.SignalR.Core/Infrastructure/PerformanceCounterWrapper.cs:52 
  at Microsoft.AspNet.SignalR.Infrastructure.PerformanceCounterManager.UnloadCounters () [0x0008b] in /Users/dfowler/dev/github/SignalR/src/Microsoft.AspNet.SignalR.Core/Infrastructure/PerformanceCounterManager.cs:278 
  at System.Threading.CancellationTokenSource.Cancel (Boolean throwOnFirstException) [0x00071] in /Users/builder/data/lanes/mono-mac-ui-refresh-2-10/2baeee2f/source/bockbuild/profiles/mono-2-10/build-root/mono-2.10.11/_build/mono-2.10.11.git/mcs/class/corlib/System.Threading/CancellationTokenSource.cs:109

davidfowl was assigned Mar 18, 2013

davidfowl closed this Mar 18, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment