cancel
Showing results for 
Search instead for 
Did you mean: 

Calling MultiSelectList::GetListItems() causes "vector<T> too long" exception when list is empty

Innovator
Innovator

Hi all,

 

I have a UI Styler dialog containing at least one multiselect list, and I am attempting to retrieve all the items in a list in NX8.5.3.3 MP8.

 

When the list is empty, however, it causes an exception with the message "vector<T> too long". I would have expected an empty list. No exception is thrown if there is at least one item in the list.

 

A quick search in GTAC only spoke of a fix in NX6, but for SingleSelectList.

 

Has anyone come across this issue? Is there a potential workaround (besides catching an exception)?

 

Thank you!

Marc Prosl
NX Software Developer