1
Vote

NullReferenceException accessing constraint parent

description

Open DBDiff Beta 0.9.0.0
Error Generating Synchronized Script
NullReferenceException: Object reference not set to an instance of an object.
   at DBDiff.Schema.Model.SchemaList`2.<>c__DisplayClass9.<ToSqlDiff>b__6(T item) in c:\Users\JS\Desktop\Files\opendbiff\DBDiff.Schema\Model\SchemaList.cs:line 131
   at DBDiff.Schema.Model.SchemaList`2.ToSqlDiff(List`1 schemas) in c:\Users\JS\Desktop\Files\opendbiff\DBDiff.Schema\Model\SchemaList.cs:line 131
   at DBDiff.Schema.Model.SchemaList`2.ToSqlDiff() in c:\Users\JS\Desktop\Files\opendbiff\DBDiff.Schema\Model\SchemaList.cs:line 126
   at DBDiff.Schema.SQLServer.Generates.Model.Table.ToSqlDiff() in c:\Users\JS\Desktop\Files\opendbiff\DBDiff.Schema.SQLServer2005\Model\Table.cs:line 370
   at DBDiff.Schema.Model.SchemaList`2.<>c__DisplayClass9.<ToSqlDiff>b__6(T item) in c:\Users\JS\Desktop\Files\opendbiff\DBDiff.Schema\Model\SchemaList.cs:line 131
   at DBDiff.Schema.Model.SchemaList`2.ToSqlDiff(List`1 schemas) in c:\Users\JS\Desktop\Files\opendbiff\DBDiff.Schema\Model\SchemaList.cs:line 131
   at DBDiff.Schema.SQLServer.Generates.Model.Database.ToSqlDiff(List`1 schemas) in c:\Users\JS\Desktop\Files\opendbiff\DBDiff.Schema.SQLServer2005\Model\Database.cs:line 249
   at DBDiff.Front.Form1.ProcesarSQL2005() in c:\Users\JS\Desktop\Files\opendbiff\DBDiff\Front\PrincipalForm.cs:line 125
328A655D6597F1187AF604AFE3EE8696

comments

jspraul wrote Jun 2 at 6:47 PM

Thanks for taking the time to report this issue.

Similar problems have occurred for other users due to insufficient permissions; another potential cause is adjusting the objects being compared (leaving out the parent objects).