Hello,
We have received several bug reports from the users of our application that utilizes the XamGrid component. The exception callstack was as follows:
System.NullReferenceException: Object reference not set to an instance of an object. at Infragistics.AutomationPeers.XamGridAutomationPeer.GetChildrenCore() at System.Windows.Automation.Peers.AutomationPeer.EnsureChildren() at System.Windows.Automation.Peers.AutomationPeer.UpdateChildrenInternal(Int32 invalidateLimit) at System.Windows.Automation.Peers.AutomationPeer.UpdateChildren() at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree() at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree() at System.Windows.ContextLayoutManager.fireAutomationEvents() at System.Windows.ContextLayoutManager.UpdateLayout() at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg) at System.Windows.Media.MediaContext.InvokeOnRenderCallback.DoWork() at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks() at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget) at System.Windows.Media.MediaContext.AnimatedRenderMessageHandler(Object resizedCompositionTarget)
I've updated the binaries to the latest service release, but it still occurs from time to time on our users' machines. Hasn't ever happened to any of the developers though. Could you please have a look at why this is happening?
Hello AntonK,
In this thread you can provide a sample on how the control is being used.
Let me know if you have any questions with this matter. Thank you.
Volume 2.
Using the latest service release, what volume of NetAdvantage are you currently running for the control?
Hello Duane,
We're do not know how to reproduce the error. None of the developers have withessed this exception being thrown, but we receive bug reports from our users a few times a week. Considering the number of our users, it is very seldom, so the reason is obscure. The log shows that they just opened the window with a xamgrid.
In this thread you can provide some information such as steps to reproduce when using the XamGrid control.