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

CodedUi Test Excption

1 Answer 57 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Avi Avni
Top achievements
Rank 1
Avi Avni asked on 25 Jul 2011, 12:11 PM

Hello

We have coded ui test in our application

And after we  download the new dlls RadControls_for_WPF40_2011_2_0712_Dev

We get this exception from the data pager and the application crash

In the old version of dlls 0427.40 this not happened

This the exception :

System.ArgumentNullException: Value cannot be null.

Parameter name: source

   at System.Linq.Enumerable.Where[TSource](IEnumerable`1 source, Func`2 predicate)

   at Telerik.Windows.Controls.Data.DataPager.DataPagerAutomationPeer.GetChildrenCore()

   at System.Windows.Automation.Peers.AutomationPeer.EnsureChildren()

   at System.Windows.Automation.Peers.AutomationPeer.UpdateChildrenInternal(Int32 invalidateLimit)

   at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()

   at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()

   at System.Windows.ContextLayoutManager.fireAutomationEvents()

   at System.Windows.ContextLayoutManager.UpdateLayout()

   at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)

   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)

What is the problem?

Best regards

Ehud

 

1 Answer, 1 is accepted

Sort by
0
Ivan Ivanov
Telerik team
answered on 28 Jul 2011, 12:47 PM
Hello Ehud Pinchas,

I have read you posts from the other thread you have opened regarding this issue (ID 444454) and I would kindly ask you to carry out any further communication related to this case in the current thread. As for the issue itself, unfortunately, I was not able to reproduce it.  I perfectly realize that you are under confidentiality regulations, regarding this application, but would you please share some more info on the scenario in which the RadDataPager takes part? A simple demo project that reproduces this issue will be highly appreciated. And last but not least, would you please confirm the OS, under which you are experiencing this problem? Please, excuse us for the inconvenience. Thank you.
 
Best wishes,
Ivan Ivanov
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!

Tags
GridView
Asked by
Avi Avni
Top achievements
Rank 1
Answers by
Ivan Ivanov
Telerik team
Share this question
or