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

TabControl ScrollViewer_MouseWheel unhandled exception

4 Answers 80 Views
TabControl
This is a migrated thread and some comments may be shown as answers.
Manuel
Top achievements
Rank 1
Manuel asked on 09 Dec 2014, 02:34 PM
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>

4 Answers, 1 is accepted

Sort by
0
Kiril Vandov
Telerik team
answered on 12 Dec 2014, 01:01 PM
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.

 
0
Manuel
Top achievements
Rank 1
answered on 15 Dec 2014, 02:38 PM
Great, just one more question: "status Approved" means that the fix has been planned for the next release?
0
Kiril Vandov
Telerik team
answered on 16 Dec 2014, 11:36 AM
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.

 
0
Manuel
Top achievements
Rank 1
answered on 16 Dec 2014, 11:51 AM
Ok, thank you for your time!
Tags
TabControl
Asked by
Manuel
Top achievements
Rank 1
Answers by
Kiril Vandov
Telerik team
Manuel
Top achievements
Rank 1
Share this question
or