NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Non-execution thread running .NET code has thrown an unhandled exception

Dear community,

 

one of our clients has reported the attached TestStand error. We were wondering, what exactly could cause such a TestStand error. We examined the Windows Event Viewer -> Windows Logs -> Application and we can only see an exception that is caused in DotNetAdapterManagedSupport.TSAppDomainManager.a(Object).

 

Since we are providing our own .NET components that are being invoked by TestStand, we created a worker thread in one of our components that intentionally throws an unhandled exception. In that case, the TestStand error popup and also the Event Viewer shows that the new thread is the culprit (see the attached "Intentional TestStand fatal error.png").

 

The question that remains is: How can we debug the initial error, that appearantly is caused by DotNetAdapterManagedSupport.TSAppDomainManager.a(Object) ?

 

Help is highly appreciated

0 Kudos
Message 1 of 2
(969 Views)

We are experiencing the same exception from the TestStand component: 
DotNetAdapterManagedSupport.TSAppDomainManager.a(Object).

LeticiaG_1-1728502269540.png

Is there a way to prevent this?

0 Kudos
Message 2 of 2
(137 Views)