Error when running deployment wizard
jspibey
Posts: 20
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)
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)
Comments
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
Thanks
James
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
Cheers, Tom
Tom Harris, Red Gate Software
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
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
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