Red Gate forums :: View topic - System.NullReferenceException from CLI Exit Codes: #M6rc,#9Z
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Compare 10
SQL Compare 10 forum

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

Search in SQL Compare 10 forum
Post new topic   Reply to topic
Jump to:  
Author Message
skling



Joined: 11 Oct 2012
Posts: 7

PostPosted: Thu Oct 11, 2012 10:18 pm    Post subject: System.NullReferenceException from CLI Exit Codes: #M6rc,#9Z Reply with quote

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... Mad

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.
Back to top
View user's profile Send private message
skling



Joined: 11 Oct 2012
Posts: 7

PostPosted: Thu Oct 11, 2012 10:21 pm    Post subject: Its not the quotes either.... Reply with quote

Saw this, but didnt' help:

http://www.red-gate.com/MessageBoard/viewtopic.php?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.
Back to top
View user's profile Send private message
skling



Joined: 11 Oct 2012
Posts: 7

PostPosted: Mon Oct 15, 2012 4:31 pm    Post subject: Fixed with Update to Latest Version Reply with quote

Fixed with Update to Latest Version. Thanks.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group