NullReferenceException if Read during SaveChanges()...

NullReferenceException if Read during SaveChanges()...

Postby HCRoman » Mon 07 Dec 2009 09:56

Hi devart team,

The NullReferenceException is thrown if a Read is triggered during SaveChanges(true)


Monitor 3.0
(but Monitoring was not active for this connection...)

Devart.Data = 5.0.14.0
Devart.Data.Oracle.Entity= 5.35.52.0
Devart.Data.Oracle.Entity=5.35.52.0


bei Devart.Common.DbMonitor.a(MethodBase A_0)
bei Devart.Common.DbMonitor.a()
bei Devart.Common.DbMonitor.OnCreate(DbMonitor monitor, MonitorTracePoint tracePoint, Object sender, Boolean isParentMessage)
bei Devart.Common.DbMonitorHelper.a(DbMonitor A_0, DbCommandBase A_1)
bei Devart.Data.Oracle.OracleCommand.set_DbConnection(DbConnection value)
bei System.Data.Common.DbCommand.set_Connection(DbConnection value)
bei Devart.Common.Entity.c.a.a(DbConnection A_0)
bei System.Data.Common.DbCommand.set_Connection(DbConnection value)
bei System.Data.Common.Utils.CommandHelper.SetStoreProviderCommandState(EntityCommand entityCommand, EntityTransaction entityTransaction, DbCommand storeProviderCommand)
bei System.Data.EntityClient.EntityCommandDefinition.ExecuteStoreCommands(EntityCommand entityCommand, CommandBehavior behavior)
bei System.Data.Objects.Internal.ObjectQueryExecutionPlan.Execute[TResultType](ObjectContext context, ObjectParameterCollection parameterValues)
bei System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption)
bei System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator()
bei System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
bei System.Linq.Enumerable.ToDictionary[TSource,TKey](IEnumerable`1 source, Func`2 keySelector)

.....


Roman
HCRoman
 
Posts: 55
Joined: Wed 12 Aug 2009 05:47

Postby AndreyR » Mon 07 Dec 2009 12:39

This problem is already fixed in the latest build of dotConnect for Oracle.
AndreyR
Devart Team
 
Posts: 2919
Joined: Mon 07 Jul 2008 13:16


Return to dotConnect for Oracle