The whole "java.lang.IllegalArgumentException: null source" when using MySQL and Toplink essentials is indeed strange.
My solution for this problem was to download an OLDER VERSION of the MySQL.
The exception happened when I used version 5.1.6
The exception was gone when I used version 5.0.8
Don't forget to restart your server after replacing the libs!
Have fun!!
[Message sent by forum member 'mellel' (mellel)]
http://forums.java.net/jive/thread.jspa?messageID=295005