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

Issue with RadTabControl and Test manager 2010

2 Answers 92 Views
TabControl
This is a migrated thread and some comments may be shown as answers.
André
Top achievements
Rank 1
André asked on 14 Jul 2011, 04:36 PM
My application is having an error when I try to write a manual test with the TestManager.

When running the application, the error is not generated only when recording tests.

The stacktrace of the error is this:
System.NullReferenceException: Object reference not set to an instance of an object.     at Telerik.Windows.Controls.RadTabControlAutomationPeer.GetChildrenCore() in f:\113\WPF_Scrum\Current_HotFix\Sources\Development\Controls\Navigation\TabControl\RadTabControlAutomationPeer.cs:line 207     at System.Windows.Automation.Peers.AutomationPeer.EnsureChildren()     at System.Windows.Automation.Peers.AutomationPeer.UpdateChildrenInternal(Int32 invalidateLimit)     at System.Windows.Automation.Peers.ItemsControlAutomationPeer.UpdateChildren()     at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()     at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()     at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()     at System.Windows.Automation.Peers.AutomationPeer.FireAutomationEvents()     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.RenderMessageHandler(Object resizedCompositionTarget)     at System.Windows.Media.MediaContext.Resize(ICompositionTarget resizedCompositionTarget)     at System.Windows.Interop.HwndTarget.OnResize()     at System.Windows.Interop.HwndTarget.HandleMessage(WindowMessage msg, IntPtr wparam, IntPtr lparam)     at System.Windows.Interop.HwndSource.HwndTargetFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)     at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)     at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)     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)


2 Answers, 1 is accepted

Sort by
0
Accepted
Petar Mladenov
Telerik team
answered on 19 Jul 2011, 04:15 PM
Hi André,

We have had similar issue before and the good news is that we fixed it. Could you please test your project with the official Q2 2011 if possible? What is the version of RadControls that you use? 

All the best,
Petar Mladenov
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

0
André
Top achievements
Rank 1
answered on 19 Jul 2011, 04:31 PM
Tested on Q2 2011 and everthing is working now. 
I'm using Ver 2011.1.617
Tags
TabControl
Asked by
André
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
André
Top achievements
Rank 1
Share this question
or