0
I updated the "Firebird ADO.NET Data Provider" to version 4.10.0 and am sometimes receiving the following exception in my application.
Exception information:
Exception type: NullReferenceException
Exception message: Object reference not set to an instance of an object.
at FirebirdSql.Data.Common.Extensions.TryGetTarget[T](WeakReference weakReference, T& target)
at FirebirdSql.Data.FirebirdClient.FbConnectionInternal.RemovePreparedCommand (FbCommand command)
at FirebirdSql.Data.FirebirdClient.FbCommand.Release()
at FirebirdSql.Data.FirebirdClient.FbCommand.Dispose(Boolean disposing)
Before the update this exception was not triggered.
It is not update problem, this is programming error. I know you will say that before it did not happen. It was coincidence did not happen. You’d need the code and the exact location to analyze.
– Maniero
@bigown, the problem is that it occurs well sporadically and not always in the same features. And how can you state that it is not a Firebird dll error?
– Pedro Filipe
At best it is the fact that they have let this exception occur, but it occurs only if you pass things that you cannot. The sporadic is that each time executed within a different pattern. This is the worst kind of error you have, you can’t know why it’s occurring. So it’s important to get it right from the start.
– Maniero
You would suggest something to me to try to find out what’s really going on?
– Pedro Filipe