How can we help you today? How can we help you today?

Error when running deployment wizard

I have found a problem with Schema Compare for Oracle version 1.5.0.69

After successfully comparing two databases, selecting some changes to apply, click Deployment wizard, Choose 'Deploy using Schema Compare for Oracle', click next and I get

Schema Compare for Oracle - Aborting
Calculating Dependencies
An item with the same key has already been added

The error in the log file is


14:27:42.327|Trace |Actions |12 |ProgressTask:Populating dependencies
14:27:42.762|Error |Engine Service |1 |:Exception in progress dialog
System.ArgumentException: An item with the same key has already been added.
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)
at #7DD.#N1f.#rzj(IEnumerable`1 c, Converter`2 getObject)
at #7DD.#N1f.#vl(DatabaseComparison c, Boolean source)
at RedGate.Oracle.SchemaCompare.Actions.SyncActions.CalculateDependencies()
at RedGate.Shared.Controls.ProgressDialogEx.e()
14:28:03.256|Fatal |Program |1 |:Exception in main thread
System.NullReferenceException: Object reference not set to an instance of an object.
at #RNU.#fRK.#sCJ()
at #G9C.#XaD.#0jD()
at #G9C.#XaD.#t.#YaD.#JpD()
at #G9C.#XaD.#npD()
at #G9C.#nbD.#SqD(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(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)
jspibey
0

Comments

8 comments

  • Tom Harris
    James,

    I'm sorry that you've hit this problem. I'll post here once we have any update

    Kind regards, Tom

    Tom Harris, Red Gate
    Tom Harris
    0
  • jspibey
    Any news on this Tom? I can't use it until this is fixed

    Thanks

    James
    jspibey
    0
  • jsmcguire59
    I'm having the same issue. I created a ticket with support. Between that and your efforts, maybe we'll get an answer.
    jsmcguire59
    0
  • Tom Harris
    Hi there,

    many thanks for sending through your log files to our support team. We are investigating the issue. I'll post again with any update here

    Many thanks, Tom

    Tom Harris, Red Gate
    Tom Harris
    0
  • Tom Harris
    Hi Offeliax, many thanks for your comments :wink:

    Cheers, Tom

    Tom Harris, Red Gate Software
    Tom Harris
    0
  • bjodea
    Was there a resolution to this? I recently upgraded to a Windows 7 machine and am getting this exact error using Schema Compare for Oracle version 3.0.0.445.

    Here are the contents of my log file:
    13:39:53.911|Info |Logging |1 |Current Logging levels enabled: Verbose,Warning,Fatal,Debug,Information,Trace,Error
    13:40:03.394|Debug |Event Aggregator |1 |:Registered
    bjodea
    0
  • Michael Christofides
    Thanks for your post, and sorry for the delayed response.

    If it would be possible, it would be incredibly useful if you could send us a snapshot of the schemas you are comparing here, I've also emailed you so that you have my contact details.

    Best regards,
    Michael
    Michael Christofides
    0
  • Michael Christofides
    Hi all,

    We released a fix for this issue, it should be available if you check for updates (from the help menu inside the tool).

    All the best,
    Michael
    Michael Christofides
    0

Add comment

Please sign in to leave a comment.