When updating a DataTable with 1850-ish new rows to a FbDataAdapter I get a NullReferenceException during execution.
Usually it succeeds in inserting around 1200 records, sometimes more, sometimes less...
However when stepping through the code with the debugger, it sometimes inserts the entire recordset, no problem.
I am using the Firebird ADO.NET DataProvider v2.1.
Any ideas? Thanks!
StackTrace:
System.NullReferenceException was unhandled by user code Message="Object reference not set to an instance of an object." Source="FirebirdSql.Data.FirebirdClient" StackTrace:
at FirebirdSql.Data.FirebirdClient.FbDataAdapter.Update(DataRow[] dataRows, DataTableMapping tableMapping)
at System.Data.Common.DbDataAdapter.UpdateFromDataTable(DataTable dataTable, DataTableMapping tableMapping)
at System.Data.Common.DbDataAdapter.Update(DataTable dataTable)
at DBTools.MergeDB.DataAccess.DatabaseHelper.UpdateDataTable(Int32 connectionIndex, DataTable dataTable) in C:\Workspaces\DatabaseTools\Releases\Latest\Sources\DBTools\DBTools.MergeDB\DataAccess\DatabaseHelper.cs:line 74
InnerException: