3
Vote

Error ocurred while comparing two databases

description

Open DBDiff Beta 0.9.0.0
Error Loading Source Database (while Reading Index: [IX_ViewPromocaoWithCampanhaIdx])
NullReferenceException: Object reference not set to an instance of an object.
at DBDiff.Schema.SQLServer.Generates.Generates.GenerateIndex.Fill(Database database, String connectionString) in c:\Users\JS\Desktop\Files\opendbiff\DBDiff.Schema.SQLServer2005\Generates\GenerateIndex.cs:line 60
at DBDiff.Schema.SQLServer.Generates.Generates.Generate.Process() in c:\Users\JS\Desktop\Files\opendbiff\DBDiff.Schema.SQLServer2005\Generates\Generate.cs:line 99
at DBDiff.Front.ProgressForm.ProgressForm_Activated(Object sender, EventArgs e) in c:\Users\JS\Desktop\Files\opendbiff\DBDiff\Front\ProgressForm.cs:line 89

6FE824C4A92C2F3674E6B3DA080EA7E0

comments

vpi wrote May 23 at 12:24 PM

Hello,

I get the very same stacktrace. Actually I fear this is caused by some permission restriction, since I get this crash with some restricted-right user, when my almost unrestricted account manages to compare no problem. Still should not make the app crash though.

Also please excuse my poor english.

Regards,
vpi

Stacktrace for reference :
Open DBDiff Beta 0.9.0.0
Error Loading Source Database (while Reading Index: [IX_currency_couple])
NullReferenceException: Object reference not set to an instance of an object.
at DBDiff.Schema.SQLServer.Generates.Generates.GenerateIndex.Fill(Database database, String connectionString) in c:\Users\JS\Desktop\Files\opendbiff\DBDiff.Schema.SQLServer2005\Generates\GenerateIndex.cs:line 60
at DBDiff.Schema.SQLServer.Generates.Generates.Generate.Process() in c:\Users\JS\Desktop\Files\opendbiff\DBDiff.Schema.SQLServer2005\Generates\Generate.cs:line 99
at DBDiff.Front.ProgressForm.ProgressForm_Activated(Object sender, EventArgs e) in c:\Users\JS\Desktop\Files\opendbiff\DBDiff\Front\ProgressForm.cs:line 89

6FE824C4A92C2F3674E6B3DA080EA7E0

jspraul wrote May 23 at 5:29 PM

Thanks to both vpi and FlavioCFO for taking the time to create an account to report and comment on this issue... I truly appreciate your willingness to overcome the roadblocks CodePlex throws in the way of participating as an end user.

Special thanks to vpi for the additional troubleshooting info; this issue was reported by another user in work item 15426, where I also mentioned the possibility of adjusting the settings could lead to this problem.