NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Shutdown error messages from TestStand in my trace.

I have created a custom UI for TestStand 2.01, and when I shutdown I get the following trace message, and then the app hangs and fails to shutdown. What did I forget to delete?

Global type list not empty!
Error Code: -17001
Where raised:
function: TypeUsageList::DeleteGlobalTypeList
file: c:\TestStand_AutoBuild\201Latest\Dev\Src\tstobj2\TypeList.cpp
line: 171
compilation time: 10:35:30 Dec 14 2001

Where caught: Debugging When Exception Constructed
WARNING!!! 'destructor exception' Line 12113 in function in file c:\TestStand_AutoBuild\201Latest\Dev\Src\tstobj2\TestObj.cpp
Compilation Date: Dec 14 2001 Compilation Time: 10:35:26
Not all type usage lists have been destroyed!
Error Code: -17001

Where raised:
function: TypeUsageList::DeleteAllTypeUsageLists
file: c:\TestStand_AutoBuild\201Latest\Dev\Src\tstobj2\TypeList.cpp
line: 748
compilation time: 10:35:30 Dec 14 2001

Where caught: Debugging When Exception Constructed
First-chance exception in VDProcessStartup.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception.
WARNING!!! 'destructor exception' Line 12114 in function in file c:\TestStand_AutoBuild\201Latest\Dev\Src\tstobj2\TestObj.cpp
Compilation Date: Dec 14 2001 Compilation Time: 10:35:26
0 Kudos
Message 1 of 3
(3,359 Views)
Arron,
What programming language are you using? LabVIEW? CVI?
Best regards,
Diego F. Reyes
Applications Engineer
National Instruments
0 Kudos
Message 2 of 3
(3,359 Views)
Aaron -
The trace messages are from the TestStand engine and they suggest that a type is not being released and the type is still in a type usage list. Typically this occurs because a sequence file is not being released properly, i.e. calling ReleaseSequenceFile and then releasing the object. Sequence files have a type usage list attached to them and the usage list is also added to an internal global list in the engine.

You need to isolate what object is not being released properly. First do the trace messages show up if you just open and close your GUI? Do you have to call the Login front-end callback to have the trace messages show up? Do you have to open and close a sequence, do you have to run the sequence for the trace messages to show up?

Sc
ott Richardson (NI)
Scott Richardson
https://testeract.com
0 Kudos
Message 3 of 3
(3,359 Views)