MySQL Throws NullReferenceException in Finalize... How are you coping with this?
Posted
by Cyril Gupta
on Stack Overflow
See other posts from Stack Overflow
or by Cyril Gupta
Published on 2010-06-07T04:52:06Z
Indexed on
2010/06/07
6:22 UTC
Read the original article
Hit count: 240
I am using MySQL with the .Net connector on 64 bit Windows. For some reason Mysql is throwing a NullReferenceException in Finalize. This is the problem here and it seems that its due to a bug described here. This bug was reported in 6.22, but I am getting the issue with 6.23 too so apparently it is not fixed.
I am using MySQL both with the helper classes, and by instantiating the connection and the Mysqlcommand object.
Does anybody have any idea what part of my code do I need to change to fix this issue? Cause even though this is a bug in Mysql this is not universal because I am not getting the problem in my other projects. MySQL bug report has no details on how to reproduce it either.
Any suggestions?
© Stack Overflow or respective owner