Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
120
XamDataTree : Null Reference exception when trying to open reported by users
posted

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)

Parents
No Data
Reply
  • 120
    posted

    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.

Children