-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Holger Wiechert wrote:
This is a reposting since I haven't got any answer yet. It is about the NullPointerException in class Connection of MySQL Connector/J 2.0.14.
I just changed the driver to MySQL Connector/J 2.0.14. But I'm still getting this NullPointerException once in a while. The new StackTrace is:
java.lang.NullPointerException at com.mysql.jdbc.Connection.execSQL(Unknown Source) at com.mysql.jdbc.Connection.execSQL(Unknown Source) at com.mysql.jdbc.Connection.setAutoCommit(Unknown Source) at
Version 2.0.14 did throw NullPointerExceptions when the connection was closed, but then something attempted to re-use it (which is an illegal operation, but the driver should throw a SQLException in this case).
This was fixed in Connector/J 3.0 and later. You might look into trying Connector/J 3.0.6, as it is now the 'stable' version.
-Mark
- -- MySQL 2003 Users Conference -> http://www.mysql.com/events/uc2003/
For technical support contracts, visit https://order.mysql.com/?ref=mmma
__ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Mark Matthews <[EMAIL PROTECTED]> / /|_/ / // /\ \/ /_/ / /__ MySQL AB, Full-Time Developer - JDBC/Java /_/ /_/\_, /___/\___\_\___/ Flossmoor (Chicago), IL USA <___/ www.mysql.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.1.90 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE+YNr4tvXNTca6JD8RAotmAJ4zVOHQCA7qaXgRffvuZhxjTCrA7gCgnYMQ DRvBTckdLyCcBUo0XCJW2YQ= =TcC7 -----END PGP SIGNATURE-----
--------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php