Skip to content

NullReferenceException on ReliableAdoTransaction.ExecuteWithRetry #34

Description

@marcelom2s

When I add the following code:

.ExposeConfiguration(c => c.SetProperty(NHCfg.Environment.TransactionStrategy, typeof(ReliableAdoNetWithDistributedTransactionFactory).AssemblyQualifiedName))

to the Fluently.Configure().

I start having this error below:

[NullReferenceException: Object reference not set to an instance of an object.]
NHibernate.SqlAzure.ReliableAdoTransaction.ExecuteWithRetry(ReliableSqlDbConnection connection, Action action) +41
NHibernate.SqlAzure.ReliableAdoTransaction.Begin(IsolationLevel isolationLevel) +91
NHibernate.SqlAzure.ReliableAdoTransaction.Begin() +8
NHibernate.Impl.SessionImpl.BeginTransaction() +314

I use NHibernate 4.1.2.4000.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions