I started this from existing code written by someone else so I am not sure why things are done the way they are or what everything means exactly.All the Infragistics tools are contained in a nuget package.
I am setting a global dataview object taken from a global dataset table.Then setting a global dataview for filtering capabilities based on other values not in the grid. Then I use that dataview as the datasource to a global binding object. Then that binding object is used for the datasource to the UltraGridView.
_dvVSMemberGrid = New Data.DataView(_dsVoteSheetData_Original.Tables("SPA_VOTE_SHEETS_DETAILS")) _dvVSMemberGrid.Sort = "LINE_NO ASC" _dvVSMemberGrid.RowFilter = "TALLY_TYPE = " & _iSelectedTallyType _bindDSFromSelectedTallyDetails.DataSource = _dvVSMemberGrid UltraGridVSVotingMembers.DataSource = _bindDSFromSelectedTallyDetails
On the form load I am calling an event to setup the columns in an empty grid programmatically at runtime, no columns are defined at design time. All the visible column's cells are DropDownList and set to a ValueList object.This valuelist is populated from another table from the same dataset listed above.
For Each row In _dsVoteSheetData_Original.Tables("MEMBERS").Rows sFullValue = row("NAME").ToString() & ", " & row("TITLE_ID").ToString() vlVotingMembers.ValueListItems.Add(sFullValue, sFullValue) Next
UltraGridVSVotingMembers.DisplayLayout.Bands(0).Columns(3).Hidden = False UltraGridVSVotingMembers.DisplayLayout.Bands(0).Columns(3).Style = ColumnStyle.DropDownList '''VOTING_MEMBER UltraGridVSVotingMembers.DisplayLayout.Bands(0).Columns(3).ValueList = vlVotingMembers
I have this code at the end of the form load process to allow the Add New Row row to appear.It is always available to change existing values (Voting Members) and allow the user to select a value in the dropdown which should save in the grid.
UltraGridVSVotingMembers.DisplayLayout.Override.AllowAddNew = AllowAddNew.Yes UltraGridVSVotingMembers.Rows.TemplateAddRow.Activate()
Other values need to be populated to make the record complete in the datasource.
The first row that is entered when the user selects a value from the dropdown works fine. Any consecutive new row that is added throws the following exception, although it works fine when you click continue.
System.NullReferenceException: Object reference not set to an instance of an object.at Infragistics.Win.EditorWithCombo.Infragistics.Win.IValueListOwner.OnSelectionChangeCommitted()
I think I properly updated to the latest version and still experienced the same behavior.
I am going to be expected to get this into QA very soon and am out of ideas of how to handle this so any help is greatly appreciated.
Hello Mickey,
I have been investigating into the behavior you are seeing, and I would like to confirm a few things before I begin trying to reproduce the NullReferenceException you are seeing. Can you please answer the following?
1. You mentioned that you “properly updated to the latest version.” Just to confirm, what is the specific version you are using?
2. You mentioned that “all Infragistics tools are contained in a NuGet package.” Is this to say that you are using the Infragistics NuGet packages that we provide for .NET Core 3.1 / .NET 5 / .NET 6 for Windows Forms?
3. Do you have an isolated sample project that demonstrates this NullReferenceException?
Please let me know if you have any other questions or concerns on this matter.
Hi Andrew,
Thanks so much!
I am really desperate here.
You are correct It is probably not THE latest version but I think we went from version 14.2 to 21.2.
Is there a definitive way to determine exactly what dll is being used?
One of our other developers (used to be my boss) created a NuGet package to use which comprises all the Infragistics tools we reference.
I am unfortunately the lower cog in the wheel here.
Is there a NuGet package that I should be using?
This is a piece of a very large application with other 3rd party tools.
See below for the entire exception contents:
Thanks,Mickey Manganelli Senior Programmer Analyst - BCRS (Best's Credit Rating System)Ambest Road, Oldwick, NJ, 08858, USAE-mail: Mickey.Manganelli@ambest.com
************** Exception Text ************** System.NullReferenceException: Object reference not set to an instance of an object. at Infragistics.Win.EditorWithCombo.Infragistics.Win.IValueListOwner.OnSelectionChangeCommitted() at Infragistics.Win.ValueList.ProcessSelectionChangeCommitted() at Infragistics.Win.ValueListDropDown.SelectItemByMouse(ValueListItem valueListItem) at Infragistics.Win.ValueListDropDown.OnMouseUp(MouseEventArgs e) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ************** Loaded Assemblies ************** mscorlib Assembly Version: 4.0.0.0 Win32 Version: 4.8.4420.0 built by: NET48REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll ---------------------------------------- BCRS Assembly Version: 9.2.0.13 Win32 Version: 9.2.0.13 CodeBase: file:///C:/Azure_DevOps/BCRSMickeyLocal/Mickey1/Components/BCRS.exe ---------------------------------------- System.Windows.Forms Assembly Version: 4.0.0.0 Win32 Version: 4.8.4400.0 built by: NET48REL1LAST_C CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System Assembly Version: 4.0.0.0 Win32 Version: 4.8.4360.0 built by: NET48REL1LAST_C CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Drawing Assembly Version: 4.0.0.0 Win32 Version: 4.8.4390.0 built by: NET48REL1LAST_C CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- DevComponents.DotNetBar2 Assembly Version: 14.0.0.19 Win32 Version: 14.0.0.19 CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/DevComponents.DotNetBar2/14.0.0.19__7eb7c3a35b91de04/DevComponents.DotNetBar2.dll ---------------------------------------- System.Configuration Assembly Version: 4.0.0.0 Win32 Version: 4.8.4190.0 built by: NET48REL1LAST_B CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll ---------------------------------------- System.Core Assembly Version: 4.0.0.0 Win32 Version: 4.8.4455.0 built by: NET48REL1LAST_C CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll ---------------------------------------- System.Xml Assembly Version: 4.0.0.0 Win32 Version: 4.8.4084.0 built by: NET48REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll ---------------------------------------- Oracle.DataAccess Assembly Version: 4.121.2.0 Win32 Version: 4.121.2.0 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/Oracle.DataAccess/v4.0_4.121.2.0__89b483f429c47342/Oracle.DataAccess.dll ---------------------------------------- System.Data Assembly Version: 4.0.0.0 Win32 Version: 4.8.4455.0 built by: NET48REL1LAST_C CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll ---------------------------------------- System.Transactions Assembly Version: 4.0.0.0 Win32 Version: 4.8.4084.0 built by: NET48REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll ---------------------------------------- Microsoft.VisualBasic Assembly Version: 10.0.0.0 Win32 Version: 14.8.4084.0 built by: NET48REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll ---------------------------------------- AMBExceptionHandler Assembly Version: 3.0.0.1 Win32 Version: 3.0.0.1 CodeBase: file:///C:/Azure_DevOps/BCRSMickeyLocal/Mickey1/Components/AMBExceptionHandler.DLL ---------------------------------------- System.EnterpriseServices Assembly Version: 4.0.0.0 Win32 Version: 4.8.4084.0 built by: NET48REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/System.EnterpriseServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll ---------------------------------------- Accessibility Assembly Version: 4.0.0.0 Win32 Version: 4.8.4084.0 built by: NET48REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll ---------------------------------------- DataMgr Assembly Version: 3.0.0.1 Win32 Version: 3.0.0.1 CodeBase: file:///C:/Azure_DevOps/BCRSMickeyLocal/Mickey1/Components/DataMgr.DLL ---------------------------------------- modFunctions Assembly Version: 1.0.1679.17035 Win32 Version: 1.0.1679.17035 CodeBase: file:///C:/Azure_DevOps/BCRSMickeyLocal/Mickey1/Components/modFunctions.DLL ---------------------------------------- System.Data.Entity Assembly Version: 4.0.0.0 Win32 Version: 4.8.4084.0 built by: NET48REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Data.Entity/v4.0_4.0.0.0__b77a5c561934e089/System.Data.Entity.dll ---------------------------------------- System.Numerics Assembly Version: 4.0.0.0 Win32 Version: 4.8.4084.0 built by: NET48REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll ---------------------------------------- BCRSCore Assembly Version: 3.0.0.2 Win32 Version: 3.0.0.2 CodeBase: file:///C:/Azure_DevOps/BCRSMickeyLocal/Mickey1/Components/BCRSCore.DLL ---------------------------------------- BCRSDatabase Assembly Version: 3.0.0.1 Win32 Version: 3.0.0.0 CodeBase: file:///C:/Azure_DevOps/BCRSMickeyLocal/Mickey1/Components/BCRSDatabase.DLL ---------------------------------------- TXTextControl.Windows.Forms Assembly Version: 25.0.1000.500 Win32 Version: 25.0.1002.500 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/TXTextControl.Windows.Forms/v4.0_25.0.1000.500__6b83fe9a75cfb638/TXTextControl.Windows.Forms.dll ---------------------------------------- TXTextControl Assembly Version: 25.0.1800.500 Win32 Version: 25.0.1802.500 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/TXTextControl/v4.0_25.0.1800.500__6b83fe9a75cfb638/TXTextControl.dll ---------------------------------------- System.Data.DataSetExtensions Assembly Version: 4.0.0.0 Win32 Version: 4.8.4084.0 built by: NET48REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Data.DataSetExtensions/v4.0_4.0.0.0__b77a5c561934e089/System.Data.DataSetExtensions.dll ---------------------------------------- C1.Win.C1Spell Assembly Version: 1.2.20023.29 Win32 Version: 1.2.20033.37 CodeBase: file:///C:/Azure_DevOps/BCRSMickeyLocal/Mickey1/Components/C1.Win.C1Spell.DLL ---------------------------------------- Infragistics4.Win.v14.2 Assembly Version: 14.2.20142.1000 Win32 Version: 14.2.20142.1000 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Infragistics4.Win.v14.2/v4.0_14.2.20142.1000__7dd5c3163f2cd0cb/Infragistics4.Win.v14.2.dll ---------------------------------------- Infragistics4.Shared.v14.2 Assembly Version: 14.2.20142.1000 Win32 Version: 14.2.20142.1000 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Infragistics4.Shared.v14.2/v4.0_14.2.20142.1000__7dd5c3163f2cd0cb/Infragistics4.Shared.v14.2.dll ---------------------------------------- Infragistics4.Win.UltraWinGrid.DocumentExport.v14.2 Assembly Version: 14.2.20142.1000 Win32 Version: 14.2.20142.1000 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Infragistics4.Win.UltraWinGrid.DocumentExport.v14.2/v4.0_14.2.20142.1000__7dd5c3163f2cd0cb/Infragistics4.Win.UltraWinGrid.DocumentExport.v14.2.dll ---------------------------------------- Infragistics4.Documents.Reports.v14.2 Assembly Version: 14.2.20142.1000 Win32 Version: 14.2.20142.1000 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Infragistics4.Documents.Reports.v14.2/v4.0_14.2.20142.1000__7dd5c3163f2cd0cb/Infragistics4.Documents.Reports.v14.2.dll ---------------------------------------- Infragistics4.Win.UltraWinGrid.ExcelExport.v14.2 Assembly Version: 14.2.20142.1000 Win32 Version: 14.2.20142.1000 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Infragistics4.Win.UltraWinGrid.ExcelExport.v14.2/v4.0_14.2.20142.1000__7dd5c3163f2cd0cb/Infragistics4.Win.UltraWinGrid.ExcelExport.v14.2.dll ---------------------------------------- Infragistics4.Documents.Excel.v14.2 Assembly Version: 14.2.20142.1000 Win32 Version: 14.2.20142.1000 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Infragistics4.Documents.Excel.v14.2/v4.0_14.2.20142.1000__7dd5c3163f2cd0cb/Infragistics4.Documents.Excel.v14.2.dll ---------------------------------------- Infragistics4.Win.UltraWinEditors.v14.2 Assembly Version: 14.2.20142.1000 Win32 Version: 14.2.20142.1000 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Infragistics4.Win.UltraWinEditors.v14.2/v4.0_14.2.20142.1000__7dd5c3163f2cd0cb/Infragistics4.Win.UltraWinEditors.v14.2.dll ---------------------------------------- Infragistics4.Win.UltraWinGrid.v14.2 Assembly Version: 14.2.20142.1000 Win32 Version: 14.2.20142.1000 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Infragistics4.Win.UltraWinGrid.v14.2/v4.0_14.2.20142.1000__7dd5c3163f2cd0cb/Infragistics4.Win.UltraWinGrid.v14.2.dll ---------------------------------------- UIAutomationProvider Assembly Version: 4.0.0.0 Win32 Version: 4.8.4455.0 built by: NET48REL1LAST_C CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/UIAutomationProvider/v4.0_4.0.0.0__31bf3856ad364e35/UIAutomationProvider.dll ---------------------------------------- Infragistics4.Win.Misc.v14.2 Assembly Version: 14.2.20142.1000 Win32 Version: 14.2.20142.1000 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Infragistics4.Win.Misc.v14.2/v4.0_14.2.20142.1000__7dd5c3163f2cd0cb/Infragistics4.Win.Misc.v14.2.dll ---------------------------------------- Infragistics4.Win.UltraWinSpellChecker.v14.2 Assembly Version: 14.2.20142.1000 Win32 Version: 14.2.20142.1000 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Infragistics4.Win.UltraWinSpellChecker.v14.2/v4.0_14.2.20142.1000__7dd5c3163f2cd0cb/Infragistics4.Win.UltraWinSpellChecker.v14.2.dll ---------------------------------------- UIAutomationTypes Assembly Version: 4.0.0.0 Win32 Version: 4.8.4455.0 built by: NET48REL1LAST_C CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/UIAutomationTypes/v4.0_4.0.0.0__31bf3856ad364e35/UIAutomationTypes.dll ---------------------------------------- VistaButton Assembly Version: 1.0.3408.12365 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Azure_DevOps/BCRSMickeyLocal/Mickey1/Components/VistaButton.DLL ---------------------------------------- Infragistics4.Win.UltraWinDataSource.v14.2 Assembly Version: 14.2.20142.1000 Win32 Version: 14.2.20142.1000 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Infragistics4.Win.UltraWinDataSource.v14.2/v4.0_14.2.20142.1000__7dd5c3163f2cd0cb/Infragistics4.Win.UltraWinDataSource.v14.2.dll ---------------------------------------- TXSpell.Windows.Forms Assembly Version: 7.0.600.500 Win32 Version: 7.0.600.500 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/TXSpell.Windows.Forms/v4.0_7.0.600.500__6b83fe9a75cfb638/TXSpell.Windows.Forms.dll ---------------------------------------- TXSpell Assembly Version: 7.0.600.500 Win32 Version: 7.0.600.500 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/TXSpell/v4.0_7.0.600.500__6b83fe9a75cfb638/TXSpell.dll ---------------------------------------- AMBest_Text_Editor Assembly Version: 3.0.0.1 Win32 Version: 3.0.0.1 CodeBase: file:///C:/Azure_DevOps/BCRSMickeyLocal/Mickey1/Components/AMBest_Text_Editor.DLL ---------------------------------------- TXDocumentServer Assembly Version: 25.0.1100.500 Win32 Version: 25.0.1102.500 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/TXDocumentServer/v4.0_25.0.1100.500__6b83fe9a75cfb638/TXDocumentServer.dll ---------------------------------------- TXDrawing Assembly Version: 25.0.300.500 Win32 Version: 25.0.300.500 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/TXDrawing/v4.0_25.0.300.500__6b83fe9a75cfb638/TXDrawing.dll ---------------------------------------- TXDocumentServer.Windows.Forms Assembly Version: 25.0.800.500 Win32 Version: 25.0.802.500 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/TXDocumentServer.Windows.Forms/v4.0_25.0.800.500__6b83fe9a75cfb638/TXDocumentServer.Windows.Forms.dll ---------------------------------------- System.Web Assembly Version: 4.0.0.0 Win32 Version: 4.8.4465.0 built by: NET48REL1LAST_B CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll ---------------------------------------- C1.Win.C1SpellChecker.2 Assembly Version: 2.0.20121.104 Win32 Version: 2.0.20121.104 CodeBase: file:///C:/Azure_DevOps/BCRSMickeyLocal/Mickey1/Components/C1.Win.C1SpellChecker.2.DLL ---------------------------------------- txtools Assembly Version: 25.0.800.500 Win32 Version: 25.0.801.500 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/txtools/v4.0_25.0.800.500__6b83fe9a75cfb638/txtools.dll ---------------------------------------- Microsoft.VisualStudio.Debugger.Runtime.Desktop Assembly Version: 16.0.0.0 Win32 Version: 16.10.10610.2 CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Visual%20Studio/2019/Professional/Common7/IDE/Remote%20Debugger/x64/Runtime/Microsoft.VisualStudio.Debugger.Runtime.Desktop.dll ---------------------------------------- Infragistics4.Win.SupportDialogs.v14.2 Assembly Version: 14.2.20142.1000 Win32 Version: 14.2.20142.1000 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Infragistics4.Win.SupportDialogs.v14.2/v4.0_14.2.20142.1000__7dd5c3163f2cd0cb/Infragistics4.Win.SupportDialogs.v14.2.dll ---------------------------------------- TXTextControl.Server Assembly Version: 25.0.1000.500 Win32 Version: 25.0.1002.500 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/TXTextControl.Server/v4.0_25.0.1000.500__6b83fe9a75cfb638/TXTextControl.Server.dll ---------------------------------------- Microsoft.VisualStudio.DebuggerVisualizers Assembly Version: 16.0.0.0 Win32 Version: 16.0.40501.4 CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Visual%20Studio/2019/Professional/Common7/Packages/Debugger/Visualizers/netstandard2.0/Microsoft.VisualStudio.DebuggerVisualizers.dll ---------------------------------------- netstandard Assembly Version: 2.0.0.0 Win32 Version: 4.8.4084.0 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/netstandard/v4.0_2.0.0.0__cc7b13ffcd2ddd51/netstandard.dll ---------------------------------------- DataSetVisualizer.DebuggeeSide Assembly Version: 16.0.0.0 Win32 Version: 16.0.40501.4 CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Visual%20Studio/2019/Professional/Common7/Packages/Debugger/Visualizers/netstandard2.0/DataSetVisualizer.DebuggeeSide.DLL ---------------------------------------- ************** JIT Debugging ************** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled. For example: <configuration> <system.windows.forms jitDebugging="true" /> </configuration> When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box.
From the Loaded Assemblies that you have provided, it appears that the exception you reported is happening against version 14.2.20142.1000 of the 14.2 version of Infragistics for Windows Forms assemblies. I’m not sure if the project you tested this against was perhaps not upgraded yet, or if the same exception is happening for you when you upgrade to 21.2?
Regarding a way to determine the exact DLL that is being used, the best way would be to check the References part of the project. For the specific version of the DLL, you can check the Properties window in Visual Studio, which will have a Version property when you have a DLL selected. If you have 21.2 being used, the specific version of the DLL will look along the lines of 21.2.20212.XXXX.
Regarding a NuGet package that should be used in this case, it depends on what your application is targeting. If you are targeting .NET Framework 4.X, we do not currently have NuGet packages for the Infragistics for Windows Forms toolset. If you are targeting .NET Core 3.1 / .NET 5 / .NET 6, we do have NuGet packages as of version 2020.1. You can read about using the Infragistics NuGet feeds here: https://www.infragistics.com/help/winforms/nuget-feeds.
Being that the Loaded Assemblies section that you have provided lists 14.2, I would recommend that you try against version 21.2 (although the latest version is actually 22.1) to see if this exception still happens on your end, as version 14.2 is no longer supported and version 21.2 is.
Thanks so much for your reply Andrew, I will verify that and setup using version 21.2. I thought I tried this but will give it another try and let you know what I find out. I will also let my team know about the Nuget packages.