Issue with RadTabControl and Test manager 2010

3 posts, 1 answers
  1. André
    André avatar
    6 posts
    Member since:
    Aug 2010

    Posted 14 Jul 2011 Link to this post

    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. Answer
    Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 19 Jul 2011 Link to this post

    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!

  3. UI for WPF is Visual Studio 2017 Ready
  4. André
    André avatar
    6 posts
    Member since:
    Aug 2010

    Posted 19 Jul 2011 Link to this post

    Tested on Q2 2011 and everthing is working now. 
    I'm using Ver 2011.1.617
Back to Top