Hi,
We are seeing that our app crashes with a Null reference exception in Infragistics xamDataGrid. The cause of the exception does not seem to be too evident and seems a random occurance. below is the call stack.
Version of Infragistics under use : 10.2.20102.2045
Error: An unrecoverable error has occurred while running Carbon 2010.10.113.5. The application will now exit.System.NullReferenceException: Object reference not set to an instance of an object.at Infragistics.Windows.DataPresenter.DataPresenterBase.ExecuteCommandImpl(ExecuteCommandInfo commandInfo, Boolean raiseEvents)at Infragistics.Windows.DataPresenter.DataPresenterBase.Infragistics.Windows.Commands.ICommandHost.Execute(ExecuteCommandInfo commandInfo)at Infragistics.Windows.Commands.Commands`1.OnCommand(Object target, ExecutedRoutedEventArgs args)at System.Windows.Input.CommandBinding.OnExecuted(Object sender, ExecutedRoutedEventArgs e)at System.Windows.Input.CommandManager.ExecuteCommandBinding(Object sender, ExecutedRoutedEventArgs e, CommandBinding commandBinding)at System.Windows.Input.CommandManager.FindCommandBinding(CommandBindingCollection commandBindings, Object sender, RoutedEventArgs e, ICommand command, Boolean execute)at System.Windows.Input.CommandManager.FindCommandBinding(Object sender, RoutedEventArgs e, ICommand command, Boolean execute)at System.Windows.Input.CommandManager.OnExecuted(Object sender, ExecutedRoutedEventArgs e)at System.Windows.UIElement.OnExecutedThunk(Object sender, ExecutedRoutedEventArgs e)at System.Windows.Input.ExecutedRoutedEventArgs.InvokeEventHandler(Delegate genericHandler, Object target)at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)at System.Windows.Input.RoutedCommand.ExecuteImpl(Object parameter, IInputElement target, Boolean userInitiated)at System.Windows.Input.RoutedCommand.Execute(Object parameter, IInputElement target)at Infragistics.Windows.Commands.Commands`1.ProcessKeyboardInput(KeyEventArgs e, ICommandHost commandHost)at Infragistics.Windows.DataPresenter.DataPresenterCommands.ProcessKeyboardInput(KeyEventArgs e, ICommandHost commandHost)at Infragistics.Windows.Controls.IGControlBase.OnKeyDown(KeyEventArgs e)at System.Windows.UIElement.OnKeyDownThunk(Object sender, KeyEventArgs e)at System.Windows.Input.KeyEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)at System.Windows.Input.InputManager.ProcessStagingArea()at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)at System.Windows.Interop.HwndKeyboardInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawKeyboardActions actions, Int32 scanCode, Boolean isExtendedKey, Boolean isSystemKey, Int32 virtualKey)at System.Windows.Interop.HwndKeyboardInputProvider.ProcessKeyAction(MSG& msg, Boolean& handled)at System.Windows.Interop.HwndSource.CriticalTranslateAccelerator(MSG& msg, ModifierKeys modifiers)at System.Windows.Interop.HwndSource.System.Windows.Interop.IKeyboardInputSink.TranslateAccelerator(MSG& msg, ModifierKeys modifiers)at System.Windows.Forms.Integration.ElementHost.ProcessCmdKey(Message& msg, Keys keyData)at System.Windows.Forms.Control.PreProcessMessage(Message& msg)at System.Windows.Forms.Control.PreProcessControlMessageInternal(Control target, Message& msg)at System.Windows.Forms.Application.ThreadContext.PreTranslateMessage(MSG& msg)
Hi Rama,
I am just checking if you manage to verify if the issue was solved with the latest service release.
Thank you.
Sincerely,DimiDeveloper Support EngineerInfragistics, Inc.
Thank you for your feedback. Just keep us posted if the issue is still reproducible and provide us more details.
I was trying to test this with the latest release,and am not able to repro the error, that said we were not able to do that consistently even on the old release, so I am still not convinced if the latest patch has fixed the issue. Probably we have to wait and watch on this.
I am just checking if you still need help on this, did you test your application with the lattes t service release?I looking forward for your details.
Thank you for your feedback. Can you please also share with us which version of the Framework are you using, Did you test your application with the latest service release. If the latest service release didn’t help I will appreciate if you send us more details about your scenario, what steps you did in order to get the error, id you get the error every time when you did similar steps, what data are you displaying and are manipulating it in background?
I looking forward for your details. Sincerely,DimiDeveloper Support Engineer, MCPD Infragistics, Inc.www.infragistics.com/support