System.NullReferenceException from CLI Exit Codes: #M6rc,#9Z

Compares and synchronizes SQL Server databases, backups and scripts.

Moderators: JonathanWatts, Chris Auckland, David Atkinson, eddie davis, Anu Deshpande, Michelle Taylor, alice.easey, james.billings, chengvoon.tong

System.NullReferenceException from CLI Exit Codes: #M6rc,#9Z

Postby skling » Thu Oct 11, 2012 10:18 pm

U:\\>"C:\\Program Files (x86)\\Red Gate\\SQL Compare 10\\SQLCompare.exe" /db1:HA_Moe
/server1:ASTSTAPDB002.wvrgroup.internal\\test /server2:ASTSTAPDB002.wvrgroup.i
nternal\\stage /db2:HA_Moe /sync /verbose /logLevel:v
SQL Compare Command Line V10.1.0.102
==============================================================================
Copyright c Red Gate Software Ltd 1999-2012

Argument /database1 has value 'HA_Moe'
Argument /server1 has value 'ASTSTAPDB002.wvrgroup.internal\\test'
Argument /server2 has value 'ASTSTAPDB002.wvrgroup.internal\\stage'
Argument /database2 has value 'HA_Moe'
Argument /synchronize has value 'True'
Argument /verbose has value 'True'
Argument /logLevel has value 'Verbose'

Serial Number: 507-031-178161-14A7

Comparing database ASTSTAPDB002.wvrgroup.internal\\test.HA_Moe with database ASTS
TAPDB002.wvrgroup.internal\\stage.HA_Moe...
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.
skling
 
Posts: 7
Joined: Thu Oct 11, 2012 9:50 pm

Its not the quotes either....

Postby skling » Thu Oct 11, 2012 10:21 pm

Saw this, but didnt' help:

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.
skling
 
Posts: 7
Joined: Thu Oct 11, 2012 9:50 pm

Fixed with Update to Latest Version

Postby skling » Mon Oct 15, 2012 4:31 pm

Fixed with Update to Latest Version. Thanks.
skling
 
Posts: 7
Joined: Thu Oct 11, 2012 9:50 pm


Return to SQL Compare 10

Who is online

Users browsing this forum: No registered users and 0 guests

cron