Fatal error in Parse Orchestrator Export tool

Aug 30, 2013 at 8:57 PM
Edited Aug 30, 2013 at 9:01 PM
First, big thanks Ryan for creating this GUI. It seems like a very handy tool for cleaning and analyzing exports.

However I'm running into a problem. When I click Sanitize Export on a file that has Global Configurations in it, the following fatal error appears:

Unhandled exception has occurred in your application...
Object reference not set to an instance of an object.


************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.SystemCenter.Orchestrator.Integration.Administration.OIS_Export.ExportFile.cleanGlobalConfigurations(XmlNode rootConfigNode)
at Microsoft.SystemCenter.Orchestrator.Integration.Administration.OIS_Export.ExportFile.cleanGlobalConfigurations()
at ParseOrchestratorExport.Form1.btnSanitizeExport_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(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.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


Then it lists the assemblies and mentions JIT debugging.

I've narrowed it down to the following entries in the export file (see below). The first couple look like SCOM but I'm not even sure which Integration Packs the others belong to. The third one is especially baffling because it has a server name that is completely unrelated to my company: ybcdrniqdb02.corp.ybusa.net (I looked it up, it's the company that runs yellowbook.com)

If any one of these appear in the export, the Sanitize function fails with the above error. When these are removed, sanitize works fine.

Has anyone seen this before? What about those entries is causing the tool to choke? Maybe I'll have to install a clean instance of the Orchestrator database and install IPs one at a time, to see which ones are creating the problematic configurations.

Thanks for any help you can provide!

<Entry>
  <ID>{41DABF4E-B78F-4EF6-86CE-9CF62EA56901}</ID>
  <Data >&lt;Object GUID="{41DABF4E-B78F-4EF6-86CE-9CF62EA56900}"&gt;&lt;TestConnection&gt;&lt;/TestConnection&gt;&lt;Add&gt;&lt;/Add&gt;&lt;Modify&gt;&lt;/Modify&gt;&lt;Remove&gt;&lt;/Remove&gt;&lt;ManagementServers&gt;&lt;Entry&gt;&lt;Application&gt;ITSMHelpDesk&lt;/Application&gt;&lt;AttachmentFolder&gt;&lt;/AttachmentFolder&gt;&lt;Computer&gt;opalis&lt;/Computer&gt;&lt;Connection&gt;opalis:ITSMHelpDesk:Demo&lt;/Connection&gt;&lt;ContentType&gt;ManagementServers&lt;/ContentType&gt;&lt;FilterFormsByApplication&gt;1&lt;/FilterFormsByApplication&gt;&lt;Interval&gt;10&lt;/Interval&gt;&lt;MonitorInterval&gt;30&lt;/MonitorInterval&gt;&lt;Password&gt;&lt;/Password&gt;&lt;Retries&gt;0&lt;/Retries&gt;&lt;RpcNumber&gt;&lt;/RpcNumber&gt;&lt;ShowDisplayOnlyFields&gt;0&lt;/ShowDisplayOnlyFields&gt;&lt;TcpPort&gt;&lt;/TcpPort&gt;&lt;UsePortmapper&gt;1&lt;/UsePortmapper&gt;&lt;Username&gt;Demo&lt;/Username&gt;&lt;/Entry&gt;&lt;/ManagementServers&gt;&lt;/Object&gt;
  </Data>
</Entry>

<Entry>
  <ID>{EBB1BC07-979A-4B59-914A-D93A412F8E48}</ID>
  <Data>&lt;Object GUID="{EBB1BC07-979A-4B59-914A-D93A412F8E47}"&gt;&amp;lt;ItemRoot&amp;gt;&amp;lt;Entry&amp;gt;&amp;lt;Domain&amp;gt;DOMAIN&amp;lt;/Domain&amp;gt;&amp;lt;Name&amp;gt;SC2012 SM&amp;lt;/Name&amp;gt;&amp;lt;Password&amp;gt;\`d.T.encrypted-pw`d.T.~De/&amp;lt;/Password&amp;gt;&amp;lt;PollingInterval&amp;gt;10&amp;lt;/PollingInterval&amp;gt;&amp;lt;ReconnectInterval&amp;gt;10&amp;lt;/ReconnectInterval&amp;gt;&amp;lt;Server&amp;gt;SERVERNAME&amp;lt;/Server&amp;gt;&amp;lt;User&amp;gt;Administrator&amp;lt;/User&amp;gt;&amp;lt;/Entry&amp;gt;&amp;lt;/ItemRoot&amp;gt;&lt;/Object&gt;
  </Data>
</Entry>

<Entry>
  <ID>{1D0919AE-D721-46FD-8E03-CB68C613EA76}</ID>
  <Data>&lt;Object GUID="{1D0919AE-D721-46FD-8E03-CB68C613EA75}"&gt;&lt;Authentication&gt;&lt;/Authentication&gt;&lt;SQLAuthentication&gt;False&lt;/SQLAuthentication&gt;&lt;Server&gt;ybcdrniqdb02.corp.ybusa.net&lt;/Server&gt;&lt;Repository&gt;QDB&lt;/Repository&gt;&lt;Password&gt;__  __  __&lt;/Password&gt;&lt;UserName&gt;&lt;/UserName&gt;&lt;WindowsAuthentication&gt;True&lt;/WindowsAuthentication&gt;&lt;TestConnection&gt;&lt;/TestConnection&gt;&lt;/Object&gt;
  </Data>
</Entry>

<Entry>
  <ID>{A5209BAB-3869-4501-9FBF-25F783B46A62}</ID>
  <Data>&lt;Object GUID="{A5209BAB-3869-4501-9FBF-25F783B46A61}"&gt;&lt;ServerList&gt;&lt;/ServerList&gt;&lt;/Object&gt;
  </Data>
</Entry>

    <Entry>
  <ID>{09B17518-3163-4ECF-8476-CB59F67FD650}</ID>
  <Data>&lt;Object GUID="{09B17518-3163-4ECF-8476-CB59F67FD649}"&gt;&lt;ServerList&gt;&lt;/ServerList&gt;&lt;/Object&gt;
  </Data>
</Entry>

<Entry>
  <ID>{7B4EC339-57EE-4A99-A9C9-DAED8670C793}</ID>
  <Data>&lt;Object GUID="{7B4EC339-57EE-4A99-A9C9-DAED8670C792}"&gt;&lt;List&gt;&lt;/List&gt;&lt;/Object&gt;
  </Data>
</Entry>

<Entry>
  <ID>{538119A4-799A-4006-B401-04C934361F90}</ID>
  <Data>&lt;Object GUID="{538119A4-799A-4006-B401-04C934361F89}"&gt;&lt;ServerList&gt;&lt;/ServerList&gt;&lt;/Object&gt;
  </Data>
</Entry>

<Entry>
  <ID>{5D027B51-92A2-4601-8582-19E6125D0164}</ID>
  <Data>&lt;Object GUID="{5D027B51-92A2-4601-8582-19E6125D0163}"&gt;&lt;List&gt;&lt;/List&gt;&lt;/Object&gt;
  </Data>
</Entry>
Mar 12, 2015 at 3:37 PM
Any news on that? I have the same issue.
thank's
Andy