Unhandled Exception: Telerik.Windows.Automation.Peers.GridViewGroupPanelAutomationPeer.GetChildrenCore()

6 posts, 0 answers
  1. MikeTest
    MikeTest avatar
    2 posts
    Member since:
    Jan 2013

    Posted 15 Jan 2013 Link to this post

    Hello,

    The application I am working on is throwing the following unhandled exception whenever I attempt to run my automation against it. This issue started occurring when we upgraded our Telerik libraries from Library v2012.3.1129.40 to v2012.1.326.402. We are using HP QTP to automate our testing. This is the first time I have experienced this error, there were no issues prior to the Telerik lib upgrade.

    System.NullReferenceException was unhandled by user code

      Message=Object reference not set to an instance of an object.

      Source=Telerik.Windows.Controls.GridView

      StackTrace:

           at Telerik.Windows.Automation.Peers.GridViewGroupPanelAutomationPeer.GetChildrenCore() in c:\TB\102\WPF_Scrum\Release_WPF\Sources\Development\Controls\GridView\GridView\GridView\Automation\GridViewGroupPanelAutomationPeer.cs:line 44

           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.UpdateSubtree()

           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.UpdateSubtree()

           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.UpdatePeer(Object arg)

           at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)

           at MS.Internal.Threading.ExceptionFilterHelper

     

    I have located some backwards compatibility documentation on your website http://www.telerik.com/help/wpf/radgridview-backward-compatibility.html.

    It explains that the “Telerik.Windows.Controls.GridView.Automation” class is now obsolete and has been moved into “Telerik.Windows.Automation.Peers…” class. Could this have something to do with my issue? Any help with this would be much appreciated.

     

  2. Yordanka
    Admin
    Yordanka avatar
    634 posts

    Posted 16 Jan 2013 Link to this post

    Hello Mike,

    The exception is fixed in our latest internal build - version 2012.3.1314.
     
    Regards,
    Yordanka
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. Edo
    Edo avatar
    4 posts
    Member since:
    Nov 2012

    Posted 05 Aug 2013 Link to this post

    Hi,
    I have a similar issue.
    Where can I find a trial version of this specific revision?
    I'd like to test this, but using the newer trial dlls causes many issues.

    Thanks,
    Edo
  4. Yordanka
    Admin
    Yordanka avatar
    634 posts

    Posted 06 Aug 2013 Link to this post

    Hello Edo,

    You can download the first official version after LIB 2012.3.1314. It is Q1 2013 and can be downloaded under Your Account.
     
    Regards,
    Yordanka
    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 >>
  5. Edo
    Edo avatar
    4 posts
    Member since:
    Nov 2012

    Posted 06 Aug 2013 Link to this post

    Hi Yordanka,
    Thanks for your quick reply.
    Using the Q1 2013 assembly throws the following exception:

    Method 'get_ActualWidth' in type 'Telerik.Windows.Controls.GridView.GridViewTouchableElement' from assembly 'Telerik.Windows.Controls.GridView, Version=2013.1.220.40, Culture=neutral, PublicKeyToken=5803cfa389c90ce7' does not have an implementation.

    The only thing I changed was the Telerik GridView assembly.
    This also happens when I use the latest trial version.

    Edo
  6. Yordanka
    Admin
    Yordanka avatar
    634 posts

    Posted 06 Aug 2013 Link to this post

    Hello Edo,

    Do you get this error with the latest internal build - version 2013.2.0805 ? If so, please send us sample runnable project which reproduces it. We will debug it on our side and will assist you further.
     
    Regards,
    Yordanka
    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 >>
Back to Top