TabControl ScrollViewer_MouseWheel unhandled exception

5 posts, 0 answers
  1. Manuel
    Manuel avatar
    32 posts
    Member since:
    Sep 2013

    Posted 09 Dec 2014 Link to this post

    Hi guys, 
    my application recently logged the following unhandled exception.
    It happened just once and I'm unable to reproduce it, but looking at the stacktrace it seems an invalid cast on the RadTabControl.ScrollViewer_MouseWheel.

    I never subscribe to that event so I'm assuming it's something related to RadTabControl internal implementation...
    Can you have a look at it?

    Thanks

    Manuel

    <SerializableException xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <ExtendedInformation>
        <HResult>-2146233079</HResult>
      </ExtendedInformation>
      <Message>'System.Windows.Documents.Hyperlink' is not a Visual or Visual3D.</Message>
      <Source>PresentationCore</Source>
      <StackTrace>   at MS.Internal.Media.VisualTreeUtils.AsVisual(DependencyObject element, Visual&amp; visual, Visual3D&amp; visual3D)

     at Telerik.Windows.Controls.RadTabControl.ScrollViewer_MouseWheel(Object sender, MouseWheelEventArgs e)
     at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
     at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
     at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
     at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
     at System.Windows.Input.InputManager.ProcessStagingArea()
     at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
     at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
     at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean&amp; handled)
     at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean&amp; handled)
     at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean&amp; handled)
     at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
     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)
    </StackTrace>
      <TargetSite>Void AsVisual(System.Windows.DependencyObject, System.Windows.Media.Visual ByRef, System.Windows.Media.Media3D.Visual3D ByRef) @ MS.Internal.Media.VisualTreeUtils</TargetSite>
      <Type>System.InvalidOperationException</Type>
    </SerializableException>
  2. Kiril Vandov
    Admin
    Kiril Vandov avatar
    324 posts

    Posted 12 Dec 2014 Link to this post

    Hello Manuel,

    Thank you for reporting this issue. We have isolated the scenario and the root cause is the embeded MouseWheel scrolling functionality of the RadTabControl. We have logged that issue in our system and you can track its progress in our feedback portal. I have also updated your Telerik points as a small appreciation for your cooperation.

    Please excuse us for any inconvenience caused.

    Kind regards,
    Kiril Vandov
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for WPF is Visual Studio 2017 Ready
  4. Manuel
    Manuel avatar
    32 posts
    Member since:
    Sep 2013

    Posted 15 Dec 2014 in reply to Kiril Vandov Link to this post

    Great, just one more question: "status Approved" means that the fix has been planned for the next release?
  5. Kiril Vandov
    Admin
    Kiril Vandov avatar
    324 posts

    Posted 16 Dec 2014 Link to this post

    Hello Manuel,

    Status "Approved" means that we have verified that an issue is reproducible in the controls and it need to be fixed. Which items to be fixed for the next release are calculated by other criteria such as impact over the control, votes, scenario .. e.t. However due to the nature of this issue (exception) it has a high priority and we have scheduled its fix for our next official release.

    Kind regards,
    Kiril Vandov
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  6. Manuel
    Manuel avatar
    32 posts
    Member since:
    Sep 2013

    Posted 16 Dec 2014 in reply to Kiril Vandov Link to this post

    Ok, thank you for your time!
Back to Top
UI for WPF is Visual Studio 2017 Ready