NullReference in RibbonView.KeyTipService.GetActivationMode

4 posts, 0 answers
  1. Matthias Bibo
    Matthias Bibo avatar
    72 posts
    Member since:
    Mar 2010

    Posted 18 Nov 2016 Link to this post

     

    Hi,

    we are currently having an issue with the telerik Controls for Silverlight.
    We are getting the following Exception:

    Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
    StackTrace:
       bei Telerik.Windows.Controls.RibbonView.KeyTipService.GetActivationMode(DependencyObject obj)
       bei Telerik.Windows.Controls.RibbonView.KeyTipService.DetachHandlers()
       bei Telerik.Windows.Controls.RibbonView.KeyTipService.HandleKey(KeyEventArgs args)
       bei Telerik.Windows.Controls.RibbonView.KeyTipService.RibbonKeyUp(Object sender, KeyEventArgs e)
       bei MS.Internal.CoreInvokeHandler.InvokeEventHandler(UInt32 typeIndex, Delegate handlerDelegate, Object sender, Object args)
       bei MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName, UInt32 flags)

    We get this Exception every time any Key is pressed on the Keyboard, even though there are no Ribbon-Conrols in the current View.
    We haven’t been able to reproduce jet, we can find the Exception in logfiles of our clients.
    Once the exception occurs, it keeps occurring until the Application is restarted.
    Is there a known issue here? Or any Workaround?
    As I mentioned, we aren't even using the Ribbon-Conrols in this particular situation.

    Beste Regards

    Matthias

  2. Milena
    Admin
    Milena avatar
    216 posts

    Posted 23 Nov 2016 Link to this post

    Hello Matthias,

    We fixed one NullReferenceException in scenario with KeyTips and RibbonView inside RadPane or RadTabItem, but the issue was fixed with R3 2016. Could you confirm that you are using the latest version of our UI for Silverlight as it is marked in the current thread? 

    You can find attached a sample project which I used to reproduce the issue locally but to no avail. Please feel free to modify it in order to show us your setup. Also could you please give us more detailed information about the scenario - e.g. what do you mean by  "even though there are no Ribbon-Conrols in the current View", where is hosted the RibbonView?

    Thank you in advance for your cooperation.

    Regards,
    Milena
    Telerik by Progress
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
  3. Dominic
    Dominic avatar
    17 posts
    Member since:
    May 2012

    Posted 02 Dec 2016 Link to this post

    Hello Milena,

     

    I´m using R3 and still get this error. See here for a possible solution.

    http://www.telerik.com/forums/exception-in-ribbonview-keytipservice#UEcX57H2SkGKwQmhVP6Qyg

     

     

  4. Milena
    Admin
    Milena avatar
    216 posts

    Posted 07 Dec 2016 Link to this post

    Hello Dominic, 

    I already answered to this question in the forum post you sent in this thread. Please refer to the answer here.

    In addition I would ask you to keep the communication for a particular topic in a single thread. This way we will be able to track the issue easier, organize our communication history better and assist you in a more convenient manner. We appreciate your understanding in this matter.

    Regards,
    Milena
    Telerik by Progress
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Back to Top