Bug Report T1284711
Visible to All Users

NullReferenceException is thrown when a filter is selected from a column filter dropdown

created 8 days ago (modified 8 days ago)

Steps to reproduce:

  1. Create a GridControl with a GridView;
  2. Set the GridColumn.OptionsFilter.FilterPopupMode property to FilterPopupMode.List;
  3. Run the project and the Magnifier application.
  4. Click the column filter icon and select a filter value in the drop-down list.

Expected results:

No exception occurs.

Current results:

After a certain number of item selections from the dropdown, NullReferenceException is thrown.

Additional information:

Call Stack
DevExpress.XtraEditors.v24.2.dll!DevExpress.Accessibility.ComboBoxEditItemsListAccessible.GetChildrenInfo() Line 40 C# DevExpress.Utils.v24.2.dll!DevExpress.Accessibility.BaseAccessible.HasActualChildren.get() Unknown DevExpress.Utils.v24.2.dll!DevExpress.Accessibility.BaseAccessible.GetAccessibleById(int objectId, int childId) Unknown DevExpress.XtraEditors.v24.2.dll!DevExpress.XtraEditors.ComboBoxEdit.GetAccessibilityObjectById(int objectId) Line 717 C# System.Windows.Forms.dll!System.Windows.Forms.Control.GetAccessibilityObject(int accObjId) Unknown System.Windows.Forms.dll!System.Windows.Forms.Control.GetInternalAccessibilityObject(int accObjId) Unknown System.Windows.Forms.dll!System.Windows.Forms.Control.WmGetObject(ref System.Windows.Forms.Message m) Unknown System.Windows.Forms.dll!System.Windows.Forms.Control.WndProc(ref System.Windows.Forms.Message m) Unknown DevExpress.Utils.v24.2.dll!DevExpress.XtraEditors.XtraControl.WndProc(ref System.Windows.Forms.Message m) Unknown DevExpress.Utils.v24.2.dll!DevExpress.Utils.Controls.ControlBase.BaseWndProc(ref System.Windows.Forms.Message m) Unknown DevExpress.XtraEditors.v24.2.dll!DevExpress.XtraEditors.BaseControl.WndProc(ref System.Windows.Forms.Message msg) Line 1032 C# DevExpress.XtraEditors.v24.2.dll!DevExpress.XtraEditors.BaseEdit.WndProc(ref System.Windows.Forms.Message m) Unknown DevExpress.XtraEditors.v24.2.dll!DevExpress.XtraEditors.TextEdit.BaseEditWndProc(ref System.Windows.Forms.Message msg) Line 4268 C# DevExpress.XtraEditors.v24.2.dll!DevExpress.XtraEditors.TextEdit.TextEditWorkingStrategy.WndProc(ref System.Windows.Forms.Message msg) Line 508 C# DevExpress.XtraEditors.v24.2.dll!DevExpress.XtraEditors.TextEdit.WndProc(ref System.Windows.Forms.Message msg) Line 4262 C# DevExpress.XtraEditors.v24.2.dll!DevExpress.XtraEditors.PopupBaseEdit.WndProc(ref System.Windows.Forms.Message msg) Line 1364 C# DevExpress.XtraGrid.v24.2.dll!DevExpress.XtraGrid.Views.Base.ColumnFilterPopup.FilterComboBox.WndProc(ref System.Windows.Forms.Message msg) Unknown

Answers approved by DevExpress Support

created a day ago

We have addressed the issue described in this ticket and will include a fix in our next maintenance update. Should you need to apply our fix prior to official release, you can request a hotfix here.

Important Notes:

  • Hotfixes may be unavailable for Early Access/Beta builds or updates set for release within a week.
  • .NET only: in the NuGet Package Manager, use your personal NuGet feed and check the "Include prerelease" option to view the hotfix package in the "Updates" tab.

    Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

    Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.