Informix Error -50117: Invalid position specified for the ixString::insert() member function.
Cause and resolution
Invalid position specified for the ixString::insert() member function.
The value specified for position was NULL, negative, or greater than 32,766.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-50117 is raised by the ixString class in the Window Painter GUI builder library — per the official guidance:
The value specified for position was NULL, negative, or greater than 32,766.
- Invalid position specified for the ixString::insert() member function, 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
ixStringflags here, against the constraint the official guidance describes.
Related Errors / Related Topics
- -50123 — "Invalid length specified for the ixString::pad() member function." Another
ixString-related condition in this set. - -50122 — "Invalid length specified for the ixString::truncate() member function." Another
ixString-related condition in this set.
Invalid position specified for the ixString::insert() member function.