NullReferenceException in FbConnectionPoolManager.Release
---------------------------------------------------------

                 Key: DNET-717
                 URL: http://tracker.firebirdsql.org/browse/DNET-717
             Project: .NET Data provider
          Issue Type: Bug
          Components: ADO.NET Provider
    Affects Versions: 5.6.0.0
            Reporter: Fatal Error
            Assignee: Jiri Cincura


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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to