This is a migrated thread and some comments may be shown as answers.

Recursive call to Automation Peer API is not valid for "Controls.RadTabControlAutomationPeer"

3 Answers 57 Views
TabControl
This is a migrated thread and some comments may be shown as answers.
Piyush
Top achievements
Rank 1
Piyush asked on 30 Jan 2013, 01:40 PM
Hi,

Our application recently moved to Win 7 64 Bit environment;  We are using telerik controls version 2011.2.712.35.
This error only occurs when there is an automation program recording the program. We are getting below exception causing application to crash. Any help with this error would be greatly appreciated.



00000021    12.90117836    [3220] Exception Source: PresentationCore     
00000022    12.90123844    [3220] Exception Message: Recursive call to Automation Peer API is not valid.     
00000023    12.90127945    [3220] Exception StackTrace:    
00000024    12.94501019    [3220]    at System.Windows.Automation.Peers.AutomationPeer.GetChildren()      
00000025    12.94511509    [3220]    at System.Windows.Automation.Peers.AutomationPeer.isDescendantOf(AutomationPeer parent)      
00000026    12.94518375    [3220]    at System.Windows.Automation.Peers.AutomationPeer.isDescendantOf(AutomationPeer parent)      
00000027    12.94525433    [3220]    at System.Windows.Automation.Peers.AutomationPeer.isDescendantOf(AutomationPeer parent)      
00000028    12.94532013    [3220]    at System.Windows.Automation.Peers.AutomationPeer.isDescendantOf(AutomationPeer parent)      
00000029    12.94538403    [3220]    at System.Windows.Automation.Peers.AutomationPeer.isDescendantOf(AutomationPeer parent)      
00000030    12.94546223    [3220]    at System.Windows.Automation.Peers.AutomationPeer.isDescendantOf(AutomationPeer parent)      
00000031    12.94552708    [3220]    at System.Windows.Automation.Peers.AutomationPeer.ValidateConnected(AutomationPeer connectedPeer)      
00000032    12.94559765    [3220]    at MS.Internal.Automation.ElementProxy.StaticWrap(AutomationPeer peer, AutomationPeer referencePeer)      
00000033    12.94566154    [3220]    at System.Windows.Automation.Peers.AutomationPeer.UpdateChildrenInternal(Int32 invalidateLimit)      
00000034    12.94572735    [3220]    at Telerik.Windows.Controls.RadTabControlAutomationPeer.GetChildrenCore()      
00000035    12.94579411    [3220]    at System.Windows.Automation.Peers.AutomationPeer.EnsureChildren()      
00000036    12.94585800    [3220]    at System.Windows.Automation.Peers.AutomationPeer.GetChildren()      
00000037    12.94592571    [3220]    at System.Windows.Automation.Peers.AutomationPeer.isDescendantOf(AutomationPeer parent)      
00000038    12.94598866    [3220]    at System.Windows.Automation.Peers.AutomationPeer.isDescendantOf(AutomationPeer parent)      
00000039    12.94605255    [3220]    at System.Windows.Automation.Peers.AutomationPeer.isDescendantOf(AutomationPeer parent)      
00000040    12.94611740    [3220]    at System.Windows.Automation.Peers.AutomationPeer.isDescendantOf(AutomationPeer parent)      
00000041    12.94618225    [3220]    at System.Windows.Automation.Peers.AutomationPeer.isDescendantOf(AutomationPeer parent)      
00000042    12.94624615    [3220]    at System.Windows.Automation.Peers.AutomationPeer.isDescendantOf(AutomationPeer parent)      
00000043    12.94631290    [3220]    at System.Windows.Automation.Peers.AutomationPeer.ValidateConnected(AutomationPeer connectedPeer)      
00000044    12.94637871    [3220]    at System.Windows.Automation.Peers.AutomationPeer.RaiseFocusChangedEventHelper(IInputElement newFocus)


Thanks,
Piyush

3 Answers, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 04 Feb 2013, 09:40 AM
Hello Piyush,

I answered your question in the support thread you started on the same topic. However, in case someone else encounters the same issue, please note that the exception is already fixed in our latest internal build. 

The fix will be officially out with the upcoming Q1 2013 release.

Regards,
Stefan
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Matias
Top achievements
Rank 1
answered on 15 Oct 2013, 01:31 PM
Hello Stefan, 

Has it been solved?

Thank.
Regards,
Matias.
0
Stefan
Telerik team
answered on 17 Oct 2013, 03:11 PM
Hi Matias,

This issue is fixed and you can find the fix in all official releases and latest internal build after 4th February. Also you can check the new Q3 2013 official release, which was announced yesterday.

Regards,
Stefan
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
TabControl
Asked by
Piyush
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Matias
Top achievements
Rank 1
Share this question
or