NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

error message when adding .NET action steps

Thanks for the reply KristenC!

I cannot identify any watch expressions in the sequence. As a further check, creating a new sequence and trying to add a .NET action step leads to the same result. As soon as I select the 'Class' from the drop-down dialog 'Edit .NET Call' I get the dialog:

".NET Error" <- Title

"Error while accessing the .NET assembly" <- body

"Object reference not set to an instance of an object." <- body

This occurs independent of whether I enter an 'Object Reference'.

Also of note, I can only access public methods of the class selected. I cannot access any publically defined properties (by way of the 'Call Method or Access Property' pane. When I select the 'central' assembly, as mentioned above, this behaviour is not seen and everything is accessible.

 

0 Kudos
Message 21 of 22
(1,115 Views)
How are the different assemblies related?  You said the ones that are having problems reference a central assembly.  Are you creating objects of the types in the central class and then calling functions?  You said you are unable to reproduce this behavior with simple classes though, right?  If you can't reproduce it with a simple solution is the solution you are using small enough to attach here? 
Kristen
National Instruments
0 Kudos
Message 22 of 22
(1,077 Views)