Informix Error -50008
Cause and resolution
A visual object cannot be added to a closed visual container.
The ixVisualObject constructor generates this message. Once a window has been closed, each ixVisualObject within it acquires an availability of closed. No member function of a closed visual object can be called, except for getAvailability(). Therefore, you cannot add new visual objects to a closed window. Rather than check the window, we just check the availability of the passed container object.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-50008 fires in the GUI builder ("Window Painter") class library -- per the official guidance: The ixVisualObject constructor generates this message. Once a window has been closed, each ixVisualObject within it acquires an availability of closed. No member function of a closed visual object can be called, except for getAvailability(). Therefore, you cannot add new visual objects to a closed window. Rather than check the window, we just check the availability of the passed container object.
- A visual object cannot be added to a closed visual 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 -50008 in this set yet.
A visual object cannot be added to a closed visual container.