"Wrong parameter" exception connected to ItemRemoved animation

4 posts, 0 answers
  1. Bernhard König
    Bernhard König avatar
    78 posts
    Member since:
    Nov 2009

    Posted 19 Jul 2012 Link to this post

    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)
  2. Deyan
    Admin
    Deyan avatar
    2040 posts

    Posted 20 Jul 2012 Link to this post

    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.

  3. DevCraft banner
  4. Bernhard König
    Bernhard König avatar
    78 posts
    Member since:
    Nov 2009

    Posted 20 Jul 2012 Link to this post

    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
  5. Kiril Stanoev
    Admin
    Kiril Stanoev avatar
    1512 posts

    Posted 23 Jul 2012 Link to this post

    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.

Back to Top