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
515
Value cannot be null. Parameter name component
posted
Please help me with this exception. I can't figure it out, I believe I am doing something wrong
with Infragistics grid. Thanks!
----------------------------------------------
An Unhandled Exception has occured in PearlPOS
----------------------------------------------
System.ArgumentNullException: Value cannot be null.
Parameter name: component
   at System.ComponentModel.ReflectPropertyDescriptor.RemoveValueChanged(Object component, EventHandler handler)
   at System.Windows.Forms.BindToObject.CheckBinding()
   at System.Windows.Forms.Binding.CheckBinding()
   at System.Windows.Forms.Binding.SetBindableComponent(IBindableComponent value)
   at System.Windows.Forms.ControlBindingsCollection.ClearCore()
   at System.Windows.Forms.BindingsCollection.Clear()
   at System.Windows.Forms.ControlBindingsCollection.Clear()
   at System.Windows.Forms.Control.ResetBindings()
   at System.Windows.Forms.Control.Dispose(Boolean disposing)
   at System.Windows.Forms.TextBox.Dispose(Boolean disposing)
   at System.ComponentModel.Component.Dispose()
   at System.Windows.Forms.Control.Dispose(Boolean disposing)
   at System.ComponentModel.Component.Dispose()
   at System.Windows.Forms.Control.Dispose(Boolean disposing)
   at System.ComponentModel.Component.Dispose()
   at System.Windows.Forms.Control.Dispose(Boolean disposing)
   at System.Windows.Forms.ContainerControl.Dispose(Boolean disposing)
   at System.ComponentModel.Component.Dispose()
   at System.Windows.Forms.Control.Dispose(Boolean disposing)
   at System.Windows.Forms.ContainerControl.Dispose(Boolean disposing)
   at System.Windows.Forms.Form.Dispose(Boolean disposing)
   at Pearlpos.Forms.BaseView.Dispose(Boolean disposing)
   at BarcodeLabelPrintView.Dispose(Boolean disposing)
   at System.ComponentModel.Component.Dispose()
   at System.Windows.Forms.Form.WmClose(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
 
Parents
No Data
Reply
  • 469350
    Verified Answer
    Offline posted

    Hi,

    From what you posted here, this exception doesn't seem to have anything to do with Infragistics. Infragistics assemblies are not mentioned anywhere in this call stack as far as I can see.

    The exception appears to be occurring when the form is closed and a TextBox is getting disposed.

Children
No Data