System.NullReferenceException from CLI Exit Codes: #M6rc,#9Z
skling
Posts: 10
U:\>"C:\Program Files (x86)\Red Gate\SQL Compare 10\SQLCompare.exe" /db1:
==============================================================================
Copyright c Red Gate Software Ltd 1999-2012
Argument /database1 has value
Argument /server1 has value
Argument /server2 has value
Argument /database2 has value
Argument /synchronize has value 'True'
Argument /verbose has value 'True'
Argument /logLevel has value 'Verbose'
Serial Number: XXXXXXXXXXX
Comparing database
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()
at #i9G.#OsPb.#6sc(String[] #ead)
Two databases are both there, verbose doesn't help much either... :x
Logs:
16:11:34.763|Info |SQL Compare Engine |3 |Comparison Finish.
16:11:34.764|Trace |Source Control Link |3 |SQL Source control link successfully created
16:11:35.509|Fatal |Command Line |1 |System.NullReferenceException: Object reference not set to an instance of an object.
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()
at #i9G.#OsPb.#6sc(String[] #ead
tried running local. No dice. This DB builds clean from Source.
==============================================================================
Copyright c Red Gate Software Ltd 1999-2012
Argument /database1 has value
Argument /server1 has value
Argument /server2 has value
Argument /database2 has value
Argument /synchronize has value 'True'
Argument /verbose has value 'True'
Argument /logLevel has value 'Verbose'
Serial Number: XXXXXXXXXXX
Comparing database
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()
at #i9G.#OsPb.#6sc(String[] #ead)
Two databases are both there, verbose doesn't help much either... :x
Logs:
16:11:34.763|Info |SQL Compare Engine |3 |Comparison Finish.
16:11:34.764|Trace |Source Control Link |3 |SQL Source control link successfully created
16:11:35.509|Fatal |Command Line |1 |System.NullReferenceException: Object reference not set to an instance of an object.
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()
at #i9G.#OsPb.#6sc(String[] #ead
tried running local. No dice. This DB builds clean from Source.
Comments
http://www.red-gate.com/MessageBoard/vi ... hp?t=15399
It runs from bamboo . I added the quotes around the exe path but its basically cut/paste from bamboo log and has same effect whether from bamboo or on local machine in CLI.