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
2030
XamComboEditor 16.2.20162.2109 crashes
posted

Hello,

I have experienced a problem with the XamComboEditor: When I set start typing in the XamComboEditor in order to get the search results I receive a crash:

   bei Infragistics.Controls.Editors.ComboEditorBase`2.ChangeType(Object value, Type dataType)
   bei Infragistics.Controls.Editors.ComboEditorBase`2.SearchAndFilterItemsByText(String text, Boolean performAutoComplete)
   bei Infragistics.Controls.Editors.ComboEditorBase`2.ProcessEditorText(Boolean allowDropDown, Boolean attemptAutoComplete)
   bei Infragistics.Controls.Editors.ComboEditorBase`2.DelayTracker_Tick(Object sender, EventArgs e)
   bei System.Windows.Threading.DispatcherTimer.FireTick(Object unused)
   bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   bei System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   bei System.Windows.Threading.DispatcherOperation.InvokeImpl()
   bei System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
   bei MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)
   bei System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   bei MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
   bei System.Windows.Threading.DispatcherOperation.Invoke()
   bei System.Windows.Threading.Dispatcher.ProcessQueue()
   bei System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   bei MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   bei MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   bei System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   bei System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   bei MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   bei MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
   bei System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
   bei System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
   bei System.Windows.Application.RunDispatcher(Object ignore)
   bei System.Windows.Application.RunInternal(Window window)
   bei System.Windows.Application.Run(Window window)
   bei System.Windows.Application.Run()
   bei AppFact.Shell.LOB.App.Main() in D:\Software Development\Bauradar Experimental\Bauradar.Shell\obj\Debug\App.g.cs:Zeile 52.

If I remove one property by another to see how it gets stable I stop with this working version:

<ig:XamComboEditor AllowMultipleSelection="True" ItemsSource="{Binding Bau2Org}" DisplayMemberPath="Organisationseinheit" CustomValueEnteredAction="Ignore" Grid.Column="1" Grid.Row="5" Style="{Binding Source={StaticResource ControlBaseStyle}}" TabIndex="104" AutoComplete="False"> </ig:XamComboEditor>

Unfortunatly the most needed functionalty (Checkboxes and Search) are gone then.

This is the crashing version:

<ig:XamComboEditor AllowMultipleSelection="True" ItemsSource="{Binding Bau2Org}" DisplayMemberPath="Organisationseinheit" CustomValueEnteredAction="Ignore" Grid.Column="3" Grid.Row="5" Style="{Binding Source={StaticResource ControlBaseStyle}}" TabIndex="105" AutoComplete="True" AutoCompleteDelay="50" IsSelectedMemberPath="IsSelected" CheckBoxVisibility="Visible"> <ig:XamComboEditor.ItemFilters> <ig:ComboItemFilter FieldName="AnzeigeFeld" LogicalOperator="And"> <ig:ComboItemFilter.Conditions> <ig:ComparisonCondition Operator="Contains" /> </ig:ComboItemFilter.Conditions> </ig:ComboItemFilter> </ig:XamComboEditor.ItemFilters> </ig:XamComboEditor>

Please advice how this can be stablized.

I am not sure if this issues is related to https://www.infragistics.com/community/forums/t/110430.aspx . If it is I would like to understand in with version/service pack its fixed.

Thanks

Niko