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
140
Null reference in QATMenu.EnsureVisualState
posted

We have a SL application built suing SL4, but currently using IG 11.2 ribbon. We've a couple of error messages appear occasionally. I'm assuming they may be related.

[Arg_NullReferenceException]
Arguments:
   at Infragistics.Controls.Menus.Primitives.QATMenu.EnsureVisualState()
   at Infragistics.Controls.Menus.RibbonToolBaseControl.RibbonToolBaseControl_IsEnabledChanged(Object sender, DependencyPropertyChangedEventArgs e)
   at System.Windows.Controls.Control.OnIsEnabledChanged(Control control, EventArgs args)
   at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName, UInt32 flags)

Object reference not set to an instance of an object.
   at Infragistics.Controls.Menus.Primitives.QATMenu.EnsureVisualState()
   at Infragistics.Controls.Menus.RibbonToolControl.OnRootVisualMouseLeftButtonUp()
   at Infragistics.Controls.Menus.RibbonToolControl.RootVisual_MouseLeftButtonUp(Object sender, MouseButtonEventArgs e)
   at MS.Internal.CoreInvokeHandler.InvokeEventHandler(UInt32 typeIndex, Delegate handlerDelegate, Object sender, Object args)
   at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName, UInt32 flags)

The behaviour is not easily reproduced. There are no items in the QAT menu, and the user was not ineracting with the QAT menu at the time.

Does anyone have any idea what might cause this?

Thanks.

Parents
  • 138253
    Offline posted

    Hello,

     

    It has been a while since you have made your post, in case you still need support I will be glad to assist you further. I suppose the other community members can benefit from this answer as well. I have been looking into your post, but this is not a known issue, so if you could send me an isolated sample project, where this is reproduced and the steps I need to follow in order to reproduce your behavior, I will be able to investigate this further for you.

     

    Feel free to write me if you have further questions.

Reply Children