Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Except after updating to 4.10.0 [DNET679] #632

Closed
firebird-automations opened this issue Apr 26, 2016 · 4 comments
Closed

Except after updating to 4.10.0 [DNET679] #632

firebird-automations opened this issue Apr 26, 2016 · 4 comments

Comments

@firebird-automations
Copy link

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)

@firebird-automations
Copy link
Author

Commented by: @cincuranet

Do you have a test-case to reproduce?

@firebird-automations
Copy link
Author

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.

@firebird-automations
Copy link
Author

Commented by: @cincuranet

OK. I'll close it for now.

@firebird-automations
Copy link
Author

Modified by: @cincuranet

status: Open [ 1 ] => Closed [ 6 ]

resolution: Won't Fix [ 2 ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants