I have a grid in my application with an unbound formula column that is a simple multiplication of two cells. This column has a summary in the groupby row. In my application, if the data is reloaded, the following error is produced:
An unhandled exception of type 'System.NullReferenceException' occurred in Infragistics4.Win.UltraWinGrid.v12.2.dll
Additional information: Object reference not set to an instance of an object.
If I remove the summary, the exception is not thrown. I am using version 12.2.20122.2018. I see quite a few posts similar to mine in nature, but most seem to indicate the issue should have been resolved in previous releases.
It is dependably replicated, so if you need a sample project I'm sure I can provide one.
Thanks for any assistance you can provide. It is fairly important that I summarize this column.
Hi,
That does sound like a known bug that was fixed. So my first recommendation would be that you get the latest service release. The build you are using is not the latest.
How to get the latest service release - Infragistics Community
I'm pretty sure that will fix it - there were a number of issues and complications in this area around that time and they were all fixed. But if that doesn't help, please post a small sample project and we will be happy to check it out.
Hmmm - I was hoping to have a workaround I could employ myself. I have not subscribed for the latest release and the company I work for would prefer to skip a year between versions. In understand that doesn't work well in events such as this, but this direction doesn't come from me.
Thanks for the reply. Back to the drawing board...
No dice. Same error as before.
Same error with the service release? Then, like i siad, we would need to see a small sample demonstrating the exception so we can check it out.
I am running into this error using 12.2.20122.2123
System.NullReferenceException was unhandledMessage: An unhandled exception of type 'System.NullReferenceException' occurred in Infragistics4.Win.UltraWinGrid.v12.2.dllAdditional information: Object reference not set to an instance of an object.
I am in VS2013 using CLR4 controls - my framework is 4.5.1.
If I had a PDB file I might be able to provide more help.
I just downloaded 13.2 trial and I get the same error.
My app build configuration is x86.
Here is the error I got in 12.2
Another thing you could try is changing the grid.DisplayLayout.Override.FormulaRowSourceIndex property.
Try setting it to RowIndex or ListIndex and see if that makes any difference. Just set it once initially - maybe in the InitializeLayout event.