This project is read-only.
1

Resolved

GetMBeanCount throws an exception

description

System.NullReferenceException was unhandled
Message="Object reference not set to an instance of an object."
Source="WSMan.NET"
StackTrace:
   at WSMan.NET.Enumeration.EnumerationClient.EstimateCount(Uri resourceUri, Filter filter, IEnumerable`1 selectors) in C:\Users\Simon\Documents\Visual Studio 2008\Projects\WSMan.NET\WSMan.NET\WSMan.NET\Enumeration\EnumerationClient.cs:line 48
   at WSMan.NET.Enumeration.EnumerationClient.EstimateCount(Uri resourceUri, Filter filter, Selector[] selectors) in C:\Users\Simon\Documents\Visual Studio 2008\Projects\WSMan.NET\WSMan.NET\WSMan.NET\Enumeration\EnumerationClient.cs:line 24
   at NetMX.Remote.Jsr262.Client.Jsr262MBeanServerConnection.GetMBeanCount() in C:\dev\Visual Studio 2008\NetMX\NetMX.Remote.Jsr262\Client\Jsr262MBeanServerConnection.cs:line 176
   at JmxClientDemo.Program.ShowInfo(IMBeanServerConnection connection) in C:\dev\Visual Studio 2008\NetMX\Samples\JmxClientDemo\Program.cs:line 139
   at JmxClientDemo.Program.QueryAgentConnectorDemo() in C:\dev\Visual Studio 2008\NetMX\Samples\JmxClientDemo\Program.cs:line 122
   at JmxClientDemo.Program.Main(String[] args) in C:\dev\Visual Studio 2008\NetMX\Samples\JmxClientDemo\Program.cs:line 17
   at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
   at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
   at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()
InnerException:

comments