-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 6.0
-
Fix Version/s: None
-
Component/s: SolrJ
-
Labels:None
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.