Informix Error -50406
Cause and resolution
setValueStr( ) for an ixCollection can only be called if the ixCollection is fully typed, i.e., the value to be contained in the ixCollection is fully specified.
The program called setValueStr( ) was called for a NULL or not fully typed ixCollection object. A fully typed and non-NULL ixCollection object is required here. For information on using ixCollection::ixCollection( ) to construct a valid value type, refer to the Standard Class Library Reference.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-50406 is raised by the ixCollection class in the Window Painter GUI builder library — per the official guidance:
The program called setValueStr( ) was called for a NULL or not fully typed ixCollection object. A fully typed and non-NULL ixCollection object is required here. For information on using ixCollection::ixCollection( ) to construct a valid value type, refer to the Standard Class Library Reference.
- setValueStr( ) for an ixCollection can only be called 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.
setValueStr( ) for an ixCollection can only be called if the ixCollection is fully typed, i.e., the value to be contained in the ixCollection is fully specified.