Hello Infragistics Team,
we have detected an Object Reference Exception in the Toolbar Version 8.2 CLR 2.0...
Is this a known issue?
at Infragistics.Win.UltraWinToolbars.RibbonGroup.PreventMouseInputNotification(UIElementInputType inputType)
at Infragistics.Win.UltraWinToolbars.RibbonGroupUIElement.WantsInputNotification(UIElementInputType inputType, Point point) at Infragistics.Win.UIElement.PointInElement(Point point, Boolean excludeOverlappingSiblings, Boolean ignoreClipping, Boolean honorInputType, UIElementInputType inputType) at Infragistics.Win.UIElement.ElementFromPoint(Point point, Boolean ignoreClipping, UIElementInputType inputType, Boolean honorInputType, Boolean excludeOverlappingSiblings) at Infragistics.Win.UIElement.ElementFromPoint(Point point, Boolean ignoreClipping, UIElementInputType inputType, Boolean honorInputType, Boolean excludeOverlappingSiblings) at Infragistics.Win.UIElement.ElementFromPoint(Point point, Boolean ignoreClipping, UIElementInputType inputType, Boolean honorInputType, Boolean excludeOverlappingSiblings) at Infragistics.Win.UIElement.ElementFromPoint(Point point, Boolean ignoreClipping, UIElementInputType inputType, Boolean honorInputType, Boolean excludeOverlappingSiblings) at Infragistics.Win.UIElement.ElementFromPoint(Point point, Boolean ignoreClipping, UIElementInputType inputType, Boolean honorInputType, Boolean excludeOverlappingSiblings) at Infragistics.Win.UIElement.ElementFromPoint(Point point, Boolean ignoreClipping, UIElementInputType inputType, Boolean honorInputType, Boolean excludeOverlappingSiblings) at Infragistics.Win.UIElement.ElementFromPoint(Point point, Boolean ignoreClipping, UIElementInputType inputType, Boolean honorInputType, Boolean excludeOverlappingSiblings) at Infragistics.Win.UIElement.ElementFromPoint(Point point, Boolean ignoreClipping, UIElementInputType inputType, Boolean honorInputType, Boolean excludeOverlappingSiblings) at Infragistics.Win.UIElement.ElementFromPoint(Point point, Boolean ignoreClipping, UIElementInputType inputType) at Infragistics.Win.UIElement.ElementFromPoint(Point point, UIElementInputType inputType) at Infragistics.Win.ControlUIElementBase.SyncMouseEntered(Boolean triggerMouseLeavesOnly, UIElementInputType inputType, Boolean ignoreLastElementEntered) at Infragistics.Win.ControlUIElementBase.ProcessVisibleChanged(Object sender, EventArgs e) at Infragistics.Win.Utilities.ProcessEvent(Control control, ProcessEvent eventToProcess, EventArgs e) at Infragistics.Win.UltraControlBase.OnVisibleChanged(EventArgs e) at System.Windows.Forms.Control.OnParentVisibleChanged(EventArgs e) at System.Windows.Forms.Control.OnVisibleChanged(EventArgs e) at System.Windows.Forms.ScrollableControl.OnVisibleChanged(EventArgs e) at System.Windows.Forms.Form.OnVisibleChanged(EventArgs e) at System.Windows.Forms.Control.WmShowWindow(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ScrollableControl.WndProc(Message& m) at System.Windows.Forms.ContainerControl.WndProc(Message& m) at System.Windows.Forms.Form.WmShowWindow(Message& m) at System.Windows.Forms.Form.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
This is not a known issue. I would recommend submitting this to the support group: http://es.infragistics.com/gethelp.
We are seeing exactly the same crash in NetAdvantage 2010.2, did this issue get investigated?
It doesn't look like any fix was put in for this. Are you able to reproduce the issue consistently? Can you provide a sample or list of steps that would reproduce this issue?
This happens infrequently and we are working on reliable reproduction steps. I have raised a support issue as well. Will report back when I have further details
Hello,
Are there any news / solutions / workarounds for this issue? Some clients of our software encounterd the same exception recently. Also infrequently as described above.
Regards
Thorsten
Hello Thorsten,
My apologies for the delay in the creation of the support case and resolution of this issue. I have since created you a support case and have logged this issue in our internal tracking systems with a development ID of 272949. The private support case I have created for you has an ID of CAS-212416-J7D3Z1 and I will be linking development issue 272949 to it. You can access that support case after signing into your account, here: https://es.infragistics.com/my-account/support-activity.
Please let me know if you have any other questions or concerns on this matter.
Hi Mike, we have seen in the latest version that the problem is unfortunately still not fixed. The scenario described above still occurs with us from time to time. Can you say something about the current status and whether there are still plans to implement the security check against null?
Is it possibly better to create an official support request as a customer?
Yours sincerely, Thorsten Pontow.
Thanks Mike!
Hi Thorston,
I have asked our support team to create a case for this issue and write up a bug for developer review so we can add some null checks to this message. Since we cannot reproduce the exception or test it, there's a small chance that this is just a symptom of a larger problem. But it seems likely that this is just a rare edge case where the controls is hitting this code before the RibbonGroup has had it's backward pointers to the ribbon or ToolbarsManager initialized and the null checks should fix it.
Hello Mike,
the stack trace from our client is nearly the same as in the old post above:
<InnerExceptions> <InnerException ExceptionType="System.NullReferenceException"> <Number>0</Number> <Message>Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.</Message> <Source>Infragistics4.Win.UltraWinToolbars.v19.2</Source> <TargetSite>Boolean PreventMouseInputNotification(Infragistics.Win.UIElementInputType)</TargetSite> <Class>Infragistics.Win.UltraWinToolbars.RibbonGroup</Class> <Assembly>Infragistics4.Win.UltraWinToolbars.v19.2, Version=19.2.20192.198, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb</Assembly> <Method>PreventMouseInputNotification</Method> <StackTrace> <StackTraceElements Count="1"> <StackTraceElement Number="1"> bei Infragistics.Win.UltraWinToolbars.RibbonGroup.PreventMouseInputNotification(UIElementInputType inputType) bei Infragistics.Win.UltraWinToolbars.RibbonGroupUIElement.WantsInputNotification(UIElementInputType inputType, Point point) bei Infragistics.Win.UIElement.PointInElement(Point point, Boolean excludeOverlappingSiblings, Boolean ignoreClipping, Boolean honorInputType, UIElementInputType inputType) bei Infragistics.Win.UIElement.ElementFromPoint(Point point, Boolean ignoreClipping, UIElementInputType inputType, Boolean honorInputType, Boolean excludeOverlappingSiblings) bei Infragistics.Win.UIElement.ElementFromPoint(Point point, Boolean ignoreClipping, UIElementInputType inputType, Boolean honorInputType, Boolean excludeOverlappingSiblings) bei Infragistics.Win.UIElement.ElementFromPoint(Point point, Boolean ignoreClipping, UIElementInputType inputType, Boolean honorInputType, Boolean excludeOverlappingSiblings) bei Infragistics.Win.UIElement.ElementFromPoint(Point point, Boolean ignoreClipping, UIElementInputType inputType, Boolean honorInputType, Boolean excludeOverlappingSiblings) bei Infragistics.Win.UIElement.ElementFromPoint(Point point, Boolean ignoreClipping, UIElementInputType inputType, Boolean honorInputType, Boolean excludeOverlappingSiblings) bei Infragistics.Win.UIElement.ElementFromPoint(Point point, Boolean ignoreClipping, UIElementInputType inputType, Boolean honorInputType, Boolean excludeOverlappingSiblings) bei Infragistics.Win.UIElement.ElementFromPoint(Point point, Boolean ignoreClipping, UIElementInputType inputType, Boolean honorInputType, Boolean excludeOverlappingSiblings) bei Infragistics.Win.UIElement.ElementFromPoint(Point point, Boolean ignoreClipping, UIElementInputType inputType, Boolean honorInputType, Boolean excludeOverlappingSiblings) bei Infragistics.Win.ControlUIElementBase.SyncMouseEntered(Boolean triggerMouseLeavesOnly, UIElementInputType inputType, Boolean ignoreLastElementEntered) bei Infragistics.Win.ControlUIElementBase.ProcessVisibleChanged(Object sender, EventArgs e) bei Infragistics.Win.Utilities.ProcessEvent(Control control, ProcessEvent eventToProcess, EventArgs e) bei Infragistics.Win.UltraControlBase.OnVisibleChanged(EventArgs e)
Maybe that helps.
Thanks and regards