RibbonView.ShowTips() causing error

4 posts, 0 answers
  1. Patrick
    Patrick avatar
    58 posts
    Member since:
    Jun 2008

    Posted 02 Feb Link to this post

    I setup keytips a long time ago for the application however now out of the blue things are failing with the following error:

    My version is 2016.3.914.45.

     

    2017-02-02 10:54:17.6159|ERROR|20716|1|Telerik.Windows.Controls.RibbonView.KeyTipService.ShowTips|Unhandled exception|System.NullReferenceException: Object reference not set to an instance of an object.
       at Telerik.Windows.Controls.RibbonView.KeyTipService.ShowTips()
       at Telerik.Windows.Controls.RibbonView.KeyTipService.ActivateKeyTips(KeyEventArgs args, Boolean hasTips)
       at Telerik.Windows.Controls.RibbonView.KeyTipService.HandleKey(KeyEventArgs args)
       at Telerik.Windows.Controls.RibbonView.KeyTipService.RibbonKeyUp(Object sender, KeyEventArgs e)
       at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
       at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
       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.InputManager.ProcessInput(InputEventArgs input)
       at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
       at System.Windows.Interop.HwndKeyboardInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawKeyboardActions actions, Int32 scanCode, Boolean isExtendedKey, Boolean isSystemKey, Int32 virtualKey)
       at System.Windows.Interop.HwndKeyboardInputProvider.ProcessKeyAction(MSG& msg, Boolean& handled)
       at System.Windows.Interop.HwndSource.CriticalTranslateAccelerator(MSG& msg, ModifierKeys modifiers)
       at System.Windows.Interop.HwndSource.OnPreprocessMessage(Object param)
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
       at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
       at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
       at System.Windows.Threading.Dispatcher.Invoke(DispatcherPriority priority, Delegate method, Object arg)
       at System.Windows.Interop.HwndSource.OnPreprocessMessageThunk(MSG& msg, Boolean& handled)
       at System.Windows.Interop.ComponentDispatcherThread.RaiseThreadMessage(MSG& msg)
       at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
       at System.Windows.Application.RunDispatcher(Object ignore)
       at System.Windows.Application.RunInternal(Window window)
       at MyApp.App.Main()
  2. Martin Ivanov
    Admin
    Martin Ivanov avatar
    1408 posts

    Posted 07 Feb Link to this post

    Hi Patrick,

    There are few known issues related to the RadRibbonView's KeyTipService that looks like the described error. They were fixed few months back, so I would ask you to try the latest version of UI for WPF and see if the error still occurs.

    Regards,
    Martin
    Telerik by Progress
    Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
  3. Larry Salveson
    Larry Salveson avatar
    1 posts
    Member since:
    Mar 2010

    Posted 29 Mar Link to this post

    I'm having the identical problem with version 2017.1.117.45. It occurs randomly and only seems to happen when using Remote Desktop to a screen that already has the UI displayed. We have not seen it happen when starting our app. I cannot reproduce the error, but it still happens occasionally.
  4. Martin Ivanov
    Admin
    Martin Ivanov avatar
    1408 posts

    Posted 03 Apr Link to this post

    Hi Larry,

    Can you prepare an isolated project demonstrating how you use the ribbonview control and send it over? This way I can test it locally and try to reproduce the issue with a remote desktop. Also, can you try to shoot a video that shows the issue if possible?

    Also, can you try our latest version (2017.1.222) and see if the issue still occurs.

    Note that the forum allows you to attach only image. However, you  can open a new support ticket from your telerik.com account and attach .zip files.

    Regards,
    Martin
    Telerik by Progress
    Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Back to Top