Community
Participate
Working Groups
The class org.eclipse.persistence.testing.framework.DriverWrapper has a clear method which sets the driverName member to null. However, the DriverWrapper remains registerd by the java.sql.DriverManager. If it is atempted to connect to the DriverWrapper, it throws an NPE. The accepts method of the DriverWrapper should return false if driverName is null and/or the connect method should return null.
Created attachment 153970 [details] Patch: non-initialized DriverWrapper should be ignored by DriverManager.
Fixed in trunk (2.0.1)
Ported to 2.0.1. The bug is fixed in both trunk (2.1) and 2.0.1.
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink