[FB-Tracker] Created: (DNET-704) An unhandled exception of type 'System.NullReferenceException' - FbCommand

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[FB-Tracker] Created: (DNET-704) An unhandled exception of type 'System.NullReferenceException' - FbCommand

JIRA tracker@firebirdsql.org
An unhandled exception of type 'System.NullReferenceException'  - FbCommand
---------------------------------------------------------------------------

                 Key: DNET-704
                 URL: http://tracker.firebirdsql.org/browse/DNET-704
             Project: .NET Data provider
          Issue Type: Bug
          Components: ADO.NET Provider
    Affects Versions: 5.1.1.0, 2.7.7
         Environment: Visual Studio 2012 / Windows 10/11/ Server 2012 / .Net Framework 4.0 / 4.5
            Reporter: Marcos R. Weimer
            Assignee: Jiri Cincura


Exception: An unhandled exception of type 'System.NullReferenceException' occurred in FirebirdSql.Data.FirebirdClient.dll

in RollbackImplicitTransaction (line 764):

int transactionCount = Connection.InnerConnection.Database.TransactionCount;

Connection = has connection value
InnerConnection = null

Sporadic error, did not identify the cause of the problem.

Trace:

<TraceRecord xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord" Severity="Critical"><TraceIdentifier>http://msdn.microsoft.com/TraceCodes/System/ActivityTracing/2004/07/Reliability/Exception/Unhandled</TraceIdentifier><Description>Exceção não tratada</Description><AppDomain>UltraNFe.vshost.exe</AppDomain><Exception><ExceptionType>System.NullReferenceException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType><Message>Referência de objeto não definida para uma instância de um objeto.</Message><StackTrace>   em FirebirdSql.Data.FirebirdClient.FbCommand.RollbackImplicitTransaction() na C:\Users\Jiri\Documents\devel\NETProvider\working\Provider\src\FirebirdSql.Data.FirebirdClient\FirebirdClient\FbCommand.cs:linha 768
   em FirebirdSql.Data.FirebirdClient.FbCommand.Release() na C:\Users\Jiri\Documents\devel\NETProvider\working\Provider\src\FirebirdSql.Data.FirebirdClient\FirebirdClient\FbCommand.cs:linha 806
   em FirebirdSql.Data.FirebirdClient.FbCommand.Dispose(Boolean disposing) na C:\Users\Jiri\Documents\devel\NETProvider\working\Provider\src\FirebirdSql.Data.FirebirdClient\FirebirdClient\FbCommand.cs:linha 372
   em System.ComponentModel.Component.Finalize()</StackTrace><ExceptionString>System.NullReferenceException: Referência de objeto não definida para uma instância de um objeto.
   em FirebirdSql.Data.FirebirdClient.FbCommand.RollbackImplicitTransaction() na C:\Users\Jiri\Documents\devel\NETProvider\working\Provider\src\FirebirdSql.Data.FirebirdClient\FirebirdClient\FbCommand.cs:linha 768
   em FirebirdSql.Data.FirebirdClient.FbCommand.Release() na C:\Users\Jiri\Documents\devel\NETProvider\working\Provider\src\FirebirdSql.Data.FirebirdClient\FirebirdClient\FbCommand.cs:linha 806
   em FirebirdSql.Data.FirebirdClient.FbCommand.Dispose(Boolean disposing) na C:\Users\Jiri\Documents\devel\NETProvider\working\Provider\src\FirebirdSql.Data.FirebirdClient\FirebirdClient\FbCommand.cs:linha 372
   em System.ComponentModel.Component.Finalize()</ExceptionString></Exception></TraceRecord>

sorry for my English

--
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider