TestStand Crashes When Opening Test Monitor Client Result Processing Options

Updated Feb 21, 2025

Reported In

Software

  • SystemLink 2025 Q1
  • TestStand 2024 Q4

Issue Details

I recently installed SystemLink Client 2025 Q1 support for TestStand 2024 Q4. After the installation, I had to resave my custom model plugin sequence file (NI_TestMonitorClient.seq) to resolve updated types. Now, when I try to open the result processing dialog, I get an error message, and then TestStand crashes. 

 

A non-execution thread running .NET code has thrown an unhandled exception. This can happen if your code causes an exception in a finalizer or if you create new .NET threads and an unhandled exception occurs in one of those threads. The .NET considers this a fatal error and will terminate the process once you dismiss this dialog. There is a risk that the process is now in a bad state so saving files might put them in a bad state as well or result in additional errors. The following are the details of the unhandled exception which was thrown:


System.Exception: The component 'NationalInstruments.Skyline.TestMonitorClient.OptionsDialo g' does not have a resource identified by the URI /NationalInstruments.TestMonitorClient2023; component/optionsdialog.xaml".

at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
at  NationalInstruments.Skyline.TestMonitorClient.OptionsDialog.InitializeComponent()
at Nationalinstruments.Skyline.TestMonitorClient.OptionsDialog..ctor()
at Nationalinstruments. Skyline.TestMonitorClient.OptionsDialogLauncher.<>c.<ShowDialog>b__6_00

 

Solution

This is a known issue that will only happen if you save the NI_TestMonitorPlugin.seq for the first time after migrating it to TestStand 2024 Q4. You can avoid the issue by closing and restarting TestStand after saving the model plugin sequence file. 

 

Note: NI recommends keeping all your work saved, otherwise you might lose data because of the crash.  

Additional Information

Saving the sequence file should be only necessary if you're modifying the NI_TestMonitorPlugin.seq, If you're not planning to modify it, please do not save the file.