Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
6.0
-
None
-
None
Description
DBVisualizer and SquirrelSQL when trying to use JDBC with no username/password and the JDBC driver causes an exception.
DriverManager.getConnection("jdbc:solr://" + zkHost + "?collection=collection1&username=&password=");
Caused by: java.lang.ArrayIndexOutOfBoundsException: 1 at org.apache.solr.client.solrj.io.sql.DriverImpl.loadParams(DriverImpl.java:141) ... 46 more
The loadParams method doesn't support keys with no values.