2 Replies Latest reply on Jun 26, 2013 8:56 AM by tprather

    Error on Management Pack Configuration

    tprather

      Hey guys,

       

      I'm having a weird issue that I was hoping you could shed some light into. We own an older version of NPM, but are testing the latest eval version in sandbox in order to determine our worth to upgrade. The SCOM Management Pack is a large factor. We're looking to get the health of our SCOM monitored applications on to the SolarWinds dashboard, but the pack is hanging on configuration.

       

      I installed the pack on our SCOM server, but when I try to configure the pack I recieve the following error.

       

      Untitled picture.png

       

      My IP, Port, and Username are all correct so I'm not sure what could be going on. The following is the error text:

       

      See the end of this message for details on invoking

      just-in-time (JIT) debugging instead of this dialog box.

       

      ************** Exception Text **************

      System.InvalidOperationException: Failed to compare two elements in the array. ---> System.NullReferenceException: Object reference not set to an instance of an object.

         at SolarWinds.Orion.SCOM.Config.Node.Comparison(Node x, Node y)

         at System.Collections.Generic.ArraySortHelper`1.SwapIfGreaterWithItems(T[] keys, IComparer`1 comparer, Int32 a, Int32 b)

         at System.Collections.Generic.ArraySortHelper`1.QuickSort(T[] keys, Int32 left, Int32 right, IComparer`1 comparer)

         at System.Collections.Generic.ArraySortHelper`1.QuickSort(T[] keys, Int32 left, Int32 right, IComparer`1 comparer)

         at System.Collections.Generic.ArraySortHelper`1.Sort(T[] keys, Int32 index, Int32 length, IComparer`1 comparer)

         --- End of inner exception stack trace ---

         at System.Collections.Generic.ArraySortHelper`1.Sort(T[] keys, Int32 index, Int32 length, IComparer`1 comparer)

         at SolarWinds.Orion.SCOM.Config.Node.Sort(ICollection`1 nodes)

         at SolarWinds.OrionSCOMConfigApp.WizardForm.initializeNodeList(String list, NodeSelection nodeSelect)

         at SolarWinds.OrionSCOMConfigApp.WizardForm.next_Click(Object sender, EventArgs e)

         at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)

         at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

         at System.Windows.Forms.Control.WndProc(Message& m)

         at System.Windows.Forms.ButtonBase.WndProc(Message& m)

         at System.Windows.Forms.Button.WndProc(Message& m)

         at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

       

       

      ************** Loaded Assemblies **************

      mscorlib

          Assembly Version: 4.0.0.0

          Win32 Version: 4.0.30319.296 (RTMGDR.030319-2900)

          CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll

      ----------------------------------------

      OrionSCOMConfigApp

          Assembly Version: 2.1.0.66

          Win32 Version: 2.1.0.66

          CodeBase: file:///C:/Program%20Files%20(x86)/SolarWinds/SolarWinds%20Management%20Pack%20for%20Operations%20Manager%202012/OrionSCOMConfigApp.exe

      ----------------------------------------

      OrionSCOMConfigClasses

          Assembly Version: 2.1.0.66

          Win32 Version: 2.1.0.66

          CodeBase: file:///C:/Program%20Files%20(x86)/SolarWinds/SolarWinds%20Management%20Pack%20for%20Operations%20Manager%202012/OrionSCOMConfigClasses.DLL

      ----------------------------------------

      System.Xml

          Assembly Version: 4.0.0.0

          Win32 Version: 4.0.30319.1 built by: RTMRel

          CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

      ----------------------------------------

      System

          Assembly Version: 4.0.0.0

          Win32 Version: 4.0.30319.1001 built by: RTMGDR

          CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

      ----------------------------------------

      System.Windows.Forms

          Assembly Version: 4.0.0.0

          Win32 Version: 4.0.30319.1002 built by: RTMGDR

          CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

      ----------------------------------------

      System.Drawing

          Assembly Version: 4.0.0.0

          Win32 Version: 4.0.30319.1001 built by: RTMGDR

          CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

      ----------------------------------------

      SolarWinds.Logging

          Assembly Version: 2.0.0.0

          Win32 Version: 2011.2.3.0

          CodeBase: file:///C:/Program%20Files%20(x86)/SolarWinds/SolarWinds%20Management%20Pack%20for%20Operations%20Manager%202012/SolarWinds.Logging.DLL

      ----------------------------------------

      log4net

          Assembly Version: 1.2.10.0

          Win32 Version: 1.2.10.0

          CodeBase: file:///C:/Program%20Files%20(x86)/SolarWinds/SolarWinds%20Management%20Pack%20for%20Operations%20Manager%202012/log4net.DLL

      ----------------------------------------

      System.Configuration

          Assembly Version: 4.0.0.0

          Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)

          CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

      ----------------------------------------

      jpwy51hm

          Assembly Version: 2.1.0.66

          Win32 Version: 4.0.30319.1001 built by: RTMGDR

          CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

      ----------------------------------------

      Accessibility

          Assembly Version: 4.0.0.0

          Win32 Version: 4.0.30319.1 built by: RTMRel

          CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll

      ----------------------------------------

      System.ServiceModel

          Assembly Version: 4.0.0.0

          Win32 Version: 4.0.30319.1001 built by: RTMGDR

          CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel/v4.0_4.0.0.0__b77a5c561934e089/System.ServiceModel.dll

      ----------------------------------------

      System.Core

          Assembly Version: 4.0.0.0

          Win32 Version: 4.0.30319.1 built by: RTMRel

          CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

      ----------------------------------------

      System.Runtime.DurableInstancing

          Assembly Version: 4.0.0.0

          Win32 Version: 4.0.30319.1 built by: RTMRel

          CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.DurableInstancing/v4.0_4.0.0.0__31bf3856ad364e35/System.Runtime.DurableInstancing.dll

      ----------------------------------------

      SMDiagnostics

          Assembly Version: 4.0.0.0

          Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)

          CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/SMDiagnostics/v4.0_4.0.0.0__b77a5c561934e089/SMDiagnostics.dll

      ----------------------------------------

      System.WorkflowServices

          Assembly Version: 4.0.0.0

          Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)

          CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.WorkflowServices/v4.0_4.0.0.0__31bf3856ad364e35/System.WorkflowServices.dll

      ----------------------------------------

      System.ServiceModel.Web

          Assembly Version: 4.0.0.0

          Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)

          CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel.Web/v4.0_4.0.0.0__31bf3856ad364e35/System.ServiceModel.Web.dll

      ----------------------------------------

      System.ServiceModel.Discovery

          Assembly Version: 4.0.0.0

          Win32 Version: 4.0.30319.1 built by: RTMRel

          CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel.Discovery/v4.0_4.0.0.0__31bf3856ad364e35/System.ServiceModel.Discovery.dll

      ----------------------------------------

      System.ServiceModel.Activities

          Assembly Version: 4.0.0.0

          Win32 Version: 4.0.30319.1 built by: RTMRel

          CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel.Activities/v4.0_4.0.0.0__31bf3856ad364e35/System.ServiceModel.Activities.dll

      ----------------------------------------

      System.ServiceModel.Routing

          Assembly Version: 4.0.0.0

          Win32 Version: 4.0.30319.1 built by: RTMRel

          CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel.Routing/v4.0_4.0.0.0__31bf3856ad364e35/System.ServiceModel.Routing.dll

      ----------------------------------------

      System.ServiceModel.Channels

          Assembly Version: 4.0.0.0

          Win32 Version: 4.0.30319.1 built by: RTMRel

          CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel.Channels/v4.0_4.0.0.0__31bf3856ad364e35/System.ServiceModel.Channels.dll

      ----------------------------------------

      System.Runtime.Serialization

          Assembly Version: 4.0.0.0

          Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)

          CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll

      ----------------------------------------

      System.IdentityModel

          Assembly Version: 4.0.0.0

          Win32 Version: 4.0.30319.1001 (RTMGDR.030319-1000)

          CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.IdentityModel/v4.0_4.0.0.0__b77a5c561934e089/System.IdentityModel.dll

      ----------------------------------------

      System.Xaml

          Assembly Version: 4.0.0.0

          Win32 Version: 4.0.30319.298 built by: RTMGDR

          CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xaml/v4.0_4.0.0.0__b77a5c561934e089/System.Xaml.dll

      ----------------------------------------

      OrionSCOMModule.SAM

          Assembly Version: 2.1.0.66

          Win32 Version: 2.1.0.66

          CodeBase: file:///C:/Program%20Files%20(x86)/SolarWinds/SolarWinds%20Management%20Pack%20for%20Operations%20Manager%202012/OrionSCOMModule.SAM.DLL

      ----------------------------------------

      OrionSCOMModule.HardwareHealth

          Assembly Version: 2.1.0.66

          Win32 Version: 2.1.0.66

          CodeBase: file:///C:/Program%20Files%20(x86)/SolarWinds/SolarWinds%20Management%20Pack%20for%20Operations%20Manager%202012/OrionSCOMModule.HardwareHealth.DLL

      ----------------------------------------

      OrionSCOMModule.WPM

          Assembly Version: 2.1.0.66

          Win32 Version: 2.1.0.66

          CodeBase: file:///C:/Program%20Files%20(x86)/SolarWinds/SolarWinds%20Management%20Pack%20for%20Operations%20Manager%202012/OrionSCOMModule.WPM.DLL

      ----------------------------------------

      System.Data

          Assembly Version: 4.0.0.0

          Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)

          CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll

      ----------------------------------------

      SolarWinds.InformationService.Contract2

          Assembly Version: 2011.2.0.183

          Win32 Version: 2011.2.0.183

          CodeBase: file:///C:/Program%20Files%20(x86)/SolarWinds/SolarWinds%20Management%20Pack%20for%20Operations%20Manager%202012/SolarWinds.InformationService.Contract2.DLL

      ----------------------------------------

      System.IdentityModel.Selectors

          Assembly Version: 4.0.0.0

          Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)

          CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.IdentityModel.Selectors/v4.0_4.0.0.0__b77a5c561934e089/System.IdentityModel.Selectors.dll

      ----------------------------------------

      System.Security

          Assembly Version: 4.0.0.0

          Win32 Version: 4.0.30319.1004 (RTMGDR.030319-1000)

          CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Security/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Security.dll

      ----------------------------------------

      System.Numerics

          Assembly Version: 4.0.0.0

          Win32 Version: 4.0.30319.1 built by: RTMRel

          CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll

      ----------------------------------------

       

      ************** JIT Debugging **************

      To enable just-in-time (JIT) debugging, the .config file for this

      application or computer (machine.config) must have the

      jitDebugging value set in the system.windows.forms section.

      The application must also be compiled with debugging

      enabled.

       

      For example:

       

      <configuration>

          <system.windows.forms jitDebugging="true" />

      </configuration>

       

      When JIT debugging is enabled, any unhandled exception

      will be sent to the JIT debugger registered on the computer

      rather than be handled by this dialog box.

        • Re: Error on Management Pack Configuration
          lukas.cerny

          Hello,

          based on the exception it seems that caption (name) of some node is set to null in database, this causes that configuration wizard fails to load and crashes with this error.

           

          I'd recommend to check if there are any nodes without proper caption in database. If you have Orion SDK installed you can use the SWQL Studio to connect to SWISv2 otherwise, go to the NPM website to a /Orion/Admin/swisv2.aspx page. Then use the following query to see if there are any nodes without valid caption:

          SELECT NodeID, Caption, IPAddress FROM Orion.Nodes WHERE Caption IS NULL
          

           

          Also when exactly does the configuration wizard crash (on which step)?

           

          Let me know if you have any questions.