We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Submitted by: Fatal Error (fatalerror)
Is related to DNET698
I am getting a null reference exception in:
internal void Release(FbConnectionInternal connection) { this.CheckDisposed(); this._pools.GetOrAdd(connection.Options.NormalizedConnectionString, (string _) => new FbConnectionPoolManager.Pool(connection.Options)).ReleaseConnection(connection); }
Running the code in a debugger shows that connection.Options is null. I think it should be connection.NormalizedConnectionString instead.
The text was updated successfully, but these errors were encountered:
Commented by: @cincuranet
Can you provide a full stack trace? Or a test case?
Sorry, something went wrong.
status: Open [ 1 ] => In Progress [ 3 ]
Commented by: Fatal Error (fatalerror)
I am using a ORM so I don't know how to replicate it but the following is a stack trace:
FirebirdSql.Data.FirebirdClient.dll!FirebirdSql.Data.FirebirdClient.FbConnectionPoolManager.Release(FirebirdSql.Data.FirebirdClient.FbConnectionInternal connection) Line 228 C# FirebirdSql.Data.FirebirdClient.dll!FirebirdSql.Data.FirebirdClient.FbConnection.Close() Line 570 C# > FirebirdSql.Data.FirebirdClient.dll!FirebirdSql.Data.FirebirdClient.FbConnection.Dispose(bool disposing) Line 297 C# System.dll!System.ComponentModel.Component.~Component() Unknown
Link: This issue is related to DNET698 [ DNET698 ]
status: In Progress [ 3 ] => Resolved [ 5 ]
resolution: Fixed [ 1 ]
Fix Version: vNext - Finalizers [ 10807 ]
Fix Version: vNext [ 10804 ]
Fix Version: vNext - Finalizers [ 10807 ] =>
cincuranet
No branches or pull requests
Submitted by: Fatal Error (fatalerror)
Is related to DNET698
I am getting a null reference exception in:
internal void Release(FbConnectionInternal connection)
{
this.CheckDisposed();
this._pools.GetOrAdd(connection.Options.NormalizedConnectionString, (string _) => new FbConnectionPoolManager.Pool(connection.Options)).ReleaseConnection(connection);
}
Running the code in a debugger shows that connection.Options is null. I think it should be connection.NormalizedConnectionString instead.
The text was updated successfully, but these errors were encountered: