License information window failing: "Object reference..."
Posted: Wed 10 Feb 2010 15:46
I am using dotConnect for PostgreSQL 4.65.79 in Visual Studio 2008 SP1. Every time I try to open the License Information window with my solution (containing 10 to 15 projects including class libraries, WCF services, web applications, Forms applications all using dotConnect) I get the following error: "Object reference not set to an instance of an object."
I have looked in the forum for other occurrences of this and didn't find any solutions, but did see that you requested the call stack for this failure. I have followed those directions and here is my call stack:
The exception thrown is a NullReferenceException. One item in the call stack caught by eye and that was a reference to the EnvDTE namespace. I have recently seen some warnings about conflicts between different versions of the EnvDTE namespace. I don't know if there is a connection, but if there is I'm not sure how to solve it since I have not directly created a dependency on the EnvDTE assembly in my code.
Thanks,
Nathan Banek
I have looked in the forum for other occurrences of this and didn't find any solutions, but did see that you requested the call stack for this failure. I have followed those directions and here is my call stack:
Code: Select all
Devart.Data.PostgreSql.Design.dll!Devart.Common.Design.x.e(System.Data.DataTable A_0 = {}, EnvDTE.Project A_1 = {System.__ComObject}) + 0x60 bytes
Devart.Data.PostgreSql.Design.dll!Devart.Common.Design.x.d() + 0x670 bytes
Devart.Data.PostgreSql.Design.dll!Devart.Common.Design.x.b(EnvDTE._DTE A_0) + 0x37 bytes
Devart.Data.PostgreSql.Design.dll!Devart.Data.PostgreSql.Design.PgSqlLicenseDialogLauncherService.a(EnvDTE._DTE A_0) + 0x23 bytes
Devart.Data.PostgreSql.Vs.dll!Devart.Data.PostgreSql.Addin.a.d() + 0xb bytes
Devart.Data.PostgreSql.Vs.dll!Devart.Common.Vs.b.g(object A_0, System.EventArgs A_1) + 0x12 bytes
System.dll!System.ComponentModel.Design.MenuCommand.Invoke() + 0x43 bytes
System.dll!System.ComponentModel.Design.MenuCommand.Invoke(object arg) + 0x8 bytes
Microsoft.VisualStudio.Shell.dll!Microsoft.VisualStudio.Shell.OleMenuCommandService.Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec(ref System.Guid guidGroup, uint nCmdId, uint nCmdExcept, System.IntPtr pIn, System.IntPtr vOut) + 0x9d bytes
Microsoft.VisualStudio.Shell.dll!Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec(ref System.Guid guidGroup, uint nCmdId, uint nCmdExcept, System.IntPtr pIn, System.IntPtr vOut) + 0x44 bytes
[Native to Managed Transition]
Thanks,
Nathan Banek