Issue Details (XML | Word | Printable)

Key: DNET-704
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Jiri Cincura
Reporter: Marcos R. Weimer
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
.NET Data provider

An unhandled exception of type 'System.NullReferenceException' - FbCommand

Created: 29/Sep/16 07:14 PM   Updated: 21/Feb/17 07:47 AM
Component/s: ADO.NET Provider
Affects Version/s: 2.7.7, 5.1.1.0
Fix Version/s: 5.8.0.0

Environment: Visual Studio 2012 / Windows 10/11/ Server 2012 / .Net Framework 4.0 / 4.5
Issue Links:
Relate
 


 Description  « Hide
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&lt;/TraceIdentifier&gt;&lt;Description&gt;Exce&#xE7;&#xE3;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

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.