Please don't have the wrong:
In the System. NullReferenceException
HResult=0 x80004003
Message=the object reference not set to an instance of an object,
Source=DevExpress. The XtraGrid. V18.1
StackTrace:
The at DevExpress. The XtraGrid. Internal. AutoFilterHelper. GridAutoFilterConditionMenuActivator. OnAutoFilterMenuClick (Object sender, DXMenuItemEventArgs args)
The at DevExpress. Utils. Menu. DXPopupMenu. RaiseItemClick (DXMenuItem item)
The at DevExpress. Utils. Menu. DXMenuItem. OnClick ()
The at DevExpress. XtraBars. Utils. DXPopupXtraMenu. OnBarMenuClick (Object sender, ItemClickEventArgs e)
The at DevExpress. XtraBars. BarItem. OnClick (BarItemLink link)
The at DevExpress. The XtraBars. The BarButtonItem. OnClick (BarItemLink link)
The at DevExpress. XtraBars. BarItemLink. OnLinkClick ()
The at DevExpress. XtraBars. BarButtonItemLink. OnLinkAction (BarLinkAction action, Object actionArgs)
The at DevExpress. XtraBars. ViewInfo. BarSelectionInfo. ClickLink (BarItemLink link)
The at DevExpress. XtraBars. ViewInfo. BarSelectionInfo. UnPressLink (BarItemLink link)
The at DevExpress. XtraBars. Controls. CustomLinksControl. onm ouseUp (MouseEventArgs e)
Ats System. Windows. Forms. Control. WmMouseUp (Message& M, MouseButtons button, Int32 on)
Ats System. Windows. Forms. Control. WndProc (Message& M)
The at DevExpress. XtraBars. Controls. CustomControl. WndProc (Message& MSG)
Ats System. Windows. Forms. NativeWindow. DebuggableCallback (IntPtr hWnd, Int32 MSG, IntPtr wparam, IntPtr lparam)
Ats System. Windows. Forms. UnsafeNativeMethods. DispatchMessageW (MSG& MSG)
At System.Windows.Forms.Application.Com ponentManager. System. Windows. Forms. UnsafeNativeMethods. IMsoComponentManager. FPushMessageLoop (IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
Ats System. Windows. Forms. Application. ThreadContext. RunMessageLoopInner (Int32 reason, ApplicationContext context)
Ats System. Windows. Forms. Application. ThreadContext. RunMessageLoop (Int32 reason, ApplicationContext context)