Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
762
Toolbar shortcut crash
posted

We have a WinForms 2.0 application using the Infragistics NetAdvantage 7.3 toolbar control, where pressing F10 activates tool shortcuts. This has been working fine in Windows XP but clients are starting to update to Vista, and now pressing F10 crashes with the following stack trace:

System.NullReferenceException: Object reference not set to an instance of an object.
   at Infragistics.Win.UltraWinToolbars.Ribbon.SetItemWithFocus(RibbonItem newItemWithFocus)
   at Infragistics.Win.UltraWinToolbars.Ribbon.ProcessNavigationKey(Keys keyCode)
   at Infragistics.Win.UltraWinToolbars.UltraToolbarsManager.ProcessNavigationKey(Keys keyCode, Boolean passToPopupContainer, Boolean ensureFormIsActive)
   at Infragistics.Win.UltraWinToolbars.UltraToolbarsManager.System.Windows.Forms.IMessageFilter.PreFilterMessage(Message& msg)
   at Infragistics.Win.UltraWinToolbars.UltraToolbarsManager.MessageFilterManager.ProcessMessage(Message& msg)
   at Infragistics.Win.UltraWinToolbars.UltraToolbarsManager.MessageFilterManager.System.Windows.Forms.IMessageFilter.PreFilterMessage(Message& msg)
   at Infragistics.Win.Utilities.MessageFilterManager.System.Windows.Forms.IMessageFilter.PreFilterMessage(Message& m)

Is this a known issue? We are not doing anything special to support toolbar shortcuts, should we be?

  • 71886
    Offline posted

    Hello,

    This seems to be an issue which has been fixed already. So what you could do is downloading the latest service release available for your version or either downloading the trial version of Net Advantage 11.2 and test your application against it. 

    Please let me know if this works for you and do not hesitate to contact us if you need any additional assistance.