Hi,
I have a project were the user can create new views each in a new window (sepearte STA thread and dispatcher), each window has a xamDataGrid bound to a collection, I have enabled data value history (in this case I want a history of 5 items but any number will cause the issue), but I get a null reference exception thrown when the 2nd window/grid is bound to data.
Here is the trace from trying to access the DataValueInfoHistoryCache in debug in ...OnInitializeCellValuePresenter...
((System.Exception)((e.CellValuePresenter.Cell).DataValueInfoHistoryCache)).StackTrace
at Infragistics.Windows.DataPresenter.DataValueInfoHistory.Create(Int32 capacity) at Infragistics.Windows.DataPresenter.Cell.GetDataValueHistoryCache(CellValuePresenter cvp) at Infragistics.Windows.DataPresenter.Cell.get_DataValueInfoHistoryCache()
Look forward to any solutions / workarounds?
Thanks,
Chris
Chris,
The fix for development issue 160385 was included in the service release that was released yesterday. You can download the service release from your My Keys and Downloads page.
Let me know if you have any questions.
I have logged this with engineering and the reference id is 160385 and I will post the resolution here when this is resolved. I have also provided more details to you through case CAS-129117-F7X1F5.
I don't think there will be a workaround. It looks like we're not properly initializing some static information in that class on subsequent threads. This is something we need to address within the assembly.