-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Holger Wiechert wrote:
Hi,

I'm having a quite serious problem. I wrote a web application that uses
MySQL via ConnectorJ V2.0.6 in combination with Apache's DBCP 1.0
(Jakarta Commons Database Connection Pool).
The web application is installed on a server, I don't have access to.
The same for the MySQL server.
Once in a while, I get a NullPointerException and have no clue about
the reason: DBCP, the JDBC driver, or MySQL.
Once the exception occurred, it comes up with every new connection
retrieval.
I really wonder about the NullPointerexception, which seems to me like
a ConnectorJ-Bug, but I'm not sure at all.

java.lang.NullPointerException
	at org.gjt.mm.mysql.Connection.execSQL(Connection.java:863)
	at org.gjt.mm.mysql.Connection.execSQL(Connection.java:857)
	at org.gjt.mm.mysql.Connection.setAutoCommit(Connection.java:474)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Connector/J Package Names start with com.mysql.jdbc

This is not MySQL Connector/J, it is MM.MySQL, which is what MySQL Connector/J used to be called (and a rather old version at that).

Please try upgrading to MySQL Connector/J 2.0.14 or 3.0.5 from http://www.mysql.com/products/connector-j/ and see if your problem goes away.

-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+TmqutvXNTca6JD8RAowMAKDIgKYPMtNZhsJUleTlqodGvMAoLACgjY8I
6I2n+jc+Y3D1cWc0C50XQaQ=
=UdFn
-----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

Reply via email to