Bug #22628 | NonRegisteringDriver throws NPE for malformed JDBC URL | ||
---|---|---|---|
Submitted: | 23 Sep 2006 12:23 | Modified: | 22 Feb 2007 14:35 |
Reporter: | Rob Manning | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / J | Severity: | S3 (Non-critical) |
Version: | 5.0.3 | OS: | Windows (WinXP) |
Assigned to: | Mark Matthews | CPU Architecture: | Any |
[23 Sep 2006 12:23]
Rob Manning
[22 Oct 2006 14:53]
Tonci Grgin
Hi Rob and thanks for your problem report. Verified as described by reporter with his test case. - MySQL server 5.0.27BK on WinXP Pro SP2 localhost - JDK 1.5.07 - c/J 5.0.3GA ... Getting driver properties with malformed URL java.lang.NullPointerException at com.mysql.jdbc.NonRegisteringDriver.getPropertyInfo(NonRegisteringDriver.java:349) at bug22628.Main.main(Main.java:53) java.lang.NullPointerException at com.mysql.jdbc.NonRegisteringDriver.getPropertyInfo(NonRegisteringDriver.java:349) at bug22628.Main.main(Main.java:77)
[13 Feb 2007 22:13]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/19807
[22 Feb 2007 14:35]
MC Brown
A note has been added to the 5.0.5 changelog.