I am having a difficult time fixing a bug in my application. When I select an infragistics UltraDateTimeEditor an exception is thrown:
ArgumentNullException was unhandled -
EnterEditMode requires a embeddableElement parameterParameter name: embeddableElement
I can't figure out what this exception means so I can't find a way to fix it.
Hi,
Is that the whole call stack? Because I don't see any mention of the Infragistics components or controls in it anywhere.
I'm currently trying to put together a small project to reproduce the issue. I'm having trouble reproducing it in a separate project though. There are a lot of moving parts in our application.
Here is the call stack, is this what you mean?:
PASport.exe!PASport.Common.ExecutionMVC.ExecutionModel.Open(object sender = {PASport.Forms.Insurance.Certificate, Text: Certificates}, PASport.Forms.Base.Modal.ModalForm modal = {PASport.Forms.Insurance.AddEditCertificate, Text: Edit Certificate}) Line 1285 C# PASport.exe!PASport.Common.ExecutionMVC.ExecutionController.RequestOpen(object sender = {PASport.Forms.Insurance.Certificate, Text: Certificates}, PASport.Forms.Base.Modal.ModalForm modal = {PASport.Forms.Insurance.AddEditCertificate, Text: Edit Certificate}) Line 300 + 0x19 bytes C# PASport.exe!PASport.Forms.Insurance.Certificate.RequestTopEdit() Line 482 + 0x1b bytes C# PASport.exe!PASport.Forms.Base.TwoGrids.TopBottomPersistentForm.dgmTop_EditCheckedChanged(object sender = {PASport.CustomControl.Menu.DataGridViewMenu, Name: dgmTop, Items: 12}, PASport.CustomControl.Menu.RowEventArgs ea = {PASport.CustomControl.Menu.RowEventArgs}) Line 828 + 0xb bytes C# PASport.CustomControl.Menu.dll!PASport.CustomControl.Menu.DataGridViewMenu.OnEditCheckedChanged(System.EventArgs e = {System.EventArgs}) Line 271 + 0x35 bytes C# PASport.CustomControl.Menu.dll!PASport.CustomControl.Menu.DataGridViewMenu.tsbEdit_CheckedChanged(object sender = {Edit}, System.EventArgs e = {System.EventArgs}) Line 173 + 0xe bytes C# [External Code] PASport.CustomControl.Menu.dll!PASport.CustomControl.Menu.DataGridViewMenu.EditChecked.set(bool value = true) Line 790 + 0x14 bytes C# PASport.exe!PASport.Forms.Base.TwoGrids.TopBottomPersistentForm.dgvTopPersistent_CellDoubleClick(object sender = {System.Windows.Forms.DataGridView}, System.Windows.Forms.DataGridViewCellEventArgs e = {System.Windows.Forms.DataGridViewCellEventArgs}) Line 629 + 0x15 bytes C# [External Code] PASport.exe!PASport.Common.Program.Main(string[] args = {string[0]}) Line 209 + 0x8 bytes C# [External Code]
Hello,
Can you post a small sample project about this, I am going to research it for you.
It couldn't hurt to post the call stack of the exception. It's a long shot, and a sample demonstrating the exception is still the best and most reliable way for us to figure out what's happening. But it might point you in the right direction.