fknx / linqpad-postgresql-driver

LINQPad PostgreSQL Driver
MIT License
43 stars 17 forks source link

Null access exception connecting to redshift: DynamicLinqPadPostgreSqlDriver.PostgreSqlTablesProvider.EmitCodeAndGetExplorerItemTree() #27

Open idvorkin opened 7 years ago

idvorkin commented 7 years ago

Using the latest driver connecting to Redshift, I get a null access exception. Debugging I find the crash is in PostgreSqlTablesProvider.EmitCodeAndGetExplorerItemTree callstack is:

000000130f47c9f0 00007fffceda71db System.Linq.Enumerable+WhereEnumerableIterator`1[[System.__Canon, mscorlib]].MoveNext()
000000130f47ca30 00007fffceda37f2 System.Linq.Buffer`1[[System.__Canon, mscorlib]]..ctor(System.Collections.Generic.IEnumerable`1)
000000130f47cac0 00007fffceda754a System.Linq.Enumerable.ToArray[[System.__Canon, mscorlib]](System.Collections.Generic.IEnumerable`1)
000000130f47cb30 00007fff7491b383 DynamicLinqPadPostgreSqlDriver.PostgreSqlTablesProvider.EmitCodeAndGetExplorerItemTree(System.Reflection.Emit.TypeBuilder)
000000130f47ccb0 00007fff748e7fba DynamicLinqPadPostgreSqlDriver.DynamicPostgreSqlDriver.GetSchemaAndBuildAssembly(LINQPad.Extensibility.DataContext.IConnectionInfo, System.Reflection.AssemblyName, System.String ByRef, System.String ByRef)
000000130f47cdc0 00007fff748e1ca9 *** ERROR: Module load completed but symbols could not be loaded for LINQPad.exe