NullReferenceException when fbCommand.ExecuteReader() is assigned to a fbDataReader object ------------------------------------------------------------------------------------------
Key: DNET-340 URL: http://tracker.firebirdsql.org/browse/DNET-340 Project: .NET Data provider Issue Type: Bug Components: ADO.NET Provider Affects Versions: 2.5.2, 2.5.3 Environment: Windows 7 Ultimate; Microsoft Visual C# 2010 Express; Firebird 2.5.0.25920 Release candidate 3; Reporter: Luciano Mendes Assignee: Jiri Cincura Attachments: CODE_ISSUE.png ACTUAL RESULT: NullReferenceException when fbCommand.ExecuteReader() is assigned to a fbDataReader object. EXPECTED RESULT: NullReferenceException should not happen. STEPS TO REPRODUCE THIS ISSUE: 1- See CODE_ISSUE.png attached. This was introduced on: ADO.NET Data Provider Version: 08-Aug-2010 19:10 - http://netprovider.cincura.net/FirebirdSql.Data.FirebirdClient.dll; Note: This issue is not reproducible in the previous ADO.NET Data Provider test release. *************************************************************************************************************** System.NullReferenceException: Object reference not set to an instance of an object. at FirebirdSql.Data.FirebirdClient.FbTransaction.BuildTpb(FbTransactionOptions options) at FirebirdSql.Data.FirebirdClient.FbTransaction.BuildTpb() at FirebirdSql.Data.FirebirdClient.FbTransaction.BeginTransaction() at FirebirdSql.Data.FirebirdClient.FbCommand.Prepare(Boolean returnsSet) at FirebirdSql.Data.FirebirdClient.FbCommand.ExecuteCommand(CommandBehavior behavior, Boolean returnsSet) at FirebirdSql.Data.FirebirdClient.FbCommand.ExecuteReader(CommandBehavior behavior) at FirebirdSql.Data.FirebirdClient.FbCommand.ExecuteReader() at CHRONOS.Database.connected() *************************************************************************************************************** ================================================================ ENVIRONMENT - ADO.NET Data Provider Version: 08-Aug-2010 19:10 - http://netprovider.cincura.net/FirebirdSql.Data.FirebirdClient.dll; - Windows 7 Ultimate; - Microsoft Visual C# 2010 Express; - Firebird 2.5.0.25920 Release candidate 3; ================================================================ -- 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 ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ Firebird-net-provider mailing list Firebird-net-provider@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/firebird-net-provider