Informix Error -50407: An ixValueDesc object may only be constructed with an ixTypeInfo object specifying an opaque, user-defined type.
Cause and resolution
An ixValueDesc object may only be constructed with an ixTypeInfo object specifying an opaque, user-defined type.
An attempt was made to construct a value descriptor with non-user-defined data types. A value descriptor must be constructed with ixTypeInfo object of SQLOpaqueVar or SQLOpaque objects (user-defined objects).
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-50407 is raised by the ixValueDesc class in the Window Painter GUI builder library — per the official guidance:
An attempt was made to construct a value descriptor with non-user-defined data types. A value descriptor must be constructed with ixTypeInfo object of SQLOpaqueVar or SQLOpaque objects (user-defined objects).
- An ixValueDesc object may only be constructed with an ixTypeInfo object specifying an opaque, user-defined type, 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
ixValueDescflags here, against the constraint the official guidance describes.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -50407 in this set yet.
An ixValueDesc object may only be constructed with an ixTypeInfo object specifying an opaque, user-defined type.