Informix Error -50011: Cannot create a visual object with a NULL container.
Cause and resolution
Cannot create a visual object with a NULL container.
The ixVisualObject constructor generates this message. All visual objects, except top level ixWindow objects, must be attached to an ixVisualContainer.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-50011 fires in the GUI builder ("Window Painter") class library -- per the official guidance: The ixVisualObject constructor generates this message. All visual objects, except top level ixWindow objects, must be attached to an ixVisualContainer.
- Cannot create a visual object with a NULL container -- an invalid argument, state, or
NULL value reaching
ixVisualObject's constructor, per the official guidance.
Solutions / Resolution
- Review the application's call to
ixVisualObject's constructoragainst the condition described above, and correct the argument, object state, or configuration involved, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond the GUI builder class library condition named in the official text.
Diagnostic Checks
- Check the application's use of
ixVisualObject's constructor, against the specific condition the official text describes.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -50011 in this set yet.
Cannot create a visual object with a NULL container.