Hi,
We have a XBAP application built using WPF using Infragistic V 13.1.We are using Infragistics XamDataTree to show a tree structure with many nested items. Certain users are reporting Application crash issue when trying to open the Tree structure.
We tried to reproduce the scenario in our local but was not able to do it. We read something about UI AutomationPeer and tried to reproduce the same issue in Win8/Win7 machines by running the "Narrator"(available with the windows) application and our application . We were successfully able to reproduce the below exception which our users are facing . Please guide us on this issue.
Application Crashed: Unhandled Exception Occured; System.NullReferenceException: Object reference not set to an instance of an object. at Infragistics.AutomationPeers.XamDataTreeNodeControlAutomationPeer.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.UpdatePeer(Object arg) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
I am posting few more details regarding the issue we are facing -
Infragistic version Used - 13.1.20131.1109
The issue happens intermittently in the client machines. And we were able to reproduce this in our local Win8 env when we ran the narrator and moved through nodes and child nodes.
The error occurs randomly when we click either on parent node or child node.
Hello Chaithra,
Thank you for your post. I have been looking into and I can say that there was a similar issue logged in our internal system, which is now fixed in the last version of 13.1, so I can suggest you download the last service release and see if your issue will be fixed. You can download it by logging to our web site and going to Account \Keys & Downloads.
https://es.infragistics.com/my-account/keys-and-downloads/
Please let me know if this helps you or you have further questions on this matter.
Looking forward for your reply.