I'm using the latest version of the Devart MySQL Professional (Trial Edition) that I downloaded yesterday. I'm running Windows 7 x64 with .NET 4.0 and Visual Studio 2010. This error occurred within a .NET 4.0 ASP.NET application.System.NullReferenceException was caught
Message=Object reference not set to an instance of an object.
at Devart.Data.Linq.Engine.MultiKeyManager`3.CreateKeyFromValues(Object values)
at Devart.Data.Linq.Engine.KeyManager`2.b(Object A_0)
at Devart.Data.Linq.Engine.a0.a(MetaDataMember A_0, Object A_1)
at Devart.Data.Linq.Engine.bp.a(Object A_0, MetaAssociation A_1, IObjectEntry& A_2)
at Devart.Data.Linq.Engine.bp.a(IObjectEntry A_0)
at Devart.Data.Linq.Engine.an.a(ConflictMode A_0)
at Devart.Data.Linq.DataContext.SubmitChanges(ConflictMode failureMode)
I also noticed the following thread in the PostgreSQL forums about this issue, but didn't see any solutions: http://forums.devart.com/viewtopic.php?f=3&t=24648
If there's any kind of debug build (obfuscated, but with better exception handling at that method), I'll be happy to run it locally to help solve this problem. While inspecting the obfuscated assembly in dotPeek, the method in question looked pretty solid and I was having trouble determining the line wherein the exception occurred.
Aside from that, I have to say that I am extremely impressed with the MySQL driver and corresponding LINQ implementation. Aside from this little quirk, this migration project from SQL Server to MySQL has gone flawlessly. Kudos to you guys for building such a great product. We'll definitely be purchasing next week when we go into production (provided we can work around this problem).