Hi,
Our application is currently on InfragisticsWPF4.Controls.Editors.XamComboEditor.v11.2 and we see a issue that application will crash when user enters text in xamMultiColumnComboEditor search area. The exception details are provided below. We don't have an option to migrate latest Infragistics libraries version as our code base is huge. I would like to know if there is any workaround for this problem.
----------------------------------------
Timestamp: 07/18/16 15:58:52
Message: HandlingInstanceID: 904fe052-b072-4cd1-837c-3bdf81367f2d
An exception of type 'System.NullReferenceException' occurred and was caught.
-----------------------------------------------------------------------------
07/18/2016 15:58:52
Type : System.NullReferenceException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Message : Object reference not set to an instance of an object.
Exception Data :
--------------------------------
Source : InfragisticsWPF4.Controls.Editors.XamComboEditor.v11.2
Help link :
Data : System.Collections.ListDictionaryInternal
TargetSite : System.String get_Value()
HResult : -2147467261
Stack Trace : at Infragistics.AutomationPeers.ComboCellsPanelAutomationPeer.get_Value()
at Infragistics.AutomationPeers.ComboCellsPanelAutomationPeer.GetNameCore()
at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
at System.Windows.ContextLayoutManager.fireAutomationEvents()
at System.Windows.ContextLayoutManager.UpdateLayout()
at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)
at System.Windows.Media.MediaContext.InvokeOnRenderCallback.DoWork()
at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Threading.DispatcherOperation.Invoke()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
at System.Windows.Application.RunDispatcher(Object ignore)
at System.Windows.Application.RunInternal(Window window)
at System.Windows.Application.Run(Window window)
at System.Windows.Application.Run()
Hello patriprasadwk,I have put together a sample application to test entering text to XamMultiColumnComboEditor. The exception was not thrown on my side when the project was built against version 11.2. Please have a look at the attached sample application and modify it to illustrate the behavior.
Let me know if you have questions.
hi Maria, thanks for your reply !! I was able to reproduce the crash with your application in Windows Server 2012 R2 standard version. It works fine in Windows 7.
Regarding the original issue, we were able to reproduce the issue in few windows 7 and 8 machines but not in all machines. We were able to reproduce it consistently on Windows server 2012 machine.
Our team was able to pinpoint exception and I've attached the exception details.Can you please try running the exe on Windows server 2012 machine?
Thanks,
Prasad