Informix Error -50401: Insert of an ixCollection into ixList, ixMultiset, and ixSet can only occur if the ixCollection is fully typed, i.e., the value to be contained in the ixCollection is fully specified.
Cause and resolution
Insert of an ixCollection into ixList, ixMultiset, and ixSet can only occur if the ixCollection is fully typed, i.e., the value to be contained in the ixCollection is fully specified.
An attempt was made to construct, concatenate, or insert a NULL or not fully typed ixCollection object. A fully typed and non-NULL ixCollection must be used during these function calls. For information about how to use ixCollection::ixCollection( ) to construct a valid value type, refer to the Standard Class Library Reference.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-50401 is raised by the ixCollection class in the Window Painter GUI builder library — per the official guidance:
An attempt was made to construct, concatenate, or insert a NULL or not fully typed ixCollection object. A fully typed and non-NULL ixCollection must be used during these function calls. For information about how to use ixCollection::ixCollection( ) to construct a valid value type, refer to the Standard Class Library Reference.
- Insert of an ixCollection into ixList, ixMultiset, and ixSet can only occur if the ixCollection is fully typed, i.e., the value to be contained in the ixCollection is fully specified, per the official guidance — the direct, documented condition.
Solutions / Resolution
- Adjust the calling code to respect the constraint named in the message, per the official guidance — no other resolution is documented.
Examples
N/A
No specific triggering statement is documented beyond the class-library condition described above.
Diagnostic Checks
- Check the specific value, object state, or call sequence that
ixCollectionflags here, against the constraint the official guidance describes.
Related Errors / Related Topics
- -50410 — "Objects of this class are for use with IBM Informix Dynamic Server or IBM Informix Universal Server only." Another
ixCollection-related condition in this set. - -50408 — "setValueStr( ) has been passed an invalid string." Another
ixCollection-related condition in this set.
Insert of an ixCollection into ixList, ixMultiset, and ixSet can only occur if the ixCollection is fully typed, i.e., the value to be contained in the ixCollection is fully specified.