NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Exception in Tetstand: Program Crash

 

Hello,

has anyone encountered similar exception ?  If so any tips on rectification ?
Teststand just crashes after this message.

 

 

akshayparabgmailcom_0-1734526980370.png

 

Best

Akshay

0 Kudos
Message 1 of 3
(246 Views)

Hi, 

This is very likely a bug with the code module being called. I would attach Visual Studio to TS process and catch the exception in the debugger to find source of the bug. 

Regards, 

Anand Jain

NI

0 Kudos
Message 2 of 3
(219 Views)

    Auf das verworfen object kann nicht zugegriffen werden appears to be a German exception prompt, meaning that an object that has been discarded cannot be accessed. According to the next sentence, Objsetname: ShellStream, Obviously, you should have used Renci SshNet NET library files are used to implement some operations, but unfortunately, the object of a certain operation has been discarded or released before being operated on. This should come from two possibilities:


   1. If the code is written by yourself, you should check whether this part of the code has already performed operations such as close or dispose on the object before operating on it? Or has it been reclaimed by GC for other reasons?


   2. If you directly call the function of the library file in step and implement a continuous operation through more than one step, you should check whether the target object is heap resident or stack resident when passing between steps. If it is stack resident, the above problem is likely to occur.


  Load TS as the host program into your seq in VS and debug this issue.

  Good luck!

0 Kudos
Message 3 of 3
(199 Views)