"Handle not initialized" exception
Posted: Wed 30 Mar 2011 10:56
Hi,
I've started noticing some InvalidOperationExceptions: "Handle not initialized". All DataContexts are opened/disposed with "using" statements and are never passed between threads.
I'm using version 2.20.17.0 of Devart.Data.Linq and Devart.Data.MySql.Linq.
The call stack is as follows:
> mscorlib.dll!System.Runtime.InteropServices.GCHandle.Target.get() + 0xa6 bytes
Devart.Data.Linq.dll!Devart.Data.Linq.e.j() + 0x7c bytes
Devart.Data.Linq.dll!Devart.Data.Linq.i.a(int A_0 = 0) + 0x145 bytes
Devart.Data.Linq.dll!Devart.Data.Linq.g.a(Devart.Data.Linq.g.a A_0 = {Devart.Data.Linq.g.a}) + 0xc4 bytes
Devart.Data.Linq.dll!Devart.Data.Linq.g.a.b() + 0x7d bytes
[Native to Managed Transition]
I read of some other people having this issue as well in the Oracle provider - is there a chance that it could be a related issue in the MySql provider?
Thanks,
Cyle
I've started noticing some InvalidOperationExceptions: "Handle not initialized". All DataContexts are opened/disposed with "using" statements and are never passed between threads.
I'm using version 2.20.17.0 of Devart.Data.Linq and Devart.Data.MySql.Linq.
The call stack is as follows:
> mscorlib.dll!System.Runtime.InteropServices.GCHandle.Target.get() + 0xa6 bytes
Devart.Data.Linq.dll!Devart.Data.Linq.e.j() + 0x7c bytes
Devart.Data.Linq.dll!Devart.Data.Linq.i.a(int A_0 = 0) + 0x145 bytes
Devart.Data.Linq.dll!Devart.Data.Linq.g.a(Devart.Data.Linq.g.a A_0 = {Devart.Data.Linq.g.a}) + 0xc4 bytes
Devart.Data.Linq.dll!Devart.Data.Linq.g.a.b() + 0x7d bytes
[Native to Managed Transition]
I read of some other people having this issue as well in the Oracle provider - is there a chance that it could be a related issue in the MySql provider?
Thanks,
Cyle