I got the following exception while clicking on "Remap Object..." in the popup menu.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at _111._1(TableMapping )
at _123._22(Object , EventArgs )
at System.Windows.Forms.MenuItem.OnClick(EventArgs e)
at System.Windows.Forms.MenuItem.MenuItemData.Execute()
at System.Windows.Forms.Command.Invoke()
at System.Windows.Forms.Command.DispatchID(Int32 id)
at System.Windows.Forms.Control.WmCommand(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at DevExpress.XtraEditors.Container.EditorContainer.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.832 (QFE.050727-8300)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
RedGate.SQLDataCompare.UI
Assembly Version: 6.0.0.721
Win32 Version: 6.0.0.721
CodeBase: file:///C:/Program%20Files/Red%20Gate/SQL%20Data%20Compare%206%20Alpha/RedGate.SQLDataCompare.UI.exe
DevExpress.Utils.v6.3
Assembly Version: 6.3.1.0
Win32 Version: 6.3.1.0
CodeBase: file:///C:/Program%20Files/Red%20Gate/SQL%20Data%20Compare%206%20Alpha/DevExpress.Utils.v6.3.DLL
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.832 (QFE.050727-8300)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.832 (QFE.050727-8300)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.832 (QFE.050727-8300)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
RedGate.SQL.Shared
Assembly Version: 6.1.0.18
Win32 Version: 6.1.0.18
CodeBase: file:///C:/Program%20Files/Red%20Gate/SQL%20Data%20Compare%206%20Alpha/RedGate.SQL.Shared.DLL
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.832 (QFE.050727-8300)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
RedGate.Licensing.Client
Assembly Version: 1.4.0.8
Win32 Version: 1.4.0.8
CodeBase: file:///C:/Program%20Files/Red%20Gate/SQL%20Data%20Compare%206%20Alpha/RedGate.Licensing.Client.DLL
ActiproSoftware.UIStudio.Dock.Net20
Assembly Version: 2.0.77.0
Win32 Version: 2.0.77.0
CodeBase: file:///C:/Program%20Files/Red%20Gate/SQL%20Data%20Compare%206%20Alpha/ActiproSoftware.UIStudio.Dock.Net20.DLL
DevExpress.XtraEditors.v6.3
Assembly Version: 6.3.1.0
Win32 Version: 6.3.1.0
CodeBase: file:///C:/Program%20Files/Red%20Gate/SQL%20Data%20Compare%206%20Alpha/DevExpress.XtraEditors.v6.3.DLL
DevExpress.Data.v6.3
Assembly Version: 6.3.1.0
Win32 Version: 6.3.1.0
CodeBase: file:///C:/Program%20Files/Red%20Gate/SQL%20Data%20Compare%206%20Alpha/DevExpress.Data.v6.3.DLL
DevExpress.XtraBars.v6.3
Assembly Version: 6.3.1.0
Win32 Version: 6.3.1.0
CodeBase: file:///C:/Program%20Files/Red%20Gate/SQL%20Data%20Compare%206%20Alpha/DevExpress.XtraBars.v6.3.DLL
ActiproSoftware.Shared.Net20
Assembly Version: 1.0.85.0
Win32 Version: 1.0.85.0
CodeBase: file:///C:/Program%20Files/Red%20Gate/SQL%20Data%20Compare%206%20Alpha/ActiproSoftware.Shared.Net20.DLL
ActiproSoftware.WinUICore.Net20
Assembly Version: 1.0.85.0
Win32 Version: 1.0.85.0
CodeBase: file:///C:/Program%20Files/Red%20Gate/SQL%20Data%20Compare%206%20Alpha/ActiproSoftware.WinUICore.Net20.DLL
DevExpress.XtraGrid.v6.3
Assembly Version: 6.3.1.0
Win32 Version: 6.3.1.0
CodeBase: file:///C:/Program%20Files/Red%20Gate/SQL%20Data%20Compare%206%20Alpha/DevExpress.XtraGrid.v6.3.DLL
DevExpress.XtraPrinting.v6.3
Assembly Version: 6.3.1.0
Win32 Version: 6.3.1.0
CodeBase: file:///C:/Program%20Files/Red%20Gate/SQL%20Data%20Compare%206%20Alpha/DevExpress.XtraPrinting.v6.3.DLL
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.832 (QFE.050727-8300)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
RedGate.SQL.Controls
Assembly Version: 6.1.0.18
Win32 Version: 6.1.0.18
CodeBase: file:///C:/Program%20Files/Red%20Gate/SQL%20Data%20Compare%206%20Alpha/RedGate.SQL.Controls.DLL
RedGate.SQLDataCompare.Engine
Assembly Version: 6.0.0.614
Win32 Version: 6.0.0.614
CodeBase: file:///C:/Program%20Files/Red%20Gate/SQL%20Data%20Compare%206%20Alpha/RedGate.SQLDataCompare.Engine.DLL
Syncfusion.Grid.Windows
Assembly Version: 4.202.0.37
Win32 Version: 4.202.0.37
CodeBase: file:///C:/Program%20Files/Red%20Gate/SQL%20Data%20Compare%206%20Alpha/Syncfusion.Grid.Windows.DLL
Syncfusion.Shared.Base
Assembly Version: 4.202.0.37
Win32 Version: 4.202.0.37
CodeBase: file:///C:/Program%20Files/Red%20Gate/SQL%20Data%20Compare%206%20Alpha/Syncfusion.Shared.Base.DLL
Syncfusion.Core
Assembly Version: 4.202.0.37
Win32 Version: 4.202.0.37
CodeBase: file:///C:/Program%20Files/Red%20Gate/SQL%20Data%20Compare%206%20Alpha/Syncfusion.Core.DLL
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.832 (QFE.050727-8300)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
System.Design
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.832 (QFE.050727-8300)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Design/2.0.0.0__b03f5f7f11d50a3a/System.Design.dll
RedGate.SQLCompare.Engine
Assembly Version: 6.0.1.27
Win32 Version: 6.0.1.27
CodeBase: file:///C:/Program%20Files/Red%20Gate/SQL%20Data%20Compare%206%20Alpha/RedGate.SQLCompare.Engine.DLL
XtraDataTempAssembly
Assembly Version: 0.0.0.0
Win32 Version: 6.3.1.0
CodeBase: file:///C:/Program%20Files/Red%20Gate/SQL%20Data%20Compare%206%20Alpha/DevExpress.Data.v6.3.dll
RedGate.SQLCompare.BackupReader
Assembly Version: 6.0.0.614
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Red%20Gate/SQL%20Data%20Compare%206%20Alpha/RedGate.SQLCompare.BackupReader.DLL
RedGate.BackupReader
Assembly Version: 1.0.0.346
Win32 Version: 1.0.0.346
CodeBase: file:///C:/Program%20Files/Red%20Gate/SQL%20Data%20Compare%206%20Alpha/RedGate.BackupReader.DLL
System.Transactions
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.832 (QFE.050727-8300)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll
System.EnterpriseServices
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.832 (QFE.050727-8300)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
RedGate.SQLCompare.ASTParser
Assembly Version: 6.0.1.27
Win32 Version: 6.0.1.27
CodeBase: file:///C:/Program%20Files/Red%20Gate/SQL%20Data%20Compare%206%20Alpha/RedGate.SQLCompare.ASTParser.DLL
RedGate.SQLCompare.Rewriter
Assembly Version: 6.0.1.27
Win32 Version: 6.0.1.27
CodeBase: file:///C:/Program%20Files/Red%20Gate/SQL%20Data%20Compare%206%20Alpha/RedGate.SQLCompare.Rewriter.DLL
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
sangha
0

Comments

5 comments

  • richardjm
    Brilliant! - this is exactly the sort of thing we're looking for people to find. Can you explain how you got this error. Was it repeatable or did it just happen the once?

    Thanks
    richardjm
    0
  • sangha
    This happened only once. I am trying to replicate it but it's not happening again. I was playing aroud with object which could not be compared when this happened.
    sangha
    0
  • richardjm
    I had a feeling it would be something along those lines, we've been seeing errors like that prior to Alpha although we thought we'd caught all of the issues.

    I suppose things of interest that certainly change the behaviour is...

    Were you comparing live->live or backup->live or backup->backup or live->backup?

    Did you have a saved project or was it ad-hoc?

    Had you clicked on the tables&views of the project configuration prior to attempting to re-map the object?

    Were you looking at the tables grouped or in a list?

    Mainly we were seeing errors when attempting to set a custom comparison key so we'll have a good look into remapping objects also.

    Thanks
    richardjm
    0
  • sangha
    >Were you comparing live->live or backup->live or backup->backup or live->backup?
    It was a live->live comparison.

    >Did you have a saved project or was it ad-hoc?
    It was a saved project.

    >Had you clicked on the tables&views of the project configuration prior to attempting to re-map the object?
    I do not remember but I may have changed the comparison key for objects that could not be compared.

    >Were you looking at the tables grouped or in a list?
    Grouped
    sangha
    0
  • richardjm
    Thanks for that, we'll put it in the bug list to be fixed for release.
    richardjm
    0

Add comment

Please sign in to leave a comment.