Recursive call to Automation Peer API is not valid

Recursive call to Automation Peer API is not valid

We are using Xceed DataGrid for WPF version 4.0.10228.11470 in our product.

One of our customers got this exception:

System.InvalidOperationException: Recursive call to Automation Peer API is not
valid.
at
System.Windows.Automation.Peers.AutomationPeer.GetChildren()
at
System.Windows.Automation.Peers.AutomationPeer.isDescendantOf(AutomationPeer
parent)
at
System.Windows.Automation.Peers.AutomationPeer.isDescendantOf(AutomationPeer
parent)
at
System.Windows.Automation.Peers.AutomationPeer.isDescendantOf(AutomationPeer
parent)
at
System.Windows.Automation.Peers.AutomationPeer.isDescendantOf(AutomationPeer
parent)
at
System.Windows.Automation.Peers.AutomationPeer.isDescendantOf(AutomationPeer
parent)
at
System.Windows.Automation.Peers.AutomationPeer.ValidateConnected(AutomationPeer
connectedPeer)
at
MS.Internal.Automation.ElementProxy.StaticWrap(AutomationPeer peer,
AutomationPeer referencePeer)
at
System.Windows.Automation.Peers.AutomationPeer.UpdateChildrenInternal(Int32
invalidateLimit)
at
System.Windows.Automation.Peers.AutomationPeer.UpdateChildren()
at
Microsoft.Windows.Automation.Peers.DataGridItemAutomationPeer.GetChildrenCore()

at System.Windows.Automation.Peers.AutomationPeer.EnsureChildren()
at
System.Windows.Automation.Peers.AutomationPeer.GetChildren()
at
System.Windows.Automation.Peers.AutomationPeer.isDescendantOf(AutomationPeer
parent)
at
System.Windows.Automation.Peers.AutomationPeer.isDescendantOf(AutomationPeer
parent)
at
System.Windows.Automation.Peers.AutomationPeer.isDescendantOf(AutomationPeer
parent)
at
System.Windows.Automation.Peers.AutomationPeer.isDescendantOf(AutomationPeer
parent)
at
System.Windows.Automation.Peers.AutomationPeer.isDescendantOf(AutomationPeer
parent)
at
System.Windows.Automation.Peers.AutomationPeer.ValidateConnected(AutomationPeer
connectedPeer)
at
MS.Internal.Automation.ElementProxy.StaticWrap(AutomationPeer peer,
AutomationPeer referencePeer)
at
System.Windows.Automation.Peers.AutomationPeer.UpdateChildrenInternal(Int32
invalidateLimit)
at
System.Windows.Automation.Peers.AutomationPeer.UpdateChildren()
at
Xceed.Wpf.DataGrid.DataGridControl.DataGridControl_LayoutUpdated(Object sender,
EventArgs e)
at
System.Windows.ContextLayoutManager.fireLayoutUpdateEvent()
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.RenderMessageHandler(Object
resizedCompositionTarget)
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)

We cannot reproduce this error and will try to get more information from the customer. Has any one seen this and know of any fix?

Thanks.