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

NullReference in RibbonView.KeyTipService.GetActivationMode

3 Answers 57 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Matthias Bibo
Top achievements
Rank 1
Matthias Bibo asked on 18 Nov 2016, 02:52 PM

 

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

3 Answers, 1 is accepted

Sort by
0
Milena
Telerik team
answered on 23 Nov 2016, 09:11 AM
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.
0
Dominic
Top achievements
Rank 1
answered on 02 Dec 2016, 02:34 PM

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

 

 

0
Accepted
Milena
Telerik team
answered on 07 Dec 2016, 09:25 AM
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.
Tags
General Discussions
Asked by
Matthias Bibo
Top achievements
Rank 1
Answers by
Milena
Telerik team
Dominic
Top achievements
Rank 1
Share this question
or