Cause: The window is set to an invalid parent window.
Action: Set the window to a valid parent window.