Completed
Last Updated: 31 May 2021 07:32 by ADMIN
Release LIB 2020.3.1123 (11/23/2021)
Imploded
Created on: 15 Nov 2019 16:48
Category: VirtualizingWrapPanel
Type: Bug Report
1
DivideByZeroException

Hello,

Since I updated to the most recent version of your controls, I can see that many of my users get a DivideByZero exception.

I have not made any changes at all to my code, and unfortunately I cannot reproduce it.

It's reported a couple of times per day though via our uncaught exception tracker.

The callstack is:

System.DivideByZeroException: Attempted to divide by zero.
at Telerik.Windows.Controls.VirtualizingWrapPanel.GetPosition(System.Int32 index, System.Int32 itemsInDirection) at offset 0 at Telerik.Windows.Controls.VirtualizingWrapPanel.Telerik.Windows.Controls.Internal.IPanelKeyboardHelper.GetOffsets(System.Int32 index) at offset 0 at Telerik.Windows.Controls.Internal.PanelHelper.<>c__DisplayClass2.<MakeVisible>b__0() at offset 208 at Telerik.Windows.Controls.Internal.PanelHelper.ResumeExecution() at offset 27 at Telerik.Windows.Controls.Primitives.ListControl.OnScrollViewerLoaded(System.Object sender, System.Windows.RoutedEventArgs e) at offset 0 at System.Windows.RoutedEventHandlerInfo.InvokeHandler(System.Object target, System.Windows.RoutedEventArgs routedEventArgs) at offset 0 at System.Windows.EventRoute.InvokeHandlersImpl(System.Object source, System.Windows.RoutedEventArgs args, System.Boolean reRaised) at offset 230 at System.Windows.UIElement.RaiseEventImpl(System.Windows.DependencyObject sender, System.Windows.RoutedEventArgs args) at offset 87 at System.Windows.UIElement.RaiseEvent(System.Windows.RoutedEventArgs e) at offset 20 at System.Windows.BroadcastEventHelper.BroadcastEvent(System.Windows.DependencyObject root, System.Windows.RoutedEvent routedEvent) at offset 71 at System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(System.Object root) at offset 38 at MS.Internal.LoadedOrUnloadedOperation.DoWork() at offset 8 at System.Windows.Media.MediaContext.FireLoadedPendingCallbacks() at offset 42 at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks() at offset 88 at System.Windows.Media.MediaContext.RenderMessageHandlerCore(System.Object resizedCompositionTarget) at offset 92 at System.Windows.Media.MediaContext.RenderMessageHandler(System.Object resizedCompositionTarget) at offset 46 at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback, System.Object args, System.Int32 numArgs) at offset 119 at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object source, System.Delegate callback, System.Object args, System.Int32 numArgs, System.Delegate catchHandler) at offset 2

Is this a known bug? As you can see it's thrown from your components.

1 comment
ADMIN
Yoan
Posted on: 18 Nov 2019 14:25

Hi Mikael,

Thank you for reporting this bug. I was able to identify the cause for it and I have applied a fix. You can get the fix with our next internal build (next Monday).

I have also updated your Telerik points as gratitude for reporting this issue.

Regards,
Yoan
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.