You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Submitted by: Pedro Filipe de Morais Lima (filipepedro10_yahoo.com.br)
Updated the " Firebird http://ADO.NET Data provider " for version 4.10.0 and I am getting , sometimes , 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)
The text was updated successfully, but these errors were encountered:
Commented by: Pedro Filipe de Morais Lima (filipepedro10_yahoo.com.br)
No. But I realized that at various points of my application I was not using the dispose method for instance the Fbcommand and FbDataReader objects. After refactor the entire project, this error does not occur anymore.
Submitted by: Pedro Filipe de Morais Lima (filipepedro10_yahoo.com.br)
Updated the " Firebird http://ADO.NET Data provider " for version 4.10.0 and I am getting , sometimes , 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)
The text was updated successfully, but these errors were encountered: