Hi, Use VS2005 ,set an isMdiContainer form.The above is a menu bar, tool bar, on the left there is a tree. Double-click a tree node, open another interface,access to data in the database. Another interface has a UltraGrid, some labers and some textboxes. Use QTP debugger, there are exceptions: The call real-time (JIT) debugging instead of this dialog box for more information See this message to the end. ************** Exception Text ************** System.NullReferenceException: Object reference not set to an instance of an object . In Infragistics.Win.UIElement.VerifyChildElements (ControlUIElementBase controlElement, Boolean recursive) In Infragistics.Win.UIElement.VerifyChildElements (ControlUIElementBase controlElement, Boolean recursive) In Infragistics.Win.UIElement.VerifyChildElements (ControlUIElementBase controlElement, Boolean recursive) In Infragistics.Win.UIElement.VerifyChildElements (ControlUIElementBase controlElement, Boolean recursive) In Infragistics.Win.UIElement.DrawHelper (Graphics graphics, Rectangle invalidRectangle, Boolean doubleBuffer, AlphaBlendMode alphaBlendMode, Boolean clipText, Boolean forceDrawAsFocused, Boolean preventAlphaBlendGraphics) I don't understand. How do I solve this problem? Thanks!
Hello ,
I have noticed that you have a case regarding the same issue so please update your case which is with the following number : CAS-51072-C22G7P, and we will be glad to help you.
Hello,
What you are describing is a generic Null Reference exception, and the exception is happening in a section of code used for drawing the UIElements which is not control specific, and the exception can be triggered by many different things. I am going to recommend our developer support contact you to review this case in more detail.
Idealistically they could use a simple sample that reproduces the problem, but to start if you can give them the version of TestAdvantage, NetAdvantage, and QTP that you are using. Also if you can give them the line of script that is failing and a few lines before it should greatly help in identifying the root cause of the behavior.