Object reference not set to an instance of an object.
sphelan
Posts: 2
Any idea what would cause an "Object reference not set to an instance of an object." error when I attempt to get latest.
20:28:08.884|Error |n=7f465a1c156d4d57]]|22 |An exception occurred whilst performing an operation
System.NullReferenceException: Object reference not set to an instance of an object.
at #NtZc.#d1Xc.#efId(RelationalIndex #KtPb)
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)
at #NtZc.#d1Xc.#9eId(IDataCompareTableMapping #cdsc, TableDataConfigSelectedness #afId)
at #NtZc.#WtZc.#yxId(IDataCompareTableDifference #gdsc)
at System.Linq.Enumerable.<>c__DisplayClass12`3.<CombineSelectors>b__11(TSource x)
at System.Linq.Enumerable.<>c__DisplayClass12`3.<CombineSelectors>b__11(TSource x)
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector)
at #KsZc.#07Cb.#77Cb(IDatabaseId #QOPb, IEnumerable`1 #kjib)
at #NtZc.#xHR.#77Cb(IDatabaseId #QOPb, IEnumerable`1 #VeId)
at RedGate.SQLSourceControl.Engine.Diff.ToRetrieveChangeSetBase.UpdateTableDataConfigStore(IEnumerable`1 selectedDatabaseObjectIdRemovals)
at #GWeb.#ZXM.#x3.#ZYM(ICancellableOperationStatus #yTb)
at RedGate.SQLSourceControl.Engine.Utils.Task.NamedOperation.Operation(ICancellableOperationStatus cancellableOperation)
at RedGate.SQLSourceControl.Engine.Cancellables.CancellableOperation.<Invoke>b__8()
at RedGate.SQLSourceControl.Engine.Cancellables.CancellableOperationBase.InvokeWithTracker(Action action)
at RedGate.SQLSourceControl.Engine.Cancellables.CancellableOperation.Invoke()
at RedGate.SQLSourceControl.Engine.SharedUtilsUtils.DoActionWithCancel(ICancellableOperationStatus status, ICancellable cancellable, Action action)
at RedGate.SQLSourceControl.Engine.SharedUtilsUtils.DoActionWithStatus(ICancellableOperationStatus status, ICancellable cancellable, Action action)
at RedGate.SQLSourceControl.Engine.Cancellables.MultiStepCancellableOperation`1.ExecuteAsOnOperation(ICancellableOperationStatus status)
at RedGate.SQLSourceControl.Engine.Cancellables.MultiStepCancellableOperationWithPostTask`1.ExecuteAsOnOperation(ICancellableOperationStatus status)
at #mlhb.#iH1c.#FYM(#bD1c #wS3c, Boolean #iOEd, #5l4d #yS3c, #5l4d #dPJd, #ULZc #AS3c, List`1 #jIc, ILinkedDatabaseDetailsGetter #IBKd)
at #mlhb.#RLZc.#maKd(#5l4d #WNJd, #5l4d #yS3c)
at #mlhb.#RLZc.#ikKd(Boolean #hD3c, #5l4d #WNJd, #5l4d #yS3c)
at #mlhb.#RLZc.#gkKd(ICancellableOperationStatus #KHc, IVcsCallbacks #VHc, SourceControlOperation #mN3c)
at #mlhb.#DJ4c.#dRi(#ULZc #RlYb, IDifferenceSelector #xrWb, ICancellableOperationStatus #KHc, IVcsCallbacks #LOPb, IEngineOptions #Uc9b, ToRetrieveChangeSet& #Pcsc, ILinkedDatabaseDetailsGetter #IBKd)
at #R9Jd.#VXM.#RjKd[#NrPb](IBoundDatabase #PPPb, #BJ4c #C75d, ICancellableOperationStatus #KHc, IVcsCallbacks #LOPb, IDifferenceSelector #xrWb, Action #RqAc)
at #R9Jd.#VXM.#kYM(IBoundDatabase #PPPb, ICancellableOperationStatus #KHc, ISourceControlUserCallBacks #LOPb, IDifferenceSelector #xrWb)
at #GWeb.#4Ec.#8Jc(ICancellableOperationStatus #KHc, ISourceControlUserCallBacks #iIc, IDifferenceSelector #xrWb)
at #GWeb.#4Ec.#izb.#SB7b(ICancellableOperationStatus #KHc)
at RedGate.SQLSourceControl.Engine.Cancellables.MutexedCancellableOperation`1.<>c__DisplayClass1.<Invoke>b__0()
at RedGate.SQLSourceControl.Engine.Cancellables.CancellableOperationBase.InvokeWithTracker(Action action)
at RedGate.SQLSourceControl.Engine.Cancellables.MutexedCancellableOperation`1.Invoke()
at RedGate.SQLSourceControl.Engine.Cancellables.CancellableOperationPostProcesser`2.Invoke()
at RedGate.SQLSourceControl.CommonUI.Controls.CancellableControl`2.<>c__DisplayClassa.<InvokeOperation>b__8()
at RedGate.SQLSourceControl.Engine.Logging.ErrorReporting.ErrorReporterBase.Do(Action toDo, Predicate`1 isErrorSourceUnknownPredicate, Boolean rethrow)
at RedGate.SQLSourceControl.CommonUI.ErrorHandling.SaErrorReporter.DoWithObviousExceptionsRethrowAll(Action action)
at RedGate.SQLSourceControl.CommonUI.Controls.CancellableControl`2.InvokeOperation(ICancellableOperation`1 operation, Object token)
20:28:08.884|Error |n=7f465a1c156d4d57]]|22 |An exception occurred whilst performing an operation
System.NullReferenceException: Object reference not set to an instance of an object.
at #NtZc.#d1Xc.#efId(RelationalIndex #KtPb)
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)
at #NtZc.#d1Xc.#9eId(IDataCompareTableMapping #cdsc, TableDataConfigSelectedness #afId)
at #NtZc.#WtZc.#yxId(IDataCompareTableDifference #gdsc)
at System.Linq.Enumerable.<>c__DisplayClass12`3.<CombineSelectors>b__11(TSource x)
at System.Linq.Enumerable.<>c__DisplayClass12`3.<CombineSelectors>b__11(TSource x)
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector)
at #KsZc.#07Cb.#77Cb(IDatabaseId #QOPb, IEnumerable`1 #kjib)
at #NtZc.#xHR.#77Cb(IDatabaseId #QOPb, IEnumerable`1 #VeId)
at RedGate.SQLSourceControl.Engine.Diff.ToRetrieveChangeSetBase.UpdateTableDataConfigStore(IEnumerable`1 selectedDatabaseObjectIdRemovals)
at #GWeb.#ZXM.#x3.#ZYM(ICancellableOperationStatus #yTb)
at RedGate.SQLSourceControl.Engine.Utils.Task.NamedOperation.Operation(ICancellableOperationStatus cancellableOperation)
at RedGate.SQLSourceControl.Engine.Cancellables.CancellableOperation.<Invoke>b__8()
at RedGate.SQLSourceControl.Engine.Cancellables.CancellableOperationBase.InvokeWithTracker(Action action)
at RedGate.SQLSourceControl.Engine.Cancellables.CancellableOperation.Invoke()
at RedGate.SQLSourceControl.Engine.SharedUtilsUtils.DoActionWithCancel(ICancellableOperationStatus status, ICancellable cancellable, Action action)
at RedGate.SQLSourceControl.Engine.SharedUtilsUtils.DoActionWithStatus(ICancellableOperationStatus status, ICancellable cancellable, Action action)
at RedGate.SQLSourceControl.Engine.Cancellables.MultiStepCancellableOperation`1.ExecuteAsOnOperation(ICancellableOperationStatus status)
at RedGate.SQLSourceControl.Engine.Cancellables.MultiStepCancellableOperationWithPostTask`1.ExecuteAsOnOperation(ICancellableOperationStatus status)
at #mlhb.#iH1c.#FYM(#bD1c #wS3c, Boolean #iOEd, #5l4d #yS3c, #5l4d #dPJd, #ULZc #AS3c, List`1 #jIc, ILinkedDatabaseDetailsGetter #IBKd)
at #mlhb.#RLZc.#maKd(#5l4d #WNJd, #5l4d #yS3c)
at #mlhb.#RLZc.#ikKd(Boolean #hD3c, #5l4d #WNJd, #5l4d #yS3c)
at #mlhb.#RLZc.#gkKd(ICancellableOperationStatus #KHc, IVcsCallbacks #VHc, SourceControlOperation #mN3c)
at #mlhb.#DJ4c.#dRi(#ULZc #RlYb, IDifferenceSelector #xrWb, ICancellableOperationStatus #KHc, IVcsCallbacks #LOPb, IEngineOptions #Uc9b, ToRetrieveChangeSet& #Pcsc, ILinkedDatabaseDetailsGetter #IBKd)
at #R9Jd.#VXM.#RjKd[#NrPb](IBoundDatabase #PPPb, #BJ4c #C75d, ICancellableOperationStatus #KHc, IVcsCallbacks #LOPb, IDifferenceSelector #xrWb, Action #RqAc)
at #R9Jd.#VXM.#kYM(IBoundDatabase #PPPb, ICancellableOperationStatus #KHc, ISourceControlUserCallBacks #LOPb, IDifferenceSelector #xrWb)
at #GWeb.#4Ec.#8Jc(ICancellableOperationStatus #KHc, ISourceControlUserCallBacks #iIc, IDifferenceSelector #xrWb)
at #GWeb.#4Ec.#izb.#SB7b(ICancellableOperationStatus #KHc)
at RedGate.SQLSourceControl.Engine.Cancellables.MutexedCancellableOperation`1.<>c__DisplayClass1.<Invoke>b__0()
at RedGate.SQLSourceControl.Engine.Cancellables.CancellableOperationBase.InvokeWithTracker(Action action)
at RedGate.SQLSourceControl.Engine.Cancellables.MutexedCancellableOperation`1.Invoke()
at RedGate.SQLSourceControl.Engine.Cancellables.CancellableOperationPostProcesser`2.Invoke()
at RedGate.SQLSourceControl.CommonUI.Controls.CancellableControl`2.<>c__DisplayClassa.<InvokeOperation>b__8()
at RedGate.SQLSourceControl.Engine.Logging.ErrorReporting.ErrorReporterBase.Do(Action toDo, Predicate`1 isErrorSourceUnknownPredicate, Boolean rethrow)
at RedGate.SQLSourceControl.CommonUI.ErrorHandling.SaErrorReporter.DoWithObviousExceptionsRethrowAll(Action action)
at RedGate.SQLSourceControl.CommonUI.Controls.CancellableControl`2.InvokeOperation(ICancellableOperation`1 operation, Object token)
Comments
We've opened up a support ticket to further explore this issue. You should see an email from us shortly.
Please let us know if you have further questions or concerns in the meantime.
Best,
David