Firebird ADO.NET

Asked

Viewed 89 times

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.

  • 1

    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.

  • @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?

  • 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.

  • You would suggest something to me to try to find out what’s really going on?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.