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

"Wrong parameter" exception connected to ItemRemoved animation

3 Answers 48 Views
JumpList
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Bernhard König
Top achievements
Rank 2
Bernhard König asked on 19 Jul 2012, 10:55 PM
Hi,

sometimes I get the "Wrong parameter" exception below related to the ItemRemoved animation it seems. Unfortunately I have not found a way to reproduce this safely but maybe you got an idea where this issue might come from.

Thanks,
Bernhard

Message: Der Parameter ist falsch.
Stack Trace:
 
 at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
 at MS.Internal.XcpImports.SetValue(IManagedPeerBase obj, DependencyProperty property, Double d)
 at System.Windows.DependencyObject.SetValue(DependencyProperty property, Double d)
 at System.Windows.FrameworkElement.set_Height(Double value)
 at Telerik.Windows.Controls.VirtualizationStrategy.CorrectScrollableContentSize(Double value)
 at Telerik.Windows.Controls.VirtualizationStrategy.CheckBottomScrollableBounds()
 at Telerik.Windows.Controls.StackVirtualizationStrategy.OnAfterItemRemovedAnimationEnded(SingleItemAnimationContext context)
 at Telerik.Windows.Controls.RadVirtualizingDataControl.OnItemRemovedAnimation_Ended(Object sender, EventArgs e)
 at Telerik.Windows.Controls.RadAnimation.OnEnded()
 at Telerik.Windows.Controls.RadAnimation.OnStopped(PlayAnimationInfo info)
 at Telerik.Windows.Controls.RadAnimationManager.StopStoryboard(PlayAnimationInfo info)
 at Telerik.Windows.Controls.RadAnimationManager.OnStoryboardCompleted(Object sender, EventArgs e)
 at MS.Internal.CoreInvokeHandler.InvokeEventHandler(Int32 typeIndex, Delegate handlerDelegate, Object sender, Object args)
 at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName)

3 Answers, 1 is accepted

Sort by
0
Deyan
Telerik team
answered on 20 Jul 2012, 07:42 AM
Hello Bernhard,

Thanks for writing.

Indeed, the stack trace gives us useful information about what might cause the issue. Although we can easily address this by performing some additional checks to prevent this exception, it will be great if you manage to narrow down the case to the point where the exception always happens. This will help us understand what exactly causes it because, as you know, checks do fix the case but it is always important to know why it happens.

Thanks for your time.

All the best,
Deyan
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Bernhard König
Top achievements
Rank 2
answered on 20 Jul 2012, 01:51 PM
Hi Deyan,

I'll try to find out a way to reproduce it and let you know if I'm able to.

I think it's related to removing a lot (50 to 100) of items from a list at once and leaving this page by pressing the back button right after it. But that is currently just guessing.

Thanks,
Bernhard
0
Kiril Stanoev
Telerik team
answered on 23 Jul 2012, 07:29 AM
Hi Bernhard,

Thank you for the update. We will test how the jump list behaves in the scenario described by you. Let us know if you manage to find anything additional.

Regards,
Kiril Stanoev
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
JumpList
Asked by
Bernhard König
Top achievements
Rank 2
Answers by
Deyan
Telerik team
Bernhard König
Top achievements
Rank 2
Kiril Stanoev
Telerik team
Share this question
or