Exception Comparing Snapshots via Command Line
farreachjason
Posts: 3
I get the following error when trying to compare snapshots via command line:
Registering data sources
Creating mappings
Comparing
Applying Command Line Items
Unexpected error: Object reference not set to an instance of an object.
Object reference not set to an instance of an object.
System.NullReferenceException
at #namb.#tamb.#q1r(ExitCodes #M6rc, Exception #9Z)
at RedGate.SQLToolsCommandLine.CommandProcessor.#Acmb(Exception #9Z)
at RedGate.SQLToolsCommandLine.CommandProcessor.#Acmb()
at RedGate.SQLToolsCommandLine.CommandProcessor.#ZjD()
at RedGate.SQLToolsCommandLine.CommandProcessor.#kcmb()
at #i9G.#wamb.#kcmb()
at RedGate.SQLToolsCommandLine.CommandProcessor.#OUb()
The command line I am running is as follows:
C:\PROGRA~2\REDGAT~1\SQLCOM~1\SQLCOM~1.EXE /sn1:"C:\TeamCity\AccessSentry\ChangeScripts\1.0.803\After_1.0.803.snp" /sn2:"C:\TeamCity\AccessSentry\ChangeScripts\1.0.803\Before_1.0.803.snp" /sf:"C:\TeamCity\AccessSentry\ChangeScripts\1.0.803\Schema_Changes_1.0.803.sql"
One thing to note is there are no acutal differences, so I don't know if that is what is causing the issue.
Any ideas on what would be causing this exception?
Thanks.
Jason
Registering data sources
Creating mappings
Comparing
Applying Command Line Items
Unexpected error: Object reference not set to an instance of an object.
Object reference not set to an instance of an object.
System.NullReferenceException
at #namb.#tamb.#q1r(ExitCodes #M6rc, Exception #9Z)
at RedGate.SQLToolsCommandLine.CommandProcessor.#Acmb(Exception #9Z)
at RedGate.SQLToolsCommandLine.CommandProcessor.#Acmb()
at RedGate.SQLToolsCommandLine.CommandProcessor.#ZjD()
at RedGate.SQLToolsCommandLine.CommandProcessor.#kcmb()
at #i9G.#wamb.#kcmb()
at RedGate.SQLToolsCommandLine.CommandProcessor.#OUb()
The command line I am running is as follows:
C:\PROGRA~2\REDGAT~1\SQLCOM~1\SQLCOM~1.EXE /sn1:"C:\TeamCity\AccessSentry\ChangeScripts\1.0.803\After_1.0.803.snp" /sn2:"C:\TeamCity\AccessSentry\ChangeScripts\1.0.803\Before_1.0.803.snp" /sf:"C:\TeamCity\AccessSentry\ChangeScripts\1.0.803\Schema_Changes_1.0.803.sql"
One thing to note is there are no acutal differences, so I don't know if that is what is causing the issue.
Any ideas on what would be causing this exception?
Thanks.
Jason
Comments