Toad World® Forums

6.5.0.2631 - Schema Compare dies with System.NullReferenceException

Got this exception while attempting a schema comparing3 tables, 3 views between two databases:

System.NullReferenceException
Object reference not set to an instance of an object.
Stack Trace:
at System.Collections.Generic.Dictionary2.FindEntry(TKey key) at System.Collections.Generic.Dictionary2.TryGetValue(TKey key, TValue& value)
at Quest.Schema.Common.Interfaces.Declarations.Condition1.IsTrue(T[] values) at Quest.Schema.Common.Interfaces.Declarations.Base.CommonContentCollection2.GetConcreteForDivisor(TDvsr[] divisors)
at Quest.Schema.Common.Interfaces.Declarations.Base.CommonContentCollection2.GetFirstConcreteForDivisor(TDvsr[] divisors) at Quest.Schema.MSSQL.Interfaces.SystemTypes.SystemTypes.GetHelper(TwoPartDivisor2 divisor)
at Quest.Schema.MSSQL.Interfaces.PropertyHolderContext…ctor(TwoPartDivisor2 divisor) at Quest.Schema.MSSQL.ModelLoad.LoaderContext.GenerateLoadContext(TwoPartDivisor2 loadDivisor, FriendlyName friendlyName, OptionsStorage options)
at Quest.Schema.Common.ModelLoad.ModelLoader6.Run(ICallBack callback) at Quest.Schema.Common.ModelLoad.ModelLoadManager7.Loader.LoadModel(ICallBack callback)
at Quest.Schema.Common.ModelLoad.ModelLoadManager7.CreateInstance(ICallBack callback, FriendlyName friendlyName, SchemaSnapshot[] snapshots, SingleModel3 model, OptionsStorage options)
at Quest.Schema.MSSQL.ModelLoad.ModelLoadServiceMSSQL.Create(ICallBack callback, FriendlyName friendlyName, SchemaSnapshot[] snapshots, ISingleModel model, OptionsStorage options)
at Quest.Schema.Common.Modules.SourcesLoader.SourcesLoaderModule.LoadModelFromSnapshot[T](ICallBack callback, SourceLoader1 source) at Quest.Schema.Common.Modules.SourcesLoader.SourcesLoaderModule.SourceLoader1.Run(ICallBack callback)

Here’s the support bundle:

[View:~/cfs-file.ashx/__key/communityserver-discussions-components-files/87/5460.ToadSupportBundleToad-for-SQL-Server.zip:550:0]

Darren