Informix Error -50405
Cause and resolution
Item number for SET must be within the existing size of the ixList, ixMultiSet, or ixSet.
An attempt was made to provide an invalid element position to set an ixList, ixMultiSet, or ixSet object. The position must fall within the correct range of ixList, ixMultiSet, or ixSet for the setting to work properly. To check whether the specified position is within the size limit, use the getCount( ) function call (as described in the Standard Class Library Reference).
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-50405 is raised by the ixList class in the Window Painter GUI builder library — per the official guidance:
An attempt was made to provide an invalid element position to set an ixList, ixMultiSet, or ixSet object. The position must fall within the correct range of ixList, ixMultiSet, or ixSet for the setting to work properly. To check whether the specified position is within the size limit, use the getCount( ) function call (as described in the Standard Class Library Reference).
- Item number for SET must be within the existing size of the ixList, ixMultiSet, or ixSet, per the official guidance — the direct, documented condition.
Solutions / Resolution
- Check the specific value or object state the message names, per the official guidance, against the constraint it describes.
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
ixListflags here, against the constraint the official guidance describes.
Related Errors / Related Topics
- -50403 — "INSERT and SET in ixList, ixMultiset, and ixSet are only allowed if the ixValue object is of the same class or derived from the ixValue object that was specified in the constructor." Another
ixList-related condition in this set. - -50402 — "INSERT and SET in ixList, ixMultiset, and ixSet are only allowed if the ixValue object is non-NULL." Another
ixList-related condition in this set.
Item number for SET must be within the existing size of the ixList, ixMultiSet, or ixSet.