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.
Hello,
Our dev team cannot say for sure what can cause the exception, which you get, without a sample, where the issue is reproduced, so if yo ucould provide us with one, we will be able to investiagte this further for you. Also i could create a provate case for you, so you can send me the sample there.
Looking forward for your reply.
I have contacted with our development team and as soon as I get answer from them I will update you.
Thank you for your patience.
I've tried uopgrading to IG12.1, but this doesn't seem to have fixed it. Unfortunately, it's very erractic, perhaps only happening 1-5% of the time.
We've actaully got 2 SL apps; one has some QAT entries, and we've never seen an issue in that; the other has no QAT entries, and occasionally gets this problem. the problem application has asynchronous calls to a server, so things do get updated very dynamically (all should be marshalled back to the UI thread, though).
Building a simple app to demosntrate the problem will, I suspect, be non-trivial. I was really hoping that someone may have come across this issue.
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.